public class Icon extends Object
Marker
,
IconFactory
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Compares this icon object with another icon and determines if they match.
|
Bitmap |
getBitmap()
Get the bitmap being used for this icon.
|
String |
getId()
String identifier for this icon.
|
float |
getScale()
Get the icon bitmap scale.
|
int |
hashCode()
Gives an integer which can be used as the bucket number for storing elements of the set/map.
|
byte[] |
toBytes()
Get the icon bitmap bytes.
|
public String getId()
public Bitmap getBitmap()
public float getScale()
Requires the bitmap to be set before calling this method.
public byte[] toBytes()
Requires the bitmap to be set before calling this method.
public boolean equals(Object object)
public int hashCode()
© 2015–2018 Mapbox. All rights reserved.