public class Icon2525cIconAdapter extends java.lang.Object implements IconAdapter
Constructor and Description |
---|
Icon2525cIconAdapter(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
boolean |
adapt(Marker marker)
Return true if the icon was adapter for the specified marker
|
static void |
addAdapter(IconAdapter adapter)
Register in a more capable 2525 icon adapter to be used as a higher priority than the
current 2525 adapter.
|
void |
dispose() |
java.lang.String |
lookupFromFilter(Marker m)
Given a marker, will lookup the assetPath for the icon.
|
static void |
removeAdapter(IconAdapter adapter)
Removes an adapter previously registered by the call to addAdapter
|
static int |
teamToColor(java.lang.String name) |
public Icon2525cIconAdapter(android.content.Context context)
public static void addAdapter(IconAdapter adapter)
adapter
- the custom adapter which would further augment the current 2525c
capability.public static void removeAdapter(IconAdapter adapter)
adapter
- the custom adapter which would further augment the current 2525c
capability.public void dispose()
dispose
in interface IconAdapter
public java.lang.String lookupFromFilter(Marker m)
public static int teamToColor(java.lang.String name)
public boolean adapt(Marker marker)
IconAdapter
adapt
in interface IconAdapter
marker
- the marker in which to adapt