AmapJava - Amap Java SDK

高德地图 Java SDK

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.github.zhangchunsheng
ArtifactId

ArtifactId

amap-java
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

pom
Description

Description

AmapJava - Amap Java SDK
高德地图 Java SDK
Project URL

Project URL

https://github.com/Ride-Group/AmapJava
Source Code Management

Source Code Management

https://github.com/Ride-Group/AmapJava

Download amap-java

Filename Size
amap-java-1.0.2.pom 9 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • amap-java-common
  • amap-java-geo
  • amap-java-place
  • amap-java-direction
  • spring-boot-starters

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
1.0.0