第 114 章 Geocoder 组件
从 Camel 版本 2.12 开始提供
geocoder: 组件用于查找给定地址或反向查找的地理代码(拉丁和长期)。组件将 Java API 用于 Google Geocoder 库。
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>
114.1. URI 格式
geocoder:address:name[?options] geocoder:latlng:latitude,longitude[?options]