Modified CacheStart to show marker on map
This commit is contained in:
parent
42a912701b
commit
cb73232522
@ -7,7 +7,7 @@
|
|||||||
<vl-feature id="marker" ref="marker">
|
<vl-feature id="marker" ref="marker">
|
||||||
<template>
|
<template>
|
||||||
|
|
||||||
<vl-geom-point :coordinates="[stationID.lattitude, stationID.longitude]"></vl-geom-point>
|
<vl-geom-point :coordinates="[lon, lat]"></vl-geom-point>
|
||||||
<vl-style-box>
|
<vl-style-box>
|
||||||
<vl-style-icon src="./statics/map-marker.svg" :scale="2.0" :anchor="[0.5, 1]"></vl-style-icon>
|
<vl-style-icon src="./statics/map-marker.svg" :scale="2.0" :anchor="[0.5, 1]"></vl-style-icon>
|
||||||
</vl-style-box>
|
</vl-style-box>
|
||||||
@ -63,8 +63,8 @@ Vue.use(VueLayers);
|
|||||||
paused: false,
|
paused: false,
|
||||||
params: null,
|
params: null,
|
||||||
noStreamApiSupport: false,
|
noStreamApiSupport: false,
|
||||||
lon: "",
|
lon: 9,
|
||||||
lat: "",
|
lat: 49,
|
||||||
stationID: [],
|
stationID: [],
|
||||||
zoom: 15,
|
zoom: 15,
|
||||||
center: [ 9.208858198755664, 49.14785422283188],
|
center: [ 9.208858198755664, 49.14785422283188],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user