Daniel Werner has uploaded a new change for review. Change subject: Re-introduces custom image base layers for OpenLayers ......................................................................
Re-introduces custom image base layers for OpenLayers This was possible in some old version of Maps already but got broken a long time ago. This fixes all issues and re-introduces the feature to map. Custom layers have to be defined in a Layer namespace. All layers will be saved in the database, therefore running update.php is required for this to work. I will optimize some more and look at the database stuff, there could be some issues here. I originally wrote this for OpenLayers 1.1. but abandoned it for some months now, so it was not that simple merging it into the current master. Change-Id: Ife7975abdaec1f683ea09c419dc91c8016b6bab1 --- M Maps.hooks.php M Maps.i18n.php M Maps.php M Maps_Settings.php M includes/Maps_Layer.php A includes/Maps_LayerGroup.php M includes/Maps_LayerPage.php A includes/Maps_LayerTypes.php M includes/Maps_Layers.php A includes/criteria/CriterionIsNonNumeric.php M includes/criteria/CriterionMapLayer.php A includes/ext.maps.layers.css M includes/layers/Maps_ImageLayer.php M includes/layers/Maps_KMLLayer.php A includes/manipulations/Maps_ParamLayerDefinition.php A includes/manipulations/Maps_ParamSwitchIfGreaterThan.php A includes/parserhooks/Maps_LayerDefinition.php M includes/services/OpenLayers/CriterionOLLayer.php M includes/services/OpenLayers/Maps_OpenLayers.php M includes/services/OpenLayers/Maps_ParamOLLayers.php M includes/services/OpenLayers/jquery.openlayers.js A schema/MapsLayers.sql 22 files changed, 2,131 insertions(+), 531 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Maps refs/changes/30/28430/1 -- To view, visit https://gerrit.wikimedia.org/r/28430 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ife7975abdaec1f683ea09c419dc91c8016b6bab1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Maps Gerrit-Branch: danwe_custom-maps Gerrit-Owner: Daniel Werner <daniel.wer...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits