Commit bdaa53b0 authored by Jörg Richter's avatar Jörg Richter

Adapt .vue files to DMX style guide

See dmx-platform/dmx-platform#424
parent 6d356bfd
Pipeline #12298 passed with stages
in 35 seconds
......@@ -13,16 +13,16 @@
</template>
<script>
import { LMap, LTileLayer, LMarker, LPopup } from 'vue2-leaflet'
import {LMap, LTileLayer, LMarker, LPopup} from 'vue2-leaflet'
import 'leaflet/dist/leaflet.css'
// stupid hack so that leaflet's images work after going through webpack
// https://github.com/PaulLeCam/react-leaflet/issues/255
delete L.Icon.Default.prototype._getIconUrl
delete L.Icon.Default.prototype._getIconUrl /* global L */
L.Icon.Default.mergeOptions({
iconUrl: require('leaflet/dist/images/marker-icon.png'),
iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),
shadowUrl: require('leaflet/dist/images/marker-shadow.png')
iconUrl: require('leaflet/dist/images/marker-icon.png'),
iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),
shadowUrl: require('leaflet/dist/images/marker-shadow.png')
})
let popup
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment