Skip to content
/ map Public

A unified Java SDK for popular map services like Baidu Maps, AMap (Gaode), and Tencent Maps. It provides a common interface to simplify multi-platform map development.

Notifications You must be signed in to change notification settings

zxyle/map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

map

地图统一接口

接口支持

API 百度地图 高德地图 腾讯地图 谷歌地图 天地图
地理编码
逆地理编码
坐标转换

使用方法

// 多个key使用逗号分隔,将会轮询使用
MapService service = MapServiceFactory.getMapService(ProviderEnum.BAIDU, "填写key"); 
Location location = service.geocode("北京市海淀区上地十街10号", Collections.emptyMap());
System.out.println(location);

TODO

  • 增加key超过调用率、超过qps等时将这个key驱逐机制(使用失败次数 超过阈值)

版本

v1.1.0

  • 增加天地图支持

About

A unified Java SDK for popular map services like Baidu Maps, AMap (Gaode), and Tencent Maps. It provides a common interface to simplify multi-platform map development.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages