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

OpenLayers trac-20090302 at openlayers.org
Fri Feb 25 10:12:55 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:            |       State:              
----------------------+-----------------------------------------------------
 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>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list