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.app.dexterity, 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 edit form by virtue of the content type having a behavior. Drop me a note if you know how to do it. Changelog =========
1.0 (2015-06-04)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.maplocbehavior-1.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | e64c6f965a65a48d03d100118f8be6a052433cb37cba873a91518f866cabfb31 |
|
MD5 | 78f11a5970457392c76390b6d05000b0 |
|
BLAKE2b-256 | 95f60274911133e876b6d58288c6c1a467711545a0112b44e1d7cd6a49f50fad |