Backend Google Maps
Easily and quickly integrate a Google Maps field into your Backend Forms.
This plugin provides a Form Widget to integrate a Google Maps map to a Backend Form in a simple and fast way. Additionally, there is a component to display the map in the frontend of the website.
Requirements:
- Get the Google Maps KEY API. For more information, visit the following link: https://developers.google.com/maps/documentation/javascript/get-api-key?hl=EN
Features
- Integrate a Google Maps map into your Backend Forms.
- Display the map in the frontend of the website.
If you want to help adding features, any contribution in the official Github repository will be of great help.
Installation
To install this plugin you have to click on add to project or need to type aldea.backendmaps in Backend System > updates > intall plugin
Configuration
To configure this Plugin goto Backend System then find MISC in left side bar, then click on Backend Google Maps , you will get Configuration options (refer screenshots)
Usage
On the Backend Forms
Create a field type backendmaps in the fields.yaml file of the model where you want to store the latitude and longitude of a Google Maps location.
Example:
map: label: 'Google Maps' oc.commentPosition: '' span: left type: backendmaps
On the Frontend
Example:
[gmap] width = '500%' height = '500px' mapTypeId = 'TERRAIN' zoom = 14 showMarker = 1 animateMarker = 1 == {% component 'gmap' %}
-
This plugin has not been reviewed yet.
-
1.0.4 |
Minimal corrections in the location of the map. Mar 23, 2018 |
---|---|
1.0.3 |
Now it is already possible to instantiate more than one map in the same view. Mar 22, 2018 |
1.0.2 |
git - The gmap component is added to display the map in the frontend. Dec 06, 2017 |
1.0.1 |
First version of Backend Google Maps Dec 06, 2017 |