public class Gis
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Gis.GeocodingFlags
Geocoding (getLocations) flags, SAG
|
static class |
Gis.GeocodingParams
Geocoding (getLocations) params, SAG
|
| Modifier and Type | Field and Description |
|---|---|
static Gis.GeocodingParams |
geocodingParams |
| Constructor and Description |
|---|
Gis() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getLevelFlags(int l1,
int l2,
int l3,
int l4,
int l5)
Calculate flags for geocodingParams based on levels of hierarchy addresses
f.e.:
Gis.getLevelFlags(wialon.util.Gis.geocodingFlags.level_houses,
Gis.geocodingFlags.level_streets, wialon.util.Gis.geocodingFlags.level_cities)
|
static void |
getLocations(java.lang.String coords,
ResponseHandler callback)
Detect location for text for coordinates using GurtamMaps
|
public static Gis.GeocodingParams geocodingParams
public static int getLevelFlags(int l1,
int l2,
int l3,
int l4,
int l5)
l1 - {Integer} - address element for level 1l2 - {Integer} - address element for level 2l3 - {Integer} - address element for level 3l4 - {Integer} - address element for level 4l5 - {Integer} - address element for level 5public static void getLocations(java.lang.String coords,
ResponseHandler callback)
coords - String of locations in form [{lat: Y, lon: X}]callback - callback function that is called after remote call: callback(code, locations), locations is array of strings same count as source array
all other parameters passed through in structure geocodingParams