Skip to main content

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

Changelog

1.1.0 (released)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z3cform.locationwidget-1.1.0.tar.gz (35.2 kB view hashes)

Uploaded Source

Built Distribution

z3cform.locationwidget-1.1.0-py38-none-any.whl (39.6 kB view hashes)

Uploaded Python 3.8

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page