public class GLMapInfo
extends java.lang.Object
Presents information and state of an offline map. Name, position, size and state of map.
| Modifier and Type | Class and Description |
|---|---|
static class |
GLMapInfo.State |
static interface |
com.glmapview.GLNativeObject.Type |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFiles()
Delete all files associated with this map.
|
void |
dispose() |
boolean |
equals(java.lang.Object other) |
float |
getDownloadProgress() |
double |
getLat() |
java.lang.String |
getLocalizedName(GLMapLocaleSettings localeSettings)
Return name of map for given locale settings.
|
double |
getLon() |
long |
getMapID() |
GLMapInfo[] |
getMaps() |
long |
getSize() |
long |
getSizeOnDisk() |
GLMapInfo.State |
getState() |
int |
hashCode() |
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 GLMapInfo.State getState()
public boolean isCollection()
Also there is collections for parts of the world with lots 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 long getSize()
public long getSizeOnDisk()
public float getDownloadProgress()
public void deleteFiles()
public void dispose()
Copyright © 2017 GetYourMap. All Rights Reserved.