tethys.frontend/src/views/map-view/map-view.component.ts
Arno Kaimbacher 5603614045 - add vue-facing-decorator (replace vue-class-component and vue-property-decorator)
- npm updates (stabele axios version) + adaption in axios config
- remove maps route from src/router/index.ts
2023-01-13 11:55:31 +01:00

26 lines
870 B
TypeScript

import { Component, Vue } from "vue-facing-decorator";
import MapComponent from "@/components/map/map.component.vue";
// import { Marker, MapOptions, Control, icon, LatLngBoundsExpression } from "leaflet";
import { MapOptions } from "leaflet";
// const DEFAULT_BASE_LAYER_NAME = "BaseLayer";
// const DEFAULT_BASE_LAYER_URL = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
// const DEFAULT_BASE_LAYER_ATTRIBUTION = '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors';
@Component({
name: "MapViewComponent",
components: {
MapComponent,
},
})
export default class MapViewComponent extends Vue {
public mapOptions: MapOptions = {
center: [48.208174, 16.373819],
zoom: 3,
zoomControl: false,
};
// public onMapInitialized(newItem: string) {
// console.log(newItem);
// }
}