- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://code.google.com/p/jmaps/
软件介绍
jMaps 是一个 jQuery 的插件,提供了简单的 API 来访问 Google 地图,主要的功能有:
* Geocode and reverse any valid address in the world via Google's geocoding API
* Search for directions to and from any location
* Add and remove Markers
* Add and remove polygons and polylines
* Add and remove graphic layers on the map
* Add and remove Google adsense layers
* Add and remove Traffic layers
* Get information back such as map center, map size, map type, etc
示例代码:
jQuery(document).ready(function(){
jQuery('#map1').jmap('init', {'mapType':'hybrid','mapCenter':[37.4419, -122.1419]});
jQuery('#address-submit-1').click(function(){
jQuery('#map1').jmap('SearchAddress', {
'query': jQuery('#address').val(),
'returnType': 'getLocations'
}, function(result, options) {
var valid = Mapifies.SearchCode(result.Status.code);
if (valid.success) {
jQuery.each(result.Placemark, function(i, point){
jQuery('#map1').jmap('AddMarker',{
'pointLatLng':[point.Point.coordinates[1], point.Point.coordinates[]],
'pointHTML':point.address
});
});
} else {
jQuery('#address').val(valid.message);
}
});
return false;
});
});
Python网络编程攻略
萨卡尔 (Dr.M.O.Faruque Sarker) / 安道 / 人民邮电出版社 / 2014-12-1 / 45.00元
开发TCP/IP网络客户端和服务器应用 管理本地设备的IPv4/IPv6网络接口 使用HTTP和HTTPS协议编写用途多、效率高的Web客户端 编写可使用常见电子邮件协议的电子邮件客户端 通过Telnet和SSH连接执行远程系统管理任务 使用Web服务与流行的网站交互 监控并分析重要的常见网络安全漏洞一起来看看 《Python网络编程攻略》 这本书的介绍吧!