AmapJava - Spring Boot Starter for AmapGeo

张春生开发的 Spring Boot Starter

License

License

Categories

Categories

Java Languages Spring Boot Container Microservices Geo Business Logic Libraries Geospatial
GroupId

GroupId

com.github.zhangchunsheng
ArtifactId

ArtifactId

amap-java-geo-spring-boot-starter
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

AmapJava - Spring Boot Starter for AmapGeo
张春生开发的 Spring Boot Starter

Download amap-java-geo-spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.zhangchunsheng/amap-java-geo-spring-boot-starter/ -->
<dependency>
    <groupId>com.github.zhangchunsheng</groupId>
    <artifactId>amap-java-geo-spring-boot-starter</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.zhangchunsheng/amap-java-geo-spring-boot-starter/
implementation 'com.github.zhangchunsheng:amap-java-geo-spring-boot-starter:1.0.2'
// https://jarcasting.com/artifacts/com.github.zhangchunsheng/amap-java-geo-spring-boot-starter/
implementation ("com.github.zhangchunsheng:amap-java-geo-spring-boot-starter:1.0.2")
'com.github.zhangchunsheng:amap-java-geo-spring-boot-starter:jar:1.0.2'
<dependency org="com.github.zhangchunsheng" name="amap-java-geo-spring-boot-starter" rev="1.0.2">
  <artifact name="amap-java-geo-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.zhangchunsheng', module='amap-java-geo-spring-boot-starter', version='1.0.2')
)
libraryDependencies += "com.github.zhangchunsheng" % "amap-java-geo-spring-boot-starter" % "1.0.2"
[com.github.zhangchunsheng/amap-java-geo-spring-boot-starter "1.0.2"]

Dependencies

compile (3)

Group / Artifact Type Version
com.github.zhangchunsheng : amap-java-geo jar 1.0.2
org.springframework.boot : spring-boot-autoconfigure jar 2.1.4.RELEASE
org.springframework.boot : spring-boot-configuration-processor Optional jar 2.1.4.RELEASE

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.8

Project Modules

There are no modules declared in this project.

AmapJava

Amap Java SDK

使用SDK

// spring boot, inject geoService
GeoResult result = this.geoService.geo("北京市朝阳区阜通东大街6号");

maven

Maven 引用方式

<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>

高德geo

{
    "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" : "门牌号"
        }
    ]
}

捐助 donate

支付宝 微信
com.github.zhangchunsheng

网约车开发者联盟

网约车开发者联盟

Versions

Version
1.0.2
1.0.1