jQuery地图插件-jqvmap

20130703084224687

用法:

<script src="js/jquery.vmap.js"></script>
<script src="js/jquery.vmap.world.js"></script>
<script src="js/jquery.vmap.sampledata.js"></script>

<script>
jQuery('#vmap').vectorMap({
map: 'world_en',
backgroundColor: null,
color: '#ffffff',
hoverOpacity: 0.7,
selectedColor: '#666666',
enableZoom: true,
showTooltip: true,
values: sample_data,
scaleColors: ['#C8EEFF', '#006491'],
normalizeFunction: 'polynomial'
});
</script>

<div id="vmap" style="width:%20600px;%20height:%20400px;"></div>

原文:jQuery地图插件-jqvmap

 

更对参考:

Google Maps API V3: 通过邮编获取经纬度 Get Location (Latitude and Longitude) from Zip Code (Pin Code) using JavaScript

Google Maps V3: 导航到指定地址 Draw (Plot) route between User’s current location and Specified location

点击谷歌地图后获取经纬度 Get Latitude and Longitude (Location Coordinates) using Google Maps OnClick event

Google Maps V3: 通过经纬度获取地址信息 Get address from Latitude and Longitude

GMaps.js:让你快速集成 Google Maps 服务的 jQuery 插件

Google Maps API v3: Remove Markers 移除标记

 

本文: jQuery地图插件-jqvmap

Leave a Reply