collective.geo mapwidget
Project description
Introduction
collective.geo.mapwidget provides some handy page macros and adapters to easily manage multiple maps on one page.
Found a bug? Please, use the issue tracker.
Requirements
geopy >= 0.98
Plone >= 4.2
collective.geo.openlayers >= 3.1
collective.geo.settings >= 3.1
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:
Browse to portal_setup in the ZMI of your site
Click onto the Upgrades tab
Select collective.geo.mapwidget:default from the drop-down list and click Choose Profile
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
Benoît Suttor - bsuttor
Changelog
3.1 (2019-01-23)
Fix regression of “Fix bad adapter registration causing dexterity add view to fail with a 404”. [mathias.leimgruber]
The first discriminator might be a`View`-ish thing or a z3c.form.interfaces.IFieldWidget.
3.0 (2019-01-22)
Fix bad adapter registration causing dexterity add view to fail with a 404. [jone]
Fix display of geocoding results [mpeeters]
Use google api key if defined for geocoding to avoid errors due to the new google api policy [mpeeters]
Fix google url and allow to set google api key (#25) [pbauer]
Fix required version of collective.geo.openlayers. [pbauer]
Fixed list_language_files collective.geo.openlayers doesn’t use portal_skin anymore [giorgio]
Fixed tests and doctests for plone5 and external api modifications [pbauer]
moved resources to new plone5 resource registry [pbauer]
Modified controlpanel code to use FormWrapper machinery [pbauer]
Updated javascript to draw the map in new plone5 mockup hidden tab [pbauer]
Fix not loaded map case when don’t have jquery.tools.js and open edit view not in “coordinates” tab
Add ImgPath in map’s default options to point the resource folder [lucabel]
2.3 (2015-11-17)
Updated classifiers list for package [macagua]
Updated spanish translation [macagua]
2.2 (2015-05-02)
Added more french translations [tiazma]
Precised translation domian in macro context [tiazma]
Fixed error occurring when no location found [tiazma]
2.1.3 (2014-08-16)
Bug fix, utils check is a object use “use_custom_styles”, if not sytles are take from global styles [bsuttor]
Updated classifiers list for package [macagua]
Updated Spanish translation [macagua]
Use getMultiAdapter instead of restrictedTraverse in Views [gborelli]
2.1.2 (2014-03-16)
Add content type location’s attribute as default value for geocoding input field [gborelli]
Fix #14 - GeoCoderView [gborelli]
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
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.geo.mapwidget-3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25df68d36c425e0e50931a0b83a0142fa08c3a739f42939089b2ea2632f7109 |
|
MD5 | e20ee5b344c8bccdafb47fcda93f9e78 |
|
BLAKE2b-256 | 141e164c381ba909e4efd802242a4fa4937a4f858a734701cdddd089c9084456 |