Marker
Marker
Type: public
class
A class that defines a map marker
Marker(@NonNull Coordinates coordinates, @NonNull String image)
Type: public
Create a Wemap Marker
Parameter Name | Type | Description |
---|---|---|
coordinates | @NonNull | the coordinates of the marker |
image | @NonNull | the image of the marker |
Marker(@NonNull Coordinates coordinates, @NonNull String image, @Nullable String label)
Type: public
Create a Wemap Marker
Parameter Name | Type | Description |
---|---|---|
coordinates | @NonNull | the coordinates of the marker |
image | @NonNull | the image of the marker |
label | @Nullable | the label of the marker |
Marker(@NonNull Coordinates coordinates, @NonNull String image, @Nullable String label, @Nullable String anchor)
Type: public
Create a Wemap Marker
Parameter Name | Type | Description |
---|---|---|
coordinates | @NonNull | the coordinates of the marker |
image | @NonNull | the image of the marker |
label | @Nullable | the label of the marker |
anchor | @Nullable | the anchor of the marker (top, bottom, left, right, top-left, top-right, bottom-left or bottom-right) |
Marker(@Nullable String id, @NonNull Coordinates coordinates, @NonNull String image, @Nullable String label, @Nullable String anchor)
Type: public
Create a Wemap Marker
Parameter Name | Type | Description |
---|---|---|
id | @Nullable | the unique marker id |
coordinates | @NonNull | the coordinates of the marker |
image | @NonNull | the image of the marker |
label | @Nullable | the label of the marker |
anchor | @Nullable | the anchor of the marker (top, bottom, left, right, top-left, top-right, bottom-left or bottom-right) |