AmapJava - Spring Boot Starters

AmapJava 各个模块的 Spring Boot Starter

License

License

Categories

Categories

Java Languages Spring Boot Container Microservices
GroupId

GroupId

com.github.zhangchunsheng
ArtifactId

ArtifactId

amap-java-spring-boot-starters
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

pom
Description

Description

AmapJava - Spring Boot Starters
AmapJava 各个模块的 Spring Boot Starter

Download amap-java-spring-boot-starters

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
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

  • amap-java-geo-spring-boot-starter

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