第 113 章 Geocoder 组件

作为 Camel 2.12 版本提供

geocoder: 组件用于查找给定地址的 geocode (字符和度)或反向查找。组件 对 Google Geocoder 库使用 Java API

Maven 用户需要将以下依赖项添加到其 pom.xml 中:

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-geocoder</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>

113.1. URI 格式

geocoder:address:name[?options]
geocoder:latlng:latitude,longitude[?options]