Metadata-Version: 2.1
Name: plone.formwidget.geolocation
Version: 2.2.2.1
Summary: Geolocation field and widget
Home-page: https://github.com/collective/plone.formwidget.geolocation
Author: David Glick
Author-email: dglick@gmail.com
License: GPL
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: 5.1
Classifier: Framework :: Plone :: 5.2
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Requires-Dist: plone.patternslib
Requires-Dist: setuptools
Requires-Dist: z3c.form

Introduction
============

Geolocation field and widget.

This package provides a z3c.form field and a widget implementing LeafletJS
from plone.patternslib to define Lat/Long information.

Changelog
=========

2.2.2.1 (2020-12-21)
--------------------

- Specify that latitude and longitude fields can be not required.
  [boulch]

- Allow empty latitude and longitude.
  [bsuttor]


2.2.2 (2020-07-10)
------------------

- Fix popup displaying the string "None" when no description was given.
  [parruc]

- Add default_location informations to maps-configuration view.
  [bsuttor]


2.2.1 (2019-06-07)
------------------

- Translate map ids.
  [thet]


2.2.0 (2019-04-24)
------------------

- add geolocation settings for leaflet
  [petschki]

- Fix for Python 3.
  [pbauer]


2.1.3 (2017-12-06)
------------------

- Only include the leaflet bundle where it is needed via ``add_bundle_on_request``.
  [thet]


2.1.2 (2017-04-04)
------------------

- Explicitly include necessary zcml dependencies to avoid having to explictly doing that in tests.
  plone.app.testing disables z3c.autoinclude.
  [thet]


2.1.1 (2017-03-06)
------------------

- Add upgrade step for changes in 2.1 + register missing upgrade steps for Plone 5 migration.
  [thet]


2.1 (2017-02-28)
----------------

- Use ``bundle-leaflet`` from the ``plone.patternslib`` package.
  This should give an out-of-the-box leaflet integration.
  [thet]

2.0 (2016-10-06)
----------------

- Make geolocation formwidget work with ``pat-leaflet``.
  [thet]

- Support for Plone 5 only, using plone.patternslib and providing an own bundle.
  [thet]


1.4 (2015-11-26)
----------------

- Leaflet: After searching, bind new marker to update lat/lng input field and
  remove MarkerClusterGroup. Fix annoying 'Uncaught Error: Couldn't autodetect
  L.Icon.Default.imagePath, set it manually.'
  [thet]

- Update Leaflet dependencies.
  [thet]


1.3 (2015-07-15)
----------------

- Add Leaflet as mapping widget. Use bower/grunt managed resources.
  [thet]

- Remove the ``div.geolocation`` elements. Instead, render the list of
  geolocation points as JSON value on a ``data-geopoints`` attrbute on the map
  element.
  [thet]

- Reintroduce package level imports and avoid circular import by moving out the
  message factory.
  [thet]

- Remove the ``map`` id attrbute on the map element and use instead a ``map``
  css class.
  [thet]


1.2.1 (2015-03-04)
------------------

- Avoid circular imports by removing the package level imports.
  [thet]


1.2 (2015-03-04)
----------------

- PEP8.
  [thet]


1.1 (2014-04-30)
----------------

- Simplify templates and cleanup Google Map leftovers.
  [thet]

- Convert default locations strings from Products.Maps to tuples with floats.
  [thet]

- Improve handling of non-required geolocation fields
  with missing values.
  [davisagli]

- Fix display template markup to be compatible with recent versions
  of Products.Maps.
  [davisagli]

- Add supermodel import/export handler.
  [davisagli]

- Fix declaration of exported names.
  [davisagli]

- Remove dependency on Products.Maps. Don't fail, if default_location is not
  set or maps_configuration adapter not found.
  [thet]


1.0 (2013-02-07)
----------------

- Initial release
