duanaoou4105 2012-07-25 06:10
浏览 41
已采纳

从Google Maps v3上的数据库MySQL加载标记

I'm trying to send some markers info to a database, the markers are saving in database successful,

But I cant take the data to a page that load the markers, I think thats a problem on programming, or calling the markers to they positions

I will post the link of my examples, and them the programming.

This is my code of index.html

Thanks guys =), waiting one answer, I dont have any idea how to solve it

EDIT: I forgot to say, if you click on the map it create a marker, and if you click on this marker you can edit it informations.

  • 写回答

1条回答 默认 最新

  • dpndp64206 2012-08-07 09:36
    关注

    One problem may be with your latlng variable. Not sure if the getposition method returns the correct format. Try var latlng = new google.maps.LatLng(marker.getPostion().lat(), marker.getPosition().lng());

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部