Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps Store Locator - modify default example

I'm trying to create a store locator based off the static csv example used by Google http://storelocator.googlecode.com/git/examples/panel.html

I have recreated this example on my own server but if I edit the csv file in any way, even if I just remove some of the rows it returns a blank map.

I was hoping I could use this example as a template by replacing the default values in the csv file with my own(http://storelocator.googlecode.com/git/examples/medicare.csv). There is clearly more to it than I assumed and was hoping someone could point me in the right direction in terms of why I can't just edit the fields in the csv with my own values and what else should I be editing?

This is their main page http://storelocator.googlecode.com/git/index.html

I have been searching online for a way to do this and I have now asked this question here as I am struggling to find an answer.

like image 574
stemie Avatar asked Mar 22 '26 18:03

stemie


1 Answers

It seems when I opened in excel it was reformatting the csv file and causing it not to work. When I edit the fields from the csv in notepad++ it works. Apologies for the useless question. Thanks Dr Molle for bringing this to my attention.

like image 150
stemie Avatar answered Mar 25 '26 13:03

stemie



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!