Leaflet map with marker clustering and layer control not working or throwing errors.
202 views
Skip to first unread message
Amanuel Mekonnen
unread,
Dec 3, 2019, 8:06:57 PM12/3/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Leaflet
A mini version of my code is as follows: https://jsfiddle.net/pewqur17/1/. I've used layer control with clustering in another project before using the same technique. However, now the markers don't populate the map as they should. Any help would be appreaciated.
Pat Keller
unread,
Dec 4, 2019, 10:57:36 AM12/4/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Leaflet
It looks like you have a few problems with your code.
Console errors
Failed to load resource: the server responded with a status of 404 () Markercluster.css:1
Failed to load resource: the server responded with a status of 404 () Markercluster-Default.css:1