set Pois Color
Set a group of poi colors in one call.
Notes
The color update is batched. The map will be non-responsive while the surface colors are being set. Applies to: - static pois - dynamic pois
Return
true if all poi colors were updated, otherwise false.
Since
1.15
Map<String></String>, Integer> lPoiToColor = new HashMap<>();
@ColorInt int lRedColor = Color.RED;
Integer lIntegerColor = Integer.valueOf(lRedColor);
lPoiToColor.put("B1-UL0-001", lIntegerColor);
lPoiToColor.put("B1-UL0-002", lIntegerColor);
mapController.setPoiColor(lPoiToColor);
Content copied to clipboard
Parameters
poi IDTo Color
A map of poiIDs to colors. Colors should be ColorInt wrapped in Integer types.