在线时间:8:00-16:00
132-9538-2358
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Amap Java SDK
// spring boot, inject geoServiceGeoResult result = this.geoService.geo("北京市朝阳区阜通东大街6号");
<dependency> <groupId>com.github.zhangchunsheng</groupId> <artifactId>amap-java-geo</artifactId> <version>1.0.1</version></dependency><dependency> <groupId>com.github.zhangchunsheng</groupId> <artifactId>amap-java-place</artifactId> <version>1.0.1</version></dependency>
{ "status" : "1", "info" : "OK", "infocode" : "10000", "count" : "1", "geocodes" : [ { "formatted_address" : "北京市朝阳区阜通东大街|6号", "country" : "中国", "province" : "北京市", "citycode" : "010", "city" : "北京市", "district" : "朝阳区", "township" : [ ], "neighborhood" :{}, "building" :{}, "adcode" : "110105", "street" : "阜通东大街", "number" : "6号", "location" : "116.483038,39.990633", "level" : "门牌号" } ]}
评论
请发表评论