Add leaflet

Fix build, make map component async and move computed to getter

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-03-22 17:35:07 +01:00
parent 0c8d2f7e00
commit 3b202674a3
8 changed files with 100 additions and 15 deletions

View File

@@ -1,13 +1,10 @@
export interface IAddress {
description: string;
floor: string;
street: string;
locality: string;
postal_code: string;
region: string;
country: string;
geom: {
lat: number;
lon: number;
}
description: string;
floor: string;
street: string;
locality: string;
postal_code: string;
region: string;
country: string;
geom: string;
}

View File

@@ -1,5 +1,5 @@
import { Actor, IActor } from './actor.model';
import {IAddress} from "@/types/address.model";
import { IAddress } from '@/types/address.model';
export enum EventStatus {
TENTATIVE,