Skip navigation links
Mapbox Android Services SDK 2.1.0 Reference
A B C D F G H L M P R S T 

A

addBooleanProperty(String, Boolean) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to add a Boolean member.
addCharacterProperty(String, Character) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to add a Character member.
addNumberProperty(String, Number) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to add a Number member.
addProperty(String, JsonElement) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to add a JsonElement member.
addStringProperty(String, String) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to add a String member.

B

BaseFeatureCollection - Class in com.mapbox.services.commons.geojson
Shared by FeatureCollection and CarmenFeatureCollection
BaseFeatureCollection() - Constructor for class com.mapbox.services.commons.geojson.BaseFeatureCollection
 

C

com.mapbox.services.commons.geojson - package com.mapbox.services.commons.geojson
Contains the Mapbox Java GeoJSON classes.
com.mapbox.services.commons.geojson.custom - package com.mapbox.services.commons.geojson.custom
Contains the Mapbox Java Services classes.

D

deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.mapbox.services.commons.geojson.custom.GeometryDeserializer
Required to handle the "Unable to invoke no-args constructor for interface Geometry error that Gson shows when trying to deserialize a list of Geometry.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.mapbox.services.commons.geojson.custom.PositionDeserializer
Required to handle the "Expected BEGIN_OBJECT but was BEGIN_ARRAY" error that Gson would show otherwise.

F

Feature - Class in com.mapbox.services.commons.geojson
A GeoJSON object with the type "Feature" is a feature object.
Feature(Geometry, JsonObject, String) - Constructor for class com.mapbox.services.commons.geojson.Feature
Private constructor.
FeatureCollection - Class in com.mapbox.services.commons.geojson
A GeoJSON object with the type "FeatureCollection" is a feature object which represents a collection of feature objects.
FeatureCollection(List<Feature>) - Constructor for class com.mapbox.services.commons.geojson.FeatureCollection
Protected constructor.
fromCoordinates(List<Position>) - Static method in class com.mapbox.services.commons.geojson.LineString
creates a LineString from a list of coordinates.
fromCoordinates(double[][]) - Static method in class com.mapbox.services.commons.geojson.LineString
 
fromCoordinates(List<List<Position>>) - Static method in class com.mapbox.services.commons.geojson.MultiLineString
Creates a MultiLineString from a list of coordinates.
fromCoordinates(double[][][]) - Static method in class com.mapbox.services.commons.geojson.MultiLineString
 
fromCoordinates(List<Position>) - Static method in class com.mapbox.services.commons.geojson.MultiPoint
Creates a MultiPoint from a list of coordinates.
fromCoordinates(double[][]) - Static method in class com.mapbox.services.commons.geojson.MultiPoint
 
fromCoordinates(List<List<List<Position>>>) - Static method in class com.mapbox.services.commons.geojson.MultiPolygon
Creates a MultiPolygon from a list of coordinates.
fromCoordinates(double[][][][]) - Static method in class com.mapbox.services.commons.geojson.MultiPolygon
 
fromCoordinates(Position) - Static method in class com.mapbox.services.commons.geojson.Point
Creates a Point from a given coordinate.
fromCoordinates(double[]) - Static method in class com.mapbox.services.commons.geojson.Point
 
fromCoordinates(List<List<Position>>) - Static method in class com.mapbox.services.commons.geojson.Polygon
Creates a Polygon from a list of coordinates.
fromCoordinates(double[][][]) - Static method in class com.mapbox.services.commons.geojson.Polygon
 
fromFeatures(List<Feature>) - Static method in class com.mapbox.services.commons.geojson.FeatureCollection
Create a FeatureCollection from a List of features.
fromFeatures(Feature[]) - Static method in class com.mapbox.services.commons.geojson.FeatureCollection
 
fromGeometries(List<Geometry>) - Static method in class com.mapbox.services.commons.geojson.GeometryCollection
Create a GeometryCollection from a List of geometries.
fromGeometry(Geometry) - Static method in class com.mapbox.services.commons.geojson.Feature
Create a feature from geometry.
fromGeometry(Geometry, JsonObject) - Static method in class com.mapbox.services.commons.geojson.Feature
Create a feature from geometry.
fromGeometry(Geometry, JsonObject, String) - Static method in class com.mapbox.services.commons.geojson.Feature
Create a feature from geometry.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.BaseFeatureCollection
Create a GeoJSON feature collection object from JSON.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.Feature
Create a GeoJSON feature object from JSON.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.GeometryCollection
Create a GeoJSON geometry collection object from JSON.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.LineString
Create a GeoJSON LineString object from JSON.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.MultiLineString
Create a GeoJSON MultiLineString object from JSON.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.MultiPoint
Create a GeoJSON MultiPoint object from JSON.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.MultiPolygon
Create a GeoJSON MultiPolygon object from JSON.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.Point
Create a GeoJSON Point object from JSON.
fromJson(String) - Static method in class com.mapbox.services.commons.geojson.Polygon
Create a GeoJSON Polygon object from JSON.
fromPolyline(String, int) - Static method in class com.mapbox.services.commons.geojson.LineString
Convert a polyline into a LineString.

G

GeoJSON - Interface in com.mapbox.services.commons.geojson
Interface implemented by all GeoJSON objects, contains common fields.
Geometry<T> - Interface in com.mapbox.services.commons.geojson
Interface implemented by all Geometry objects, contains common fields.
GeometryCollection - Class in com.mapbox.services.commons.geojson
A GeoJSON object with the type "GeometryCollection" is a geometry object which represents a collection of geometry objects.
GeometryCollection(List<Geometry>) - Constructor for class com.mapbox.services.commons.geojson.GeometryCollection
Private constructor.
GeometryDeserializer - Class in com.mapbox.services.commons.geojson.custom
Required to handle the "Unable to invoke no-args constructor for interface Geometry error that Gson shows when trying to deserialize a list of Geometry.
GeometryDeserializer() - Constructor for class com.mapbox.services.commons.geojson.custom.GeometryDeserializer
 
getBooleanProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to get a Boolean member.
getCharacterProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to get a Character member.
getCoordinates() - Method in interface com.mapbox.services.commons.geojson.Geometry
 
getCoordinates() - Method in class com.mapbox.services.commons.geojson.LineString
Get the list of Position making up the LineString.
getCoordinates() - Method in class com.mapbox.services.commons.geojson.MultiLineString
Get the list of Position making up the MultiLineString.
getCoordinates() - Method in class com.mapbox.services.commons.geojson.MultiPoint
Get the list of Position making up the MultiPoint.
getCoordinates() - Method in class com.mapbox.services.commons.geojson.MultiPolygon
Get the list of Position making up the MultiPolygon.
getCoordinates() - Method in class com.mapbox.services.commons.geojson.Point
Get the Position making up the Point.
getCoordinates() - Method in class com.mapbox.services.commons.geojson.Polygon
Get the list of Position making up the Polygon.
getFeatures() - Method in class com.mapbox.services.commons.geojson.FeatureCollection
Get the List containing all the features within collection.
getGeometries() - Method in class com.mapbox.services.commons.geojson.GeometryCollection
Get the List containing all the geometries within collection.
getGeometry() - Method in class com.mapbox.services.commons.geojson.Feature
Get the features Geometry.
getId() - Method in class com.mapbox.services.commons.geojson.Feature
The optional, common identifier of this feature.
getNumberProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to get a Number member.
getProperties() - Method in class com.mapbox.services.commons.geojson.Feature
Returns the optional properties of this feature as JSON.
getProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to get a JsonElement member.
getStringProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to get a String member.
getType() - Method in class com.mapbox.services.commons.geojson.BaseFeatureCollection
Should always be "FeatureCollection".
getType() - Method in class com.mapbox.services.commons.geojson.Feature
Should always be "Feature".
getType() - Method in interface com.mapbox.services.commons.geojson.GeoJSON
 
getType() - Method in class com.mapbox.services.commons.geojson.GeometryCollection
Should always be "GeometryCollection".
getType() - Method in class com.mapbox.services.commons.geojson.LineString
Should always be "LineString".
getType() - Method in class com.mapbox.services.commons.geojson.MultiLineString
Should always be "MultiLineString".
getType() - Method in class com.mapbox.services.commons.geojson.MultiPoint
Should always be "MultiPoint".
getType() - Method in class com.mapbox.services.commons.geojson.MultiPolygon
Should always be "MultiPolygon".
getType() - Method in class com.mapbox.services.commons.geojson.Point
Should always be "Point".
getType() - Method in class com.mapbox.services.commons.geojson.Polygon
Should always be "Polygon".

H

hasNonNullValueForProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to check for a member by name as well as non-null value.
hasProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
Convenience method to check if a member with the specified name is present in this object.

L

LineString - Class in com.mapbox.services.commons.geojson
A LineString is a type of Geometry.

M

MultiLineString - Class in com.mapbox.services.commons.geojson
A MultiLineString is a type of Geometry.
MultiPoint - Class in com.mapbox.services.commons.geojson
A MultiPoint is a type of Geometry.
MultiPolygon - Class in com.mapbox.services.commons.geojson
A MultiPolygon is a type of Geometry.

P

Point - Class in com.mapbox.services.commons.geojson
A Point is a type of Geometry.
Polygon - Class in com.mapbox.services.commons.geojson
A Polygon is a type of Geometry.
PositionDeserializer - Class in com.mapbox.services.commons.geojson.custom
Required to handle the "Expected BEGIN_OBJECT but was BEGIN_ARRAY" error that Gson would show otherwise.
PositionDeserializer() - Constructor for class com.mapbox.services.commons.geojson.custom.PositionDeserializer
 
PositionSerializer - Class in com.mapbox.services.commons.geojson.custom
Required to handle the special case where the altitude might be a Double.NaN, which isn't a valid double value as per JSON specification.
PositionSerializer() - Constructor for class com.mapbox.services.commons.geojson.custom.PositionSerializer
 

R

removeProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
Removes the property from the object properties

S

serialize(Position, Type, JsonSerializationContext) - Method in class com.mapbox.services.commons.geojson.custom.PositionSerializer
Required to handle the special case where the altitude might be a Double.NaN, which isn't a valid double value as per JSON specification.
setCoordinates(T) - Method in interface com.mapbox.services.commons.geojson.Geometry
 
setCoordinates(List<Position>) - Method in class com.mapbox.services.commons.geojson.LineString
 
setCoordinates(List<List<Position>>) - Method in class com.mapbox.services.commons.geojson.MultiLineString
 
setCoordinates(List<Position>) - Method in class com.mapbox.services.commons.geojson.MultiPoint
 
setCoordinates(List<List<List<Position>>>) - Method in class com.mapbox.services.commons.geojson.MultiPolygon
 
setCoordinates(Position) - Method in class com.mapbox.services.commons.geojson.Point
 
setCoordinates(List<List<Position>>) - Method in class com.mapbox.services.commons.geojson.Polygon
 
setGeometry(Geometry) - Method in class com.mapbox.services.commons.geojson.Feature
 
setId(String) - Method in class com.mapbox.services.commons.geojson.Feature
 
setProperties(JsonObject) - Method in class com.mapbox.services.commons.geojson.Feature
 

T

toJson() - Method in class com.mapbox.services.commons.geojson.BaseFeatureCollection
Convert feature collection into JSON.
toJson() - Method in class com.mapbox.services.commons.geojson.Feature
Convert feature into JSON.
toJson() - Method in interface com.mapbox.services.commons.geojson.GeoJSON
 
toJson() - Method in class com.mapbox.services.commons.geojson.GeometryCollection
Convert geometry collection into JSON.
toJson() - Method in class com.mapbox.services.commons.geojson.LineString
Convert feature into JSON.
toJson() - Method in class com.mapbox.services.commons.geojson.MultiLineString
Convert feature into JSON.
toJson() - Method in class com.mapbox.services.commons.geojson.MultiPoint
Convert feature into JSON.
toJson() - Method in class com.mapbox.services.commons.geojson.MultiPolygon
Convert feature into JSON.
toJson() - Method in class com.mapbox.services.commons.geojson.Point
Convert feature into JSON.
toJson() - Method in class com.mapbox.services.commons.geojson.Polygon
Convert feature into JSON.
toPolyline(int) - Method in class com.mapbox.services.commons.geojson.LineString
Convert the sequence of coordinates into an encoded path string.
A B C D F G H L M P R S T 
Skip navigation links
Mapbox Android Services SDK 2.1.0 Reference

© 2015–2016 Mapbox. All rights reserved.