File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ const double _naturalPixelRatio = 1.0;
55
55
/// a default marker icon.
56
56
/// Use the [BitmapDescriptor.defaultMarkerWithHue] to create a
57
57
/// [BitmapDescriptor] for a default marker icon with a hue value.
58
+ /// Use the [BitmapDescriptor.pinConfig] to create a custom icon for
59
+ /// [AdvancedMarker] .
58
60
abstract class BitmapDescriptor {
59
61
const BitmapDescriptor ._();
60
62
@@ -211,6 +213,9 @@ abstract class BitmapDescriptor {
211
213
/// Creates a BitmapDescriptor that refers to a colorization of the default
212
214
/// marker image. For convenience, there is a predefined set of hue values.
213
215
/// See e.g. [hueYellow] .
216
+ ///
217
+ /// Doesn't work with [AdvancedMarker] s, [BitmapDescriptor.pinConfig] should
218
+ /// be used instead.
214
219
static BitmapDescriptor defaultMarkerWithHue (double hue) {
215
220
assert (0.0 <= hue && hue < 360.0 );
216
221
return DefaultMarker (hue: hue);
You can’t perform that action at this time.
0 commit comments