Skip to main content

Provides map location behavior for Dexterity content types

Project description

Introduction

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 add form by virtue of the content type having a behavior. Drop me a note if you know how to do it.

Changelog

1.1 2015-12-17

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

1.0 (2015-06-04)

  • 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

collective.maplocbehavior-1.1.zip (7.9 kB view details)

Uploaded Source

File details

Details for the file collective.maplocbehavior-1.1.zip.

File metadata

File hashes

Hashes for collective.maplocbehavior-1.1.zip
Algorithm Hash digest
SHA256 2ace9775a949369e3667a49b1e283f8ed907665bd63a983232578ca47e9def96
MD5 8cd24fd57d1ae81379c8b06c26c999b9
BLAKE2b-256 2444e39cbf5834e7ec90ebdf3618affaad5082213ec91fc32249379539439fd6

See more details on using hashes here.

Supported by

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