- 摘要
- Enhance your Gravity Forms with Gravity Geolocation, offering 8 form fields including Geocoder, Address, Coordinates, Google Map, Locator Button, Directions, Directions Panel, and Reset Location. Easily find positions, convert addresses to coordinates, calculate directions, and manage distances for precise location data. Save location details in post custom fields and user meta.
Gravity Geolocation插件提供了8个额外的表单字段:Geocoder、Address、Coordinates、Google Map、Locator Button、Directions、Directions Panel和一个重置位置按钮。这些Geolocation字段为前端用户提供了使用Google地图找到他们位置的方法,一个使用地址自动完成功能的地址字段,可以将地址转换为坐标,反之亦然;它们可以计算两个或多个地点之间的方向,并在地图上显示路线,以及使用Directions字段提供的方向详情。它们还可以计算两个或多个地点之间的旅行距离和时间,并用于按距离计算价格等。
插件会将表单中输入的位置进行地理编码,并在表单的输入中提供完整的地理位置详细信息(地址字段和坐标)。当使用Form中的Directions字段时,还会提供方向、距离和持续时间的详情。
通过Gravity Geolocation插件可以为Gravity Forms中的帖子和WP用户添加位置标签,方法是将位置数据保存到自定义字段和用户元数据中。
Gravity Geolocation为Gravity Forms提供了完整的地理定位解决方案。