Loading src/playground/App.vue +1 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ <router-link to="/">Home</router-link> <router-link to="/marker">Marker</router-link> <router-link to="/circle">Circle</router-link> <router-link to="/control-zoom">Zoom</router-link> <router-link to="/control-attribution">Attribution</router-link> <router-link to="/icon">Icon</router-link> <router-link to="/control-custom-message">Custom Message</router-link> Loading src/playground/index.js +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ const routes = [ { path: "/", component: Home }, { path: "/marker", component: () => import("./views/Marker.vue") }, { path: "/circle", component: () => import("./views/Circle.vue") }, { path: "/control-zoom", component: () => import("./views/ControlZoom.vue") }, { path: "/control-attribution", component: () => import("./views/ControlAttribution.vue"), Loading src/playground/views/ControlZoom.vue 0 → 100644 +23 −0 Original line number Diff line number Diff line <template> <l-map ref="map" :zoom="2" :center="[47.41322, -1.219482]"> <l-tile-layer url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" layer-type="base" name="OpenStreetMap" ></l-tile-layer> <l-control-zoom position="bottomright" zoom-in-text="*" zoom-out-text="/" /> </l-map> </template> <script> import { LMap, LTileLayer, LControlZoom } from "./../../components"; export default { components: { LMap, LTileLayer, LControlZoom, }, }; </script> <style></style> Loading
src/playground/App.vue +1 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ <router-link to="/">Home</router-link> <router-link to="/marker">Marker</router-link> <router-link to="/circle">Circle</router-link> <router-link to="/control-zoom">Zoom</router-link> <router-link to="/control-attribution">Attribution</router-link> <router-link to="/icon">Icon</router-link> <router-link to="/control-custom-message">Custom Message</router-link> Loading
src/playground/index.js +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ const routes = [ { path: "/", component: Home }, { path: "/marker", component: () => import("./views/Marker.vue") }, { path: "/circle", component: () => import("./views/Circle.vue") }, { path: "/control-zoom", component: () => import("./views/ControlZoom.vue") }, { path: "/control-attribution", component: () => import("./views/ControlAttribution.vue"), Loading
src/playground/views/ControlZoom.vue 0 → 100644 +23 −0 Original line number Diff line number Diff line <template> <l-map ref="map" :zoom="2" :center="[47.41322, -1.219482]"> <l-tile-layer url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" layer-type="base" name="OpenStreetMap" ></l-tile-layer> <l-control-zoom position="bottomright" zoom-in-text="*" zoom-out-text="/" /> </l-map> </template> <script> import { LMap, LTileLayer, LControlZoom } from "./../../components"; export default { components: { LMap, LTileLayer, LControlZoom, }, }; </script> <style></style>