yifangyou 发表于 2011-12-21 08:44

如何做地图标注

以前我是用google地图做标注,不过现在google地图不行了。我研究了baidu地图之后感觉挺不错的,完全不用写代码就可以在地图上标注了<div>1.打开标准网页</div><div><a href="http://dev.baidu.com/wiki/static/map/API/tool/creatMap/" target="_blank">http://dev.baidu.com/wiki/static/map/API/tool/creatMap/</a></div><div>2.查找要标注的地方,例如我要标注"中关村",找到后,若是你要标注的地方是在这附近的话,可以调整一下坐标</div><div><a href="http://blog.chinaunix.net/attachment/201105/30/11121450_13067263296L6z.jpg" target="_blank"><img src="http://blog.chinaunix.net/attachment/201105/30/11121450_13067263296L6z.jpg" .load="imgResize(this, 650);" border="0" ;=""></a></div><div>3.调整参数。例如地图等级,展示地图大小等等</div><div>4.添加标注,输入名称和备注,写完后保存</div><div><a href="http://blog.chinaunix.net/attachment/201105/30/11121450_13067263453E0Q.jpg" target="_blank"><img src="http://blog.chinaunix.net/attachment/201105/30/11121450_13067263453E0Q.jpg" .load="imgResize(this, 650);" border="0" ;=""></a></div><div>5.获取代码</div><div><a href="http://blog.chinaunix.net/attachment/201105/30/11121450_13067263585NYF.jpg" target="_blank"><img src="http://blog.chinaunix.net/attachment/201105/30/11121450_13067263585NYF.jpg" .load="imgResize(this, 650);" border="0" ;=""></a></div><div>6.测试</div><div>把代码保存到一个test.html里,用浏览器打开就可以看到效果</div><div><br></div><div><a href="http://blog.chinaunix.net/attachment/201105/30/11121450_1306726369A6s7.jpg" target="_blank"><img src="http://blog.chinaunix.net/attachment/201105/30/11121450_1306726369A6s7.jpg" .load="imgResize(this, 650);" border="0" ;=""></a></div><div><br></div>
页: [1]
查看完整版本: 如何做地图标注