Home  >  Article  >  php教程  >  Jquery实现中国地图插件

Jquery实现中国地图插件

WBOY
WBOYOriginal
2016-06-07 11:40:241333browse

Jquery实现中国地图插件
Jquery地图插件,实现中国地图提示特效,现在只是第一个版本,会不断的完善,插件使用非常灵活,引入了jQuery.adamMap.1.0库之后在页面初始化一下插件代码即可。
效果图片如下图所示:
Jquery实现中国地图插件

Jquery插件初始化代码如下:        AMAP.making( <br>             { <br>                 img : "AMAP",//图片id <br>                 imgWidth : 385,//图片宽 <br>                 imgHeight : 305,//图片高 <br>                 points : aPoint,// 坐标列表 aPoint <br>                 fill : "#44ccee",//填充颜色 <br>                 fillOpacity : .5,//透明度 <br>                 strokeFill : "#00AADD",//边框颜色 <br>                 strokeWidth : 1,//边框宽度 <br>                 event : "mouseover",//绑定事件       <br>                 def : "重庆"//是默认城市        <br>             } <br>         ); 页面引用:        <!-- 地图功能结构 --> <br>         <img alt="Jquery实现中国地图插件" >         style="border:0;" /> <br>         <!-- 地图功能结构 结束 --> 有需要的朋友可以下载参考。
插件下载地址:http://www.jb100.net/down-9-5.html

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn