Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以清理和/或完全重置 goMap 吗?我想删除用$.goMap.createMarkerand创建的点$.goMap.createPolyline。
$.goMap.createMarker
$.goMap.createPolyline
解决方案是:
删除 DIV 数据
$("#Map_Temp").removeData();
并再次创建地图...
$("#Map_Temp").goMap({ latitude: XOXOXOX, longitude: XOXOXOX, zoom: 16, maptype: 'ROADMAP' });