Skip to content

L.Icon.Default.imagePath should be relative to leaflet-map.html but is relative to root document #15

Description

@atdotslashdot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions