[OpenLayers-Trac] Re: [OpenLayers] #2914: Respect layer projection if it equals the map projection

OpenLayers trac-20090302 at openlayers.org
Thu Nov 4 15:10:21 EDT 2010


#2914: Respect layer projection if it equals the map projection
-----------------------+----------------------------------------------------
 Reporter:  ahocevar   |       Owner:  ahocevar    
     Type:  feature    |      Status:  new         
 Priority:  minor      |   Milestone:  2.11 Release
Component:  Layer.WMS  |     Version:  2.10        
 Keywords:             |       State:  Commit      
-----------------------+----------------------------------------------------
Changes (by tschaub):

  * owner:  tschaub => ahocevar
  * status:  assigned => new
  * state:  Review => Commit


Comment:

 Two minor changes in my patch:
  * I changed the ; to a , in Projection.js to avoid setting the global
 equals.
  * I made it so window.Proj4js is deleted if it didn't exist before in the
 Projection.js test so other tests running after it aren't fooled.

 I think this looks like a very solid solution to handling projections with
 different aliases.  Thanks for the great patch.

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


More information about the Trac mailing list