am-impact/ammaps

There is no license information available for the latest version (1.1.3) of this package.

Google Maps fieldtype for Craft

Installs: 185

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 11

Forks: 3

Open Issues: 3

Type:craft-plugin

1.1.3 2016-07-28 14:38 UTC

This package is not auto-updated.

Last update: 2024-05-11 15:40:28 UTC


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.