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 hashes)

Uploaded Source

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