Skip to main content

z3c.form map widget

Project description

Introduction

Map widget for z3c.form based on collective.geo.mapwidget.

For more information about collective.geo, see the Coactivative home page.

Installation

This addon can be installed has any other addons, please follow official documentation.

Usage

In order to use the widget contained in this package, use collective.z3cform.mapwidget.widget.MapFieldWidget and set this as the widget for a suitable field within your form schema. One such suitable field type is that of zope.schema.TextLine.

Changelog

2.0b1 (2013-06-02)

  • Refactored widget, renamed IMapWidget to IFormMapWidget and added MapDisplayWidget for IFormMapWidget display mode [gborelli]

  • Moved shapedisplay layer to c.geo.mapwidgegt [gborelli]

  • Moved ShapeMapWidget and ShapeEditLayer to c.geo.mapwidget [gborelli]

  • Decode context titles from utf-8 to avoid errors on displaying a map with content containing such characters. [davidjb]

0.1 (2012-02-17)

  • Added ability to hit enter key within geocoder input and search. Previously, hitting enter submitted the parent form. [davidjb]

  • Restructure geocoder JavaScript so it happens on window.load (and wrap the usage of $). [davidjb]

  • Execute map construction on window.load rather than when the JavaScript gets loaded. [davidjb]

  • Pass map id through to edit shape map JavaScript. [davidjb]

  • Remove dependency on jq object for edit shape map. [davidjb]

  • Added ability to display a collective.geo map when outputting this widget in display mode. Presents a layer with the field’s value as its features. [davidjb]

  • 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.z3cform.mapwidget-2.0b1.zip (8.9 kB view details)

Uploaded Source

File details

Details for the file collective.z3cform.mapwidget-2.0b1.zip.

File metadata

File hashes

Hashes for collective.z3cform.mapwidget-2.0b1.zip
Algorithm Hash digest
SHA256 ab74035f6f4c26efdf66a3ec690ac72be56e9ea9858eb61b6ad6c6346a262616
MD5 c3fa4d3fda30090790fd9a5e3fd786e5
BLAKE2b-256 0ca1afe660fa61a72a3c404385f1dbeb55b46de68b71cd0e744749dfd046cfd2

See more details on using hashes here.

Supported by

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