Static Public Member Functions | |
static void | showCoordinatesOnMap (Position location, int zoom, int maxTime) throws GeneralException |
shows the given geo location on map More... | |
static void | showRectangleOnMap (Rectangle rect, int maxTime) throws GeneralException |
shows the given geo rectangle on map More... | |
static void | loadGeoFile (String name, String json, int maxTime) throws GeneralException |
loads the given geo layer and adds it on map as overlay More... | |
static void | unloadGeoFile (String name, int maxTime) throws GeneralException |
removes the given geo layer from map More... | |
static void | unloadGeoFiles (int maxTime) throws GeneralException |
removes all dynamically loaded geo layers from map More... | |
static void | switchMap (String loadPath, int maxTime) throws GeneralException |
Unloads current map and loads a new one. More... | |
|
static |
loads the given geo layer and adds it on map as overlay
name | sets a string identification for the given overlay |
json | string defining the geo layer using geo json standard format |
maxTime | Maximum time (in milliseconds) the function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
shows the given geo location on map
location | model.Position instance which contains the location which will be shown on map. |
zoom | Distance (in meters) form ground.Range of this parameter should be between 50 and 30000000. |
maxTime | Maximum time (in milliseconds) the function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
shows the given geo rectangle on map
rect | model.Rectangle instance which contains the rectangle to show on map. |
maxTime | Maximum time (in milliseconds) the function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
Unloads current map and loads a new one.
loadPath | Full path to maps folder. |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | GeneralException#getCode() |
References Api.getInstance(), and Api.getService().
|
static |
removes the given geo layer from map
name | the identification of the overlay |
maxTime | Maximum time (in milliseconds) the function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
removes all dynamically loaded geo layers from map
maxTime | Maximum time (in milliseconds) the function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().