Skip to main content

collective.geo mapwidget

Project description

Introduction

collective.geo.mapwidget provides some handy page macros and adapters to easily manage multiple maps on one page.

https://secure.travis-ci.org/collective/collective.geo.mapwidget.png

Found a bug? Please, use the issue tracker.

Requirements

Installation

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

Upgrading

Version 2.0

If you are upgrading from an older version to 2.0, you may need to run upgrade steps. To do this, follow these steps:

  1. Browse to portal_setup in the ZMI of your site

  2. Click onto the Upgrades tab

  3. Select collective.geo.mapwidget:default from the drop-down list and click Choose Profile

  4. Observe any available upgrades and click the Upgrade button if any are present.

Contributors

  • Gerhard Weis - gweis

  • Giorgio Borelli - gborelli

  • Silvio Tomatis - silviot

  • David Beitey - davidjb

  • Rob Gietema - robgietema

  • Leonardo J. Caballero G - macagua

  • Denis Krienbühl - href

Changelog

2.1.1 (2014-02-26)

  • Fix geopy version; geopy 0.98.1 is currently broken [gborelli]

2.1 (2014-02-26)

  • Moved collective_geo_styles metadata and related indexer from c.geo.contentlocations [gborelli]

  • Added get_feature_styles method to retrieve map styles [gborelli]

  • Fixed google.GQueryError ImportError [Jian Aijun]

  • Updated German translation. [href]

2.0 (2013-10-29)

  • Change package layout [gborelli]

  • Re-adds previously used maxResolution and maxExtent options, fixing issues with certain WMTS services. [href]

2.0b1 (2013-06-02)

  • move IGeoCoder utility from c.geo.mapwidget [gborelli]

  • Prevent multiple inclusions of Google maps and Bing javascripts [gborelli]

  • Moved Openlayers localization to geosettings_view [gborelli]

  • Added ShapeDisplayLayer [gborelli]

  • Documented javascript files with http://abstract-open-solutions.github.io/code-illuminated/ [gborelli]

  • Refactored collectivegeo javascript [gborelli]

  • Moved static resource to static directory [gborelli]

  • Removed all Yahoo maps references. See: collective.geo.bundle #19 [gborelli]

  • Removed YahooStreetMapLayer, YahooSatelliteMapLayer, YahooHybridMapLayer and relative templates [gborelli]

  • Removed yahoomaps, yahooapi, yahoo_maps_js from collective geo macros [gborelli]

  • Added c.z3cform.colorpicker profile in metadata.xml. Now we depend on c.z3cform.colorpicker > 0.2 [gborelli]

  • Added ShapeMapWidget and ShapeEditLayer and theirs respective adapters [gborelli]

1.6 (2013-01-29)

  • added travs-ci configuration [gborelli]

  • refactored tests with plone.app.testing [gborelli]

  • removed tests.base module [gborelli]

  • removed imports from zope.app [gborelli]

  • Changed control panel form in order to make it more user friendly [gborelli]

  • Fixed translation domain in the collectivegeo_macros [rnd0101]

  • Allowed OSM and overlay URL helper functions to take into account zoomOffset. [davidjb]

  • Ensuring that the maxExtent for spherical mercator covers all coordinates. [davidjb]

  • Automatically include OpenLayers language files if the language is supported by OpenLayers [href]

  • Added German translation [href]

  • Changed javascript to indicate map loading through the custom ‘map-load’ event, ensuring that invisible maps on tabbed forms are loaded only when made visible. Javascript code relying on collectivegeo.js must now implement $(window).bind(‘map-load’, function(e, map) { }); which will be called once the map is ready. [href]

  • Disabled OpenLayer’s KeyboardDefaults since they lead to the complete consumption of all + / - and arrow-key presses in input fields. [href]

1.5 (2012-02-11)

  • Added French translation [Fabien Moret]

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

  • Fix minor typo on geocoder error div [davidjb]

  • Replace deprecated usage of jq with $ (using jQuery function) [davidjb]

  • Allow mapwidget to utilise HTTPS mapping resources, where possible, to attempt to avoid issues of loading insecure resources like map tiles. Only Google and Bing support HTTPS for their APIs at present - Yahoo and OSM do not. To avoid security errors, avoid the use of the latter two map APIs when on HTTPS. [davidjb]

  • Provide request protocol to layer templates [davidjb]

  • Make tests install the collective.geo.settings extension profile so plone.app.registry knows about settings. [davidjb]

  • Added Danish translation [stonor]

0.1.4 (2011-09-05)

  • Changed javascript to bind window load event to create map. It fixes #29 [gborelli]

  • Added fix to reload OL map layers when the map is made visible after being loaded within a non-default Plone fieldset [davidjb]

  • added improvements about the Internationalization [macagua]

  • added support for Spanish localization for collective.geo.mapwidget domain [macagua]

  • Make our mapwidget automatically zoom to see a loaded WKT feature. [davidjb]

  • Show our default fieldset first on our form in accordance with changes in plone.app.z3cform 0.5.0+. [davidjb]

  • Added ability to display custom-styled maps with inline CSS. This is based around width/height initially for either global or local custom settings but is extensible by mapping more fields. [davidjb]

  • added map_viewlet_managers in control panel form [gborelli]

  • plone 4.1 fixes [gborelli]

  • changed Browser import from Testing.testbrowser [gborelli]

  • removed zope.app.component import [gborelli]

  • changed map widgets jsfactory to provide a simple way to customize it [gborelli]

  • added z3c.autoinclude entry point [gborelli]

  • fixed layers query in maplayers

  • Added ability to drag features drawn onto OL map when editing [davidjb]

  • Minor spelling corrections [davidjb]

0.1.3 (2011-02-20)

  • changed Google maps javascript url

0.1.2 (2010-12-28)

  • fixed UnicodeDecodeError in maplayers [gborelli]

  • fixed set_coordinates js [gborelli]

  • Added dutch translations [robgietema]

0.1.1 (2010-11-13)

  • added geocoding to controlpanel

  • added cgmap.portal_url in collective.geo javascript

  • Removed unused googleapi configuration from controlpanel

  • Changed numZoomLevels in default mapwidget

  • Updated Google map layers to Googlemaps v3

  • fixed italian translation

0.1 (2010-10-31)

  • Initial release moved from collective.geo.settings

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.geo.mapwidget-2.1.1.zip (117.2 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