GMaps Widget for string fields
Project description
Widget for graphically select location in to a map, and save cordinates into field Based in gmaps.js library
Features
Gmaps library
Api Key Google maps definition in control panel
Coordinates default point definition in control panel
You can show de coordinates field via checkbox
Usage
You need to set the widget to needed fields into your form instance:
from z3cform.locationwidget.field import LocationField from plone.supermodel import model class IMyModel(model.Schema): my_location_field = LocationField( title=_(u'Map Location'), description=_(u'Set the location mark on the map'), required=False, )
Translations
This product has been translated into
Catalan
Spanish
French
Installation
Install z3cform.locationwidget by adding it to your buildout:
[buildout] ... eggs = z3cform.locationwidget
and then running bin/buildout
Contributors
aormazabal, aormazabal@tda.ad
Changelog
1.1.0 (released)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for z3cform.locationwidget-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81bb3ff700409eb54086a041d9b2a30c904becd30ec2ca4b0503582ff038e202 |
|
MD5 | af2f2a7ab1f686ff9ec4b88d8868608c |
|
BLAKE2b-256 | 02ef4b92dadbd3b8d01517711539e2a999e38881594bb3de28c941b49e66a65c |
Close
Hashes for z3cform.locationwidget-1.1.0-py38-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc757ecba5ce04528e1c1d3e87d87be5edb4d18a33a2b79d3470863e0dd4873c |
|
MD5 | a3cd3c18f2bd5cbc36d028d469bae231 |
|
BLAKE2b-256 | 8ae62f9349106873c8054bd8c82cc1d9f6d8bc0b50393d03b73412c0a427406b |