WordPress插件中的Google Map [英] Google map in wordpress plugin
问题描述
我已将可拖动标记用于Google地图
I have used Draggable Markers for google map
http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable-markers.html .
当我在简单的html或php页面上使用smaple代码时,它看起来与链接上的代码相同,但是当我在wordpress插件中使用它时,地图的指针不在中心,并且完整的地图.看起来像
When I am using the smaple code on a simple html or php page then it's looking good same as on the link, but when I am using it in a wordpress plugin then the pointer of the map is not comeing in center and also the full map. it looks like
http://www.screencast.com/users/Bidyut/folders/Default/media/10451777-2b22-40af-aa3e-c16d27e8ecf6
然后,当我单击Mozilla的Firebug时,将显示完整的地图,但红色的Bellon指针不在中心.我不明白这个问题.
then when I am clicking on firebug of mozilla then the full map is coming but the red bellon pointer is not in the center. I can not understand the problem.
有人帮我吗?
推荐答案
标准答案: https://stackoverflow.com/a/10606666/1204258
如果您将问题编辑为包括您遇到问题的URL,则可能会提供有关单行代码需要去哪里的建议.由于它是一个插件,可能涉及更改PHP代码:您使用的是哪个插件?
If you edit your question to include the URL where you're having trouble, it may be possible to give advice about where the single line of code needs to go. As it's a plugin it may involve changing the PHP code: which plugin are you using?
这篇关于WordPress插件中的Google Map的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!