Opened 14 years ago

Last modified 12 years ago

#501 new enhancement

Allow maps to use XYZ tile grid layers

Reported by: zoerb Owned by: josegar74
Priority: minor Milestone: v2.6.5
Component: Web Map Viewer Version: v2.6.3
Keywords: Cc:

Description

Right now, only WMS layers can be added to the maps. Attached is a patch which allows XYZ tile grids to be used as well. In config-gui.xml, if a type attribute equaling 'tile' is specified for the layer, that layer will be added as an OpenLayers.Layer.XYZ layer. It is backwards compatible, so if a layer has any other type attribute, or no type attribute at all, WMS will be used. Feel free to change whatever as you see fit. Might want to add an example tile grid layer to config-gui.xml?

Attachments (1)

tile-grid.diff (5.3 KB ) - added by zoerb 14 years ago.
Patch

Download all attachments as: .zip

Change History (2)

by zoerb, 14 years ago

Attachment: tile-grid.diff added

Patch

comment:1 by josegar74, 12 years ago

Owner: changed from geonetwork-devel@… to josegar74
Note: See TracTickets for help on using tickets.