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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3.8

File details

Details for the file z3cform.locationwidget-1.1.0.tar.gz.

File metadata

  • Download URL: z3cform.locationwidget-1.1.0.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for z3cform.locationwidget-1.1.0.tar.gz
Algorithm Hash digest
SHA256 81bb3ff700409eb54086a041d9b2a30c904becd30ec2ca4b0503582ff038e202
MD5 af2f2a7ab1f686ff9ec4b88d8868608c
BLAKE2b-256 02ef4b92dadbd3b8d01517711539e2a999e38881594bb3de28c941b49e66a65c

See more details on using hashes here.

File details

Details for the file z3cform.locationwidget-1.1.0-py38-none-any.whl.

File metadata

File hashes

Hashes for z3cform.locationwidget-1.1.0-py38-none-any.whl
Algorithm Hash digest
SHA256 fc757ecba5ce04528e1c1d3e87d87be5edb4d18a33a2b79d3470863e0dd4873c
MD5 a3cd3c18f2bd5cbc36d028d469bae231
BLAKE2b-256 8ae62f9349106873c8054bd8c82cc1d9f6d8bc0b50393d03b73412c0a427406b

See more details on using hashes here.

Supported by

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