public class GLMapInfo
extends java.lang.Object
GLMapInfo is information object about an offline map.
Presents information and state of an offline map. Name, position, size and state of a map.| Modifier and Type | Class and Description |
|---|---|
static interface |
GLMapInfo.DataSet |
static interface |
GLMapInfo.DataSetMask |
static interface |
GLMapInfo.State |
static interface |
com.glmapview.GLNativeObject.Type |
| Modifier and Type | Method and Description |
|---|---|
int |
dataSetsWithState(int state)
Checks states of all data sets.
|
void |
dispose() |
boolean |
equals(java.lang.Object other) |
double |
getLat() |
java.lang.String |
getLocalizedName(GLMapLocaleSettings localeSettings)
Return name of a map for given locale settings.
|
double |
getLon() |
long |
getMapID() |
GLMapInfo[] |
getMaps() |
long |
getSizeOnDisk(int dataSetMask) |
long |
getSizeOnServer(int dataSetMask) |
int |
getState(int dataSet) |
int |
hashCode() |
boolean |
haveState(int state,
int dataSetMask)
Check states in all data sets in `sets` mask.
|
boolean |
isCollection()
Map collection is created for big countries and contains regions maps.
|
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isCollection()
Also, there are collections for parts of the world with lot of small countries, like Oceania and Carribean.
getMaps()public GLMapInfo[] getMaps()
isCollection()public java.lang.String getLocalizedName(GLMapLocaleSettings localeSettings)
localeSettings - Locale settings that define priority of localizationspublic long getMapID()
public double getLon()
public double getLat()
public int getState(int dataSet)
dataSet - data setpublic boolean haveState(int state,
int dataSetMask)
state - State to checkdataSetMask - Data set maskpublic int dataSetsWithState(int state)
state - State to checkpublic long getSizeOnServer(int dataSetMask)
dataSetMask - data set maskpublic long getSizeOnDisk(int dataSetMask)
dataSetMask - data set maskpublic void dispose()
Copyright © 2018 GetYourMap. All Rights Reserved.