ViewController: refactor 'setScreenSize' to 'setViewSize', 'setMapScreenCenter' to 'setMapViewCenter' (#523)
This commit is contained in:
@@ -149,7 +149,7 @@ public class MapView extends GLSurfaceView {
|
||||
|
||||
if (!isInEditMode()) {
|
||||
if (width > 0 && height > 0)
|
||||
mMap.viewport().setScreenSize(width, height);
|
||||
mMap.viewport().setViewSize(width, height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user