GeoHey API.JS 1.1.0

产品更新 Jul 16, 2015

在线文档:http://dist.geohey.com/g-api.js/1.1.0/doc/index.html

在线JS库文件:http://dist.geohey.com/g-api.js/1.1.0/g-api.min.js

离线包下载:http://dist.geohey.com/g-api.js/g-api-js-1.1.0.zip

更新日志
  • 添加 mapping 服务支持
使用示例
<!doctype html>
<html>
<head>
	<meta charset='utf-8'>
</head>
<body>
	<script src="http://dist.geohey.com/g-api.js/latest/g-api.min.js"></script>
	<script>
		var GAPI = require('GAPI');
		GAPI.init('OGJ9OGI4YzAyNmJhNDI3Y2FmOWRmNjBlMTdhZiM4NmM'); // 浏览器访问凭证

		GAPI.geocoding.geocode('鼓楼', {
			admin: '北京'
		}, function(data) {
			console.log(data);
		}, function(error) {
			console.error(error);
		});
	</script>
</body>
</html>

WuYF

Founder & CTO

评论正在加载...
Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
分享