Owd-Larrd / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Calling getCurrentMapType on a MapWidget instance causes problems with MapType.getNormalMap() #435

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Windows XP SP2 - Google Chrome - GWT 2.0.3
ubuntu 10.04 - Firefox - GWT 2.0.3

If a call is made to getCurrentMapType on a MapWidget instance before a call to 
MapType.getNormalMap() is made, any subsequent calls to MapType.getNormalMap() 
result in an exception.

Trivial example 

MapWidget map = MapWidget.getInstance();
map.getCurrentMapType();
MapType.getNormalMap();

Workaround

MapWidget map = MapWidget.getInstance();
MapType.getNormalMap();
map.getCurrentMapType();

Original issue reported on code.google.com by chris.pe...@gmail.com on 8 Dec 2010 at 2:05

GoogleCodeExporter commented 9 years ago
Maps v2 API has been deprecated

Original comment by zundel@google.com on 28 Oct 2011 at 4:22