am-impact/ammaps 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

New field

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.

Data in field

You can drag the marker around to update the coordinates to pinpoint the location exactly where you want.

Drag the marker

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

GitHub 信息

  • Stars: 6
  • Watchers: 9
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-04-23