[OpenLayers-Trac] Re: [OpenLayers] #3126: Rotate the map using the compass

OpenLayers trac-20090302 at openlayers.org
Mon Feb 28 04:18:29 EST 2011


#3126: Rotate the map using the compass
----------------------+-----------------------------------------------------
 Reporter:  sbrunner  |       Owner:  sbrunner       
     Type:  feature   |      Status:  new            
 Priority:  minor     |   Milestone:  2.11 Release   
Component:  general   |     Version:  2.10           
 Keywords:  mobile    |       State:  Needs More Work
----------------------+-----------------------------------------------------
Changes (by sbrunner):

  * keywords:  => mobile
  * state:  => Needs More Work


Comment:

 Well formated description:

 Allows the map to rotate with the phone orientation.

 What should be done:
  * add get/setRotation on the Map.
  * on the Layer change the methods getViewPortPxFromLonLat and
 getLonLatFromViewPortPx using the rotation.
  * get the missing tiles
  * on single tile get a bigger tile
  * on vector layer symbols and label should have the right orientation
  * unit test

 to test
  * zoom by wheel
  * zoom by dbl click
  * drag pan should work
  * pan controller should work
  * mouse position
  * ...

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


More information about the Trac mailing list