Skip to main content

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 NameTypeDescription
coordinates@NonNullthe coordinates of the marker
image@NonNullthe image of the marker

Marker(@NonNull Coordinates coordinates, @NonNull String image, @Nullable String label)

Type: public

Create a Wemap Marker

Parameter NameTypeDescription
coordinates@NonNullthe coordinates of the marker
image@NonNullthe image of the marker
label@Nullablethe label of the marker

Marker(@Nullable String id, @NonNull Coordinates coordinates, @NonNull String image, @Nullable String label)

Type: public

Create a Wemap Marker

Parameter NameTypeDescription
id@Nullablethe unique marker id
coordinates@NonNullthe coordinates of the marker
image@NonNullthe image of the marker
label@Nullablethe label of the marker