rename getViewport/Animator/Layer() to viewport/animator/layers()

- these are composite parts of Map
This commit is contained in:
Hannes Janetzek
2014-02-08 17:38:34 +01:00
parent 5ef8026ac4
commit c64eb9aa88
20 changed files with 51 additions and 45 deletions

View File

@@ -47,7 +47,7 @@ public class PathOverlayActivity extends BitmapTileMapActivity {
PathLayer pathLayer = new PathLayer(mMap, c, 3);
pathLayer.setPoints(pts);
mMap.getLayers().add(pathLayer);
mMap.layers().add(pathLayer);
}
for (double lat = -90; lat <= 90; lat += 5) {
@@ -61,7 +61,7 @@ public class PathOverlayActivity extends BitmapTileMapActivity {
PathLayer pathLayer = new PathLayer(mMap, c, 3);
pathLayer.setPoints(pts);
mMap.getLayers().add(pathLayer);
mMap.layers().add(pathLayer);
}
mMap.setMapPosition(0, 0, 1);