public double getLongitudeSpan ( ) { if ( this . mapView . getWidth ( ) > 0 && this . mapView . getHeight ( ) > 0 ) { LatLong left = fromPixels ( 0 , 0 ) ; LatLong right = fromPixels ( this . mapView . getWidth ( ) , 0 ) ; return Math . abs ( left . longitude - right . longitude ) ; } throw new IllegalStateException ( INVALID_MAP_VIEW_DIMENSIONS ) ; }
Computes horizontal extend of the map view .