Google地图店铺定位工具 - 修改默认示例 [英] Google Maps Store Locator - modify default example

查看:273
本文介绍了Google地图店铺定位工具 - 修改默认示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想根据Google使用的静态csv示例创建商店定位工具http://storelocator.googlecode.com/git/examples/panel.html

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

我在我自己的服务器上重新创建了此示例,但如果我编辑csv文件,即使我只是删除一些行,它返回一个空白的地图。

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.

我希望我可以使用这个例子作为模板,替换csv文件中的默认值为我自己的( http://storelocator.googlecode.com/git/examples/medicare.csv )。它明显比我想象的更多,希望有人能指向我正确的方向,为什么我不能用我自己的值编辑csv中的字段和我应该编辑什么?

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?

这是他们的主页 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.

推荐答案

看来当我在excel中打开它是重新格式化csv文件,并导致它不工作。当我编辑csv中的字段从notepad ++它工作。对无用的问题的道歉。感谢Molle博士给我的注意。

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.

这篇关于Google地图店铺定位工具 - 修改默认示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆