public class PlacePointTool
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PlacePointTool.MarkerCreator |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
PlacePointTool() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
genCallsign(java.lang.String type)
Based on the CoT type that is passed in, the callsign will be
generated in a fashion that is consistent across all of the TAK
codebase.
|
static int |
getCount(java.lang.String prefix,
java.util.List<MapItem> items) |
static int |
getHighestNumbered(java.lang.String prefix,
java.util.List<MapItem> items) |
static void |
init(MapGroup usericonG,
MapGroup missionG,
MapGroup casevacG,
java.util.Map<java.lang.String,MapGroup> userG) |
static void |
updateCallsign(Marker marker) |
public static final java.lang.String TAG
public static void init(MapGroup usericonG, MapGroup missionG, MapGroup casevacG, java.util.Map<java.lang.String,MapGroup> userG)
public static int getCount(java.lang.String prefix, java.util.List<MapItem> items)
public static int getHighestNumbered(java.lang.String prefix, java.util.List<MapItem> items)
public static void updateCallsign(Marker marker)
public static java.lang.String genCallsign(java.lang.String type)
type
- if the type is null, it will use the device callsign.
otherwise it will inspect the type and use a designated string as
as the prefix.