[OpenLayers-Trac] [OpenLayers] #750: getExtent extended function for Layer.Markers

OpenLayers trac at openlayers.org
Tue Aug 21 09:22:09 EDT 2007


#750: getExtent extended function for Layer.Markers
----------------------------+-----------------------------------------------
  Reporter:  openlayers     |       Owner:  euzuro                     
      Type:  feature        |      Status:  new                        
  Priority:  minor          |   Milestone:                             
 Component:  Layer.Markers  |     Version:                             
Resolution:                 |    Keywords:  getextent functions markers
----------------------------+-----------------------------------------------
Comment (by openlayers):

 The idea is to get the max extend of the marker layer so you can zoom to
 it: map.zoomToExtent(markers.getExtent());

 Is it the right use of getExtend, is there another function to do it?

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


More information about the Trac mailing list