随笔分类 -  Maps API

摘要:利用google提供的API(JavaScript接口)获取网站访问者IP地理位置的代码详解。首先引入JavaScript API文件<script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"></script>此API提供的接口共有6个,geoip_country_code(){国家代码},geoip_country_ name(){国家名称},geoip_city() {城市名称},geoip_region(){地区代码},geoip_latit 阅读全文
posted @ 2010-07-22 18:17 七玄门 阅读(762) 评论(0) 推荐(0)
摘要:一个简单功能的google地图,自由缩放,标注,卫星地图和内置google搜索代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><head><me 阅读全文
posted @ 2010-04-25 15:59 七玄门 阅读(371) 评论(0) 推荐(0)