Skip to main content

Provides map location behavior for Dexterity content types

Project description


Products.Maps provides facilities for attaching geolocation information to content types. Content objects using its location field can then be automatically represented in map views of collections and folders that aggregate the geolocated content objects.

This package adds a Dexterity behavior to add geolocation fields to content types and to add the adapters and views necessary to used them with Products.Maps views.

Install this package as you would any Plone package. Dependencies include, plone.formwidget.geolocation and Products.Maps.

Most of the implementation is straightforward. The only part that’s hacky is removing the jsregistry conditions for shipping the Products.Maps editing facility. This was because I couldn’t figure out how to provide a BrowserView for an add form by virtue of the content type having a behavior. Drop me a note if you know how to do it.


1.2 2015-12-17

  • 1.1 was brown bag.

1.1 2015-12-17

  • Bad selector for location field prevented display of map for location field edit.

1.2 (2015-12-17)

  • 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.

Files for collective.maplocbehavior, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size (19.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page