Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dmx-plugins
dmx-geomaps
Commits
bdaa53b0
Commit
bdaa53b0
authored
Jan 05, 2021
by
Jörg Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt .vue files to DMX style guide
See
dmx-platform/dmx-platform#424
parent
6d356bfd
Pipeline
#12298
passed with stages
in 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/main/js/components/dmx-geomap-renderer.vue
src/main/js/components/dmx-geomap-renderer.vue
+5
-5
No files found.
src/main/js/components/dmx-geomap-renderer.vue
View file @
bdaa53b0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment