Extension:Maps/Version history

Maps 0.5 downloads

 * Maps0.5.zip 353.29 KB
 * Maps0.5.7z 228.15 KB
 * MapsAndSemanticMaps0.5.zip 409.87 KB
 * MapsAndSemanticMaps0.5.7z 250.22 KB

Maps 0.5.1 downloads

 * Maps0.5.1.zip 357.42 KB
 * Maps0.5.1.7z 229.74 KB
 * MapsAndSemanticMaps0.5.1.zip 414.92 KB
 * MapsAndSemanticMaps0.5.1.7z 254.94 KB

Maps 0.4 downloads

 * Maps0.4.zip 320.85 KB
 * Maps0.4.7z 207.38 KB
 * MapsAndSemanticMaps0.4.zip 362.41 KB
 * MapsAndSemanticMaps0.4.7z 219.55 KB

Maps 0.4.1 downloads

 * Maps0.4.1.zip 322.22 KB
 * Maps0.4.1.7z 209.88 KB
 * MapsAndSemanticMaps0.4.1.zip 362.56 KB
 * MapsAndSemanticMaps0.4.1.7z 220.33 KB

Maps 0.4.2 downloads

 * Maps0.4.2.zip 329.7 KB
 * Maps0.4.2.7z 216.11 KB
 * MapsAndSemanticMaps0.4.2.zip 370.35 KB
 * MapsAndSemanticMaps0.4.2.7z 228.66 KB

Maps 0.3 downloads

 * Maps0.3.zip 604.57 KB
 * Maps0.3.7z 208.28 KB

Maps 0.3.3 downloads

 * Maps0.3.3.7z 201.51 KB
 * MapsAndSemanticMaps0.3.3.7z 208.79 KB

Maps 0.3.4 downloads

 * Maps0.3.4.zip 300.85 KB
 * MapsAndSemanticMaps0.3.4.zip 340.98 KB

Maps 0.2 downloads

 * Maps0.2.zip 281.03 KB
 * Maps0.2.7z 188.08 KB
 * MapsAndSemanticMaps0.2.zip 307.28 KB
 * MapsAndSemanticMaps0.2.7z 198.3 KB

Maps 0.1 downloads

 * Maps0.1.zip 1.01 MB
 * Maps0.1.rar 830.22 KB
 * MapsAndSemanticMaps0.1.zip 1.04 MB
 * MapsAndSemanticMaps0.1.rar 848.87 KB

Maps change log
This change log contains a list of completed to-do's (new features, bug fixes, refactoring) for every version of Maps.

Maps 0.5.2
(2010-01-20)

New features

 * Added icon parameter to display_point(s), allowing you to set the icon for all markers that do not have a specific icon assigned.

Refactoring

 * Usage of Validator 0.2 features for the static map specific parameters.

Bug fixes

 * Fixed escaping issue causing wikitext in the title and label parameters not to be displayed correctly.


 * Fixed file path for location specific icons.

Maps 0.5.1
(2009-12-25)

New features

 * Integrated further with Validator by holding into account the error level for coordinate validation in the display_ parser functions.


 * Added activatable= parameter to the static map support.

Refactoring

 * Cleaned up the static map code for OSM display_map.


 * Modified the parameter definitions to work with Validator 0.2


 * Removed redundant (because of Validator 0.2) utility function calls from the mapping classes.


 * Removed redundant (because of Validator 0.2) utility functions from the mapping service files.

Bug fixes

 * Fixed issue with the hook system that caused code to get executed when it shouldn't.

Maps 0.5
(2009-12-17)

New features

 * Added strict parameter validation.


 * Added smart 'autopanzoom' like control for Google Maps and Yahoo! Maps.


 * Added internationalization to the OSM service, and an extra parameter to define per-map languages.


 * Static map support, similar and based upon SlippyMap.

Refactoring

 * Rewrite the parameter handling to be more centralized and modular.
 * Make it possible to override the info of parameters for mapping services, including their aliases, default values and criteria.
 * Make it possible to add and override parameters in each segment of Maps, instead of only the mapping services.


 * Cleaned up and centralized parser function code.


 * Refactored the marker specific data handling code in every display point class up to a central location.


 * Removed backward compatibility (to 0.2.x and earlier) of the earth parameter.


 * Removed support for Google Map API map type names for Google Maps.


 * Added code to unload any services from the service hook that are not present in the list of allowed services. This ensures they don't get initialized, and makes any check to see if the service is one of the allowed ones further on unneeded.


 * Added checks for extension dependencies that need to be present for Maps to be initialized.

Bug fixes

 * Fixed bug causing markers not to show up when a specific description was provided.

Documenting

 * Created screencast demonstrating display_map usage.


 * Creates screencast demonstrating display_point usage.


 * Updated the developer documentation about hooking into and extending Maps to be useful for the current version.

Maps 0.4.2
(2009-11-15)

Changes in 0.4.2 discussed on the authors blog:


 * Maps and Semantic Maps 0.4.2 released
 * New in Maps 0.4.2

New features

 * Added overlays to Google Maps. This includes both an 'overlay' control, and a new parameter to choose the available and default loaded overlays.


 * Added specific handling for the coordinates= and addresses= parameters for both display_map and display_point(s). You can now specify you do not want anything that's not a coordinate on your map (so no geocoding) with the coordinates= parameter, or let Maps know everything is an address with the addresses= parameter, causing everything to be geocoded. Also modified the error messages for wrong addresses and coordinates to fit this new behaviour.

Refactoring

 * Added the version of Maps to the JS files call, to prevent issues when functions or calls are changed in new versions.


 * Changed the JavaScript map parameters for Google Maps from individual parameters to a groupe.

Bug fixes

 * Fixed inclusion path to the OSM JS file. This bug prevented any OSM maps from showing up.


 * Fixed display_map and the centre parameter of display_point(s). Both are unusable by a bug introduced in 0.4.1.


 * Fixed bug causing to many decimal digits in some coordinate notations, making them unrecognisable for Maps.


 * Fixed bug causing a form of DD notation not to get recognized.

Maps 0.4.1
(2009-11-10)

Bug fixes

 * Fixed problems with the ° sign, caused by wrong file encodings, resulting into problems with the DMS notation.


 * Fixed flaw in DMS to float translation, resulting into a map being displayed when the values where not separated by a comma.

Maps 0.4
(2009-11-03)

Changes in 0.4 discussed on the authors blog:


 * Finally! Maps and Semantic Maps 0.4!

New features

 * Added display_map parser function, to display maps without any markers.


 * Added parsing of marker-specific title and label values.


 * Added geocoding support for the centre parameter. This is based on automatic detection of non-coordinates to see if geocoding is required, similar to the modified behaviour of display_point(s).


 * Added minimum and maximum map size restrictions, like done in SlippyMap.


 * Added OSM mapping service, which uses OL, but only allows OSM layers and is optimized for OSM.


 * Added smart 'autopanzoom' control to OL and OSM services. It will determine for itself if a panzoom, panzoombar, or no control should be displayed, depending on the maps height.


 * Added support for DM and DD coordinate notations.

Refactoring

 * Created a hook system for the parser functions, allowing the adding or removing of additional parser function support.


 * Removed redundant absolute script path variable. This absolute value caused problems for some installations.


 * Changed the geocoding functionality into a true feature hook element, enabling easy removal.


 * Created service hook for the geocoding feature, loose from the mapping services hook.


 * Changed display_point(s) and display_address(es) to display_point(s), with auto detect functionality to see if the provided value are coordinates or addresses. display_address and display_addresses have been retained for backward compatibility, but will be removed from the docs. Backward compatibility will be removed at some point, so the use of these functions is discouraged.

Bug fixes

 * Fixed issue with the default parameter for the display_address(es) parser functions.


 * Fixed major bug in the initialization method causing hook code to get executed at a probably wrong moment. This bug can be the cause of some weird problems that surfaced since 0.3.3.


 * Fixed issue with size of pop-ups in Google Maps. They did not stretch far enough vertically for large contents.

Maps 0.3.4
(2009-09-12)

Changes in 0.3.4 discussed on the authors blog:


 * Maps and Semantic Maps 0.3.4 released

New features

 * Created hook system for features, which now also allows you to specify which features should be enabled and which not.

Refactoring

 * Added old style geocoding request again for people who do not have cURL enabled, plus a more consistent fall-back mechanism.


 * Added internationalization for the mapping service names.


 * Added internationalized list notations.


 * Restructured the parser function handling code to work with the new feature hook system.


 * Improved structure of geocoding classes.


 * Moved Semantic Maps JavaScript code from the Maps JS files to new SM JS files.


 * Fixed tiny performance issues all over the code.

Bug fixes

 * Fixed issue with empty parameters (par=value||par2=value2) that caused the default parameter (coordinate(s)/address(es)) to be overridden if it occurred after the default one was set.


 * Fixed wrong error message when you provide a coordinate(s)/address(es) parameter without any value (ie |coordinates=|)

Maps 0.3.3
(2009-08-25)

Changes in 0.3.3 discussed on the authors blog:


 * Maps and Semantic Maps 0.3.3

New features

 * Added GeoNames geocoding support. This is an open source geocoding service, that does not require a licence. It has been made the default geocoding service.


 * Added wiki-text rendering to the values of the title and label parameters, allowing users to pass along links, images, and more.

Refactoring

 * Refactored some common functionality of the geocoder classes up to MapsBaseGeocoder.


 * Minor issue - the OpenLayers default zoom should be closer, when displaying one point - see the last map in the same page.

Bug fixes

 * Fixed small bug in MapsMapper::inParamAliases that caused the determination of the geoservice to fail in some cases, and set it to the default.

Maps 0.3.2
(2009-08-18)

Release for consistency. Only changes to Semantic Maps where made in 0.3.2.

Maps 0.3.1
(2009-08-18)

New features

 * Users can now define a default service for each feature - parser functions, query printers and form inputs.

Refactoring

 * Added check to see if the classes array is present in a mapping service info array.


 * Added check to see if a mapping service has handling for parser functions. In 0.3, Maps assumed it had, preventing the adding of mapping services that only have a form input or/and query printer.


 * The getValidService function now holds into account that not every service has support for both parser functions, query printers and form inputs.

Bug fixes

 * Added path to extension directory to non local class item in a service's info array, since adding the path is impossible in the declaration.

Maps 0.3
(2009-08-14)

Changes in 0.3 discussed on the authors blog:


 * Final changes for Maps and SM 0.3


 * New features in Maps and SM 0.3


 * Structural changes for Maps and SM 0.3

New features

 * Multi location parser functions. Two completely new parser functions have been added that allow the displaying of multiple points on a map.


 * Configurable map type controls. Users can now configure the map type controls of Google maps and Yahoo! maps maps. They can set the available map types, and the order they want them to be displayed in the map type control.


 * Property names now have aliases. This means you can add several alternative ways to name the same parameter, for instance, you can make so that ‘auto zoom’ and ‘auto-zoom’ will do excellently the same as the main parameter ‘autozoom’. This is particularly handy for parameters such as ‘centre’ (British spelling) and ‘center’ (American spelling).


 * Added Google Maps moon, Mars and sky support.


 * Controls on both Yahoo! Maps and Google Maps map can now be configured by the user with the controls parameter. Yahoo! Maps maps already have this option for a limited set of controls since version 0.2, but the amount of available controls has now been expanded to what the Yahoo! Maps API offers. For Google Maps the change is significantly larger, since a lot of new controls can now be added. These included an overview map, a scale line, a drop down menu for map types, an automated reverse geocoding location determiner and more.


 * Added the ability to specify separate title, label and icon values for each marker in the display_points and display_addresses parser functions.


 * Added user friendly notices for when geocoding of an address fails.


 * A whole list of OpenLayers base layers have been added. These include the satellite, street and hybrid views for Yahoo! Maps and Bing Maps, but also finally the OpenStreetMap layers.

Refactoring

 * Created hook system for the mapping services. All hard-coded references to mapping services in the core code have been removed. A service is now added by one multi dimensional array in Maps.php (note that this can also be done in the initialization file of another extension!), which holds the name of the parser functions class and it’s location, the aliases for the service name (feature added in 0.2), and their allowed specific parameters and their aliases. This architecture allows other people to create their own mapping extension using the Maps (and Semantic Maps) ‘API’.


 * Created a class that bundles common functionality from MapsBaseMap and SMFormInput.


 * Rewrote parts of the geocoder base class.


 * Added separated handling for default parameter for each mapping service.


 * Changed the requests in the geocoder classes to CURL requests to avoid security issues.


 * Moved common, parser function specific, functions and variables from MapsMapper to a new MapsParserFunctions class.


 * Moved common code within the mapping services out of the parser function class to a new utility classes.

Bug fixes

 * Fixed issue preventing the extension description from showing up in 0.2.1 & 0.2.2.


 * Fixed bug that caused Bing maps (for open layers) to not work.

Maps 0.2
(2009-07-29)

New features

 * Added Backward compatibility by using the $wgGoogleMapsKey when this one is set and $egGoogleMapsKey isn't.


 * Added hook for Admin Links.


 * Added a true aliasing system for service names.


 * Created a centre parameter, that will allow you to set a custom map centre (different from the place where the marker will be put).


 * Added pop-ups for the markers with title and label parameters to determine the pop-up contents.


 * Changed the OpenLayers control handling. Make it accept all (36) OL controls by using eval instead of a switch statement in the JavaScript.


 * Added the 'physical' button in the map type control of Google Maps maps when this map type is set.


 * Added Yahoo! geocoder support (for parser functions).

Refactoring

 * Refactored MapsBaseMap and all it's child classes. This will vastly increase code centralization and decrease redundant logic and definitions.


 * Did a major rewrite of the Google Maps and Yahoo! Maps code. The parser function classes now only print a call to a JS function with all needed parameters, which then does all the logic and creates the map.

Bug fixes

 * Fixed issue causing aliases for service names getting turned into the default service since they are not in the allowed services list.


 * Removed redundant parts of the OpenLayers library.

Maps 0.1
(2009-07-20)


 * Initial release, featuring Google Maps (+ Google Earth), Yahoo! Maps and OpenLayers mapping services.