am-impact/ammaps
最新稳定版本:1.1.3
Composer 安装命令:
composer require am-impact/ammaps
包简介
Google Maps fieldtype for Craft
README 文档
README
How does it look in the backend?
This plugin will add a new fieldtype called "Geo Mapper" that'll allow you to easily save addresses combined with the latitude and longitude.
Once you've added an address in the given fields and press the button to get the coordinates, Google Maps will be shown and a marker will display the location.
You can drag the marker around to update the coordinates to pinpoint the location exactly where you want.
How do I display the information on the frontend?
{{ entry.GeoMapperFieldName.address }}
{{ entry.GeoMapperFieldName.zip }}
{{ entry.GeoMapperFieldName.city }}
{{ entry.GeoMapperFieldName.country }}
{{ entry.GeoMapperFieldName.lat }}
{{ entry.GeoMapperFieldName.lng }}
Contact
If you have any questions or suggestions, don't hesitate to contact us.
Changelog
####1.0.1
- Fields for the coordinates are now hidden.
- The coordinates will be deleted automatically if none of the fields have data.
- Google Maps will be shown if any of the fields has at least some data (e.g. : the address field).
- Scrolling in Google Maps has been disabled.
统计信息
- 总下载量: 188
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-04-23


