Open ukuester opened 10 years ago
Reported last year #57 and fixed.
See the source
public final void setDrawingMode(OverlayType drawingMode) {
String value = (drawingMode != null) ? drawingMode.value() : null;
setDrawingModeImpl(value);
}
Please confirm what version you're compiling against as this should already be fixed in the latest versions.
The error persists, I use 3.10.0-alpha-7
Thanks for the great work on the Google Maps V3 GWT bindings! I'm finally migrating some applications of mine to V3 and have encountered an issue.
According to its javadoc, the DrawingManager's setDrawingMode method explicitly allows passing null as a parameter value to disable drawing. However, if you do so, the implementation throws a NPE for obvious reasons. Is it a defect or is there a misconception on my side?