[OpenLayers-Trac] [OpenLayers] #1035: OpenLayers.Projection class, methods for accessing via Map

OpenLayers trac at openlayers.org
Mon Oct 22 11:37:37 EDT 2007


#1035: OpenLayers.Projection class, methods for accessing via Map
------------------------+---------------------------------------------------
  Reporter:  crschmidt  |       Owner:             
      Type:  feature    |      Status:  new        
  Priority:  major      |   Milestone:  2.6 Release
 Component:  general    |     Version:  SVN        
Resolution:             |    Keywords:  review     
------------------------+---------------------------------------------------
Comment (by tschaub):

 The change in functionality here is that you used to be able to do:

 {{{
 var layer = new Constructor(args);
 map.addLayer(layer);
 layer.projection = "foo";
 }}}

 Now, if you are setting the projection property of a layer to a string,
 you have to do so *before* it is added to a map.

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


More information about the Trac mailing list