make docstring and type consistent

This commit is contained in:
Sven Kreiss
2017-11-09 13:04:55 -05:00
parent 90ecffab09
commit 1cd172921d

View File

@@ -2697,7 +2697,7 @@ declare namespace google.maps {
* Accepted values are 'marker', 'polygon', 'polyline', 'rectangle', 'circle', or null. A drawing mode
* of null means that the user can interact with the map as normal, and clicks do not draw anything.
*/
drawingMode?: OverlayType;
drawingMode?: OverlayType | null;
/**
* The Map to which the DrawingManager is attached, which is the Map on which the overlays created
* will be placed.