Modifier and Type | Field and Description |
---|---|
GridPoint |
CameraPosition.target
Grid reference for the centre of the displayed map
|
Modifier and Type | Method and Description |
---|---|
GridPoint |
GridRect.center()
Returns a
GridPoint corresponding to the approximate center (may allocate an object). |
GridPoint |
CircleOptions.getCenter()
Returns the center as a
GridPoint |
GridPoint |
Circle.getCenter()
Returns the center as a
GridPoint |
GridPoint |
MarkerOptions.getGridPoint() |
GridPoint |
Marker.getGridPoint()
Returns the position of the marker.
|
GridPoint |
OSMap.getMyGridPoint()
Convenience method to get current user location as a
GridPoint |
GridPoint |
Placemark.getPosition() |
GridPoint |
GridRect.ne()
Returns a
GridPoint corresponding to the NE corner (may allocate an object). |
GridPoint |
GridRect.nw()
Returns a
GridPoint corresponding to the NW corner (may allocate an object). |
GridPoint |
GridRect.se()
Returns a
GridPoint corresponding to the SE corner (may allocate an object). |
GridPoint |
GridRect.sw()
Returns a
GridPoint corresponding to the SW corner (may allocate an object). |
abstract GridPoint |
MapProjection.toGridPoint(double latitude,
double longitude)
Converts a WGS84 latitude/longitude to the corresponding GridPoint.
|
Modifier and Type | Method and Description |
---|---|
PolylineOptions |
PolylineOptions.add(GridPoint... points) |
PolygonOptions |
PolygonOptions.add(GridPoint... points) |
PolylineOptions |
PolylineOptions.add(GridPoint gp) |
PolygonOptions |
PolygonOptions.add(GridPoint gp) |
CircleOptions |
CircleOptions.center(GridPoint center)
Sets the center using a
GridPoint . |
abstract void |
MapProjection.fromGridPoint(GridPoint gp,
double[] latLngOut)
Converts a GridPoint to the corresponding WGS84 latitude/longitude.
|
MarkerOptions |
MarkerOptions.gridPoint(GridPoint gp)
Sets the location for the marker.
|
GridRectBuilder |
GridRectBuilder.include(GridPoint p) |
boolean |
OSMap.OnMapClickListener.onMapClick(GridPoint gp)
Called when the user makes a tap gesture on the map, but only if none of the overlays of the map handled the gesture.
|
void |
OSMap.OnMapLongClickListener.onMapLongClick(GridPoint gp)
Called when the user makes a long-press gesture on the map, but only if none of the overlays of the map handled the gesture.
|
void |
OSMap.OnMyLocationChangeListener.onMyLocationChange(GridPoint location)
Called when the Location of the My Location dot has changed (be it gridpoint or accuracy).
|
void |
Circle.setCenter(GridPoint center)
Sets the center using a
GridPoint . |
void |
Marker.setGridPoint(GridPoint gp) |
Modifier and Type | Method and Description |
---|---|
PolylineOptions |
PolylineOptions.addAll(Iterable<GridPoint> points) |
PolygonOptions |
PolygonOptions.addAll(Iterable<GridPoint> points) |
Constructor and Description |
---|
CameraPosition(GridPoint target,
float zoom)
Constructs a CameraPosition
|
Copyright © 2012–2013 Ordnance Survey. All rights reserved.