Skip to main content

Geolocation field and widget

Project description

Introduction

Geolocation field and widget for use with collective.geolocationbehavior

This package provides a field and a basic widget allowing text entry of latitude and longitude, which may be extended by other packages to integrate Google Maps or other mapping tools.

How to build Leaflet via bower/grunt

::

$ npm install $ bower install $ grunt

Changelog

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

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

plone.formwidget.geolocation-2.1.2.tar.gz (19.0 kB view details)

Uploaded Source

File details

Details for the file plone.formwidget.geolocation-2.1.2.tar.gz.

File metadata

File hashes

Hashes for plone.formwidget.geolocation-2.1.2.tar.gz
Algorithm Hash digest
SHA256 99000e1021debc92bf1b78eb8f217fc1a446d5587cffac2a458cf4500815ef4d
MD5 b68e12f2a14cb27dc9ec643f1efdc4c9
BLAKE2b-256 c9290d8b5bd7faf8b35842635c72f7508e9612a435ecf348129687236b5b65de

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