[OpenLayers-Trac] Re: [OpenLayers] #3044: use ResourceURL

OpenLayers trac-20090302 at openlayers.org
Sat Oct 29 11:15:51 EDT 2011


#3044: use ResourceURL
------------------------+---------------------------------------------------
 Reporter:  fredj       |       Owner:              
     Type:  feature     |      Status:  new         
 Priority:  minor       |   Milestone:  2.12 Release
Component:  Layer.WMTS  |     Version:  2.10        
 Keywords:              |       State:  Review      
------------------------+---------------------------------------------------
Changes (by ahocevar):

  * state:  Needs More Work => Review


Comment:

 @fredj: I uploaded a new patch which handles the dimensions. I also don't
 see a need to introduce a new property ({{{resourceUrl}}}). To be more in
 line with the XYZ layer, we can use the {{{url}}} property and check if it
 is a template url or a fixed one.

 My patch also passes the template from the capabilities to a layer created
 with Format.WMTSCapabilities::createLayer.

 Tests pass in Safari5.1. Thanks for any review.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3044#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list