leaflet-simple-csv icon indicating copy to clipboard operation
leaflet-simple-csv copied to clipboard

Leaflet 1.0

Open joshdickerson92 opened this issue 10 years ago • 6 comments

@perrygeo really like the template, even after 3 years it seems to be one of the most simple ways of searching and filtering CSV data within leaflet.

The only issue i'm having with it is implementing it with Leaflet 1.0, are there any plans to update this template?

joshdickerson92 avatar Dec 14 '15 22:12 joshdickerson92

No plans as of yet. I haven't kept up with 1.0 changes so I'm not really sure how involved that would be. A lot of it depends on the geoCSV and markerCluster plugins and their compatibility.

perrygeo avatar Dec 17 '15 23:12 perrygeo

Thanks for the response, I have got it to work with Leaflet 1.0 with not a lot of work actually, simply including the most up to date versions of markercluster, geoCSV and Leaflet seems to do it with a bit of tweaking.

joshdickerson92 avatar Dec 18 '15 13:12 joshdickerson92

for future reference, what sort of tweaking did it require?

perrygeo avatar Dec 18 '15 13:12 perrygeo

Hi Perry - for some reason when I open your example index.html it's giving me "Error retrieving csv file". Any idea why?

(Tried testing it with your CSV file)

jaredl531 avatar Mar 18 '16 18:03 jaredl531

Nevermind I figured it out! Needed to start up a local server to use http: instead of file://

jaredl531 avatar Mar 18 '16 18:03 jaredl531

I received that error as well, assuming it's because of "Some browsers do not allow XMLHttpRequests with the file:// protocol". Rather than starting a server I opened the file with Firefox instead of Chrome.

billygarrison avatar Jan 10 '18 15:01 billygarrison