public class LatLngSpan extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<LatLngSpan> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
LatLngSpan(double latitudeSpan,
double longitudeSpan)
Creates a LatLgnSpan.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
double |
getLatitudeSpan()
Returns the latitude span.
|
double |
getLongitudeSpan()
Returns to longitude span.
|
void |
setLatitudeSpan(double latitudeSpan)
Sets the latitude span.
|
void |
setLongitudeSpan(double longitudeSpan)
Sets the longitude span.
|
void |
writeToParcel(Parcel out,
int arg1) |
public static final Parcelable.Creator<LatLngSpan> CREATOR
public LatLngSpan(double latitudeSpan, double longitudeSpan)
latitudeSpan
- The span used for latitude.longitudeSpan
- The span used for longitude.public double getLatitudeSpan()
public void setLatitudeSpan(double latitudeSpan)
latitudeSpan
- The latitude span to set.public double getLongitudeSpan()
public void setLongitudeSpan(double longitudeSpan)
longitudeSpan
- The longitude span to set.public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel out, int arg1)
writeToParcel
in interface Parcelable
© 2015–2017 Mapbox. All rights reserved.