谷歌地图标记功能(替代,非地理编码)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了谷歌地图标记功能(替代,非地理编码)相关的知识,希望对你有一定的参考价值。
* Used to create markers based solely on latitude and longitude* Replace the existing mainPoints() function in map-functions.js
// A function that will load the main map points when called function mainPoints(){ // pointData function exists in html for population and data re-use purposes pointData(); searchMap(); for (var j = 0; j < points.length; j++) { if(points[j]['active']=='true'){ createMarker(points[j]['name'],points[j]['address'],points[j]['citystate'],points[j]['lat'],points[j]['lng'],points[j]['query']); } } }
以上是关于谷歌地图标记功能(替代,非地理编码)的主要内容,如果未能解决你的问题,请参考以下文章