default Marker
Build an Icon using the SDK's built-in default pin (a teardrop marker in Woosmap brand blue).
Unlike Google Maps Android's parameterless defaultMarker(), this overload requires a Context because the SDK does not retain a global Application context. Pass the same Context you would pass to any other Icon factory.
val marker = Marker(LatLng(48.85, 2.35), Icon.defaultMarker(context))Content copied to clipboard
fun defaultMarker(context: Context, hue: Float, anchor: Point? = null, scaledSize: Size? = null): Icon
Build a hue-tinted variant of the SDK's built-in default pin.
The hue is interpreted as an HSV hue in degrees and clamped to [0f, 360f] (matching Google Maps Android's behaviour for out-of-range values). Float.NaN is rejected with IllegalArgumentException.
Tinting is applied via PorterDuffColorFilter(HSVToColor, SRC_IN), so the shape's transparent hole remains transparent.
// 210 ≈ azure
val marker = Marker(LatLng(48.85, 2.35), Icon.defaultMarker(context, 210f))Content copied to clipboard