-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L.Icon.Default.imagePath should be relative to leaflet-map.html but is relative to root document #15
Comments
I guess it is likely to work in more scenarios, if I set it to |
This issue was fixed in 1.0 |
Nope, still have this issue. |
@kingflurkel do you have a <link>-tag to import leaflet-map.html in the main document? |
Maybe it's better to have a config param in leaflet-map
|
the iconDefaultImagePath param strategy will work with vulcanized files |
The leaflet lib is looking for the <script src="/bower_components/leaflet/dist/leaflet.js"></script> |
I create this pull request #84 in which you don't need to use the It gets the URL of the component and with it build the default icon URL. |
Hi, the demos with markers are not working unless I have the leaflet folder in the root of my site.
After a bower install (where the leaflet folder is installed in the bower_component folder at the same level as leaflet-map)
I'm getting a 404 not found
http://mysite.com/leaflet/dist/images/marker-icon.png
and another 404 for marker-shadow.png
The text was updated successfully, but these errors were encountered: