Found in Release:gwt-google-apis-gwt-map-3-8-0-pre release 1
Platform information (OS, Browser, GWT version). Does the issue exist on
other platforms? This issue is platform independant to the best of my knowlede
and limited testing.
Give a Detailed description of the problem. If possible, please include
some code that reproduces the problem and a verbatim copy of any error
messages you can find.
LatLng myLatLng = LatLng.create(39.571993, -104.998184);
MapOptions myOptions = MapOptions.create();
myOptions.setZoom(16.5);
myOptions.setCenter(myLatLng);
myOptions.setMapTypeId(MapTypeId.SATELLITE);
//com.google.gwt.dom.client.Element mapDiv = Document.get().getElementById("map_canvas");
RootPanel root = RootPanel.get("MAP1_NetworkMapContainer");
//HTMLPanel mapPanel = HTMLPanel.wrap(mapDiv);
//mapPanel.setHeight("100%");
//map = GoogleMap.create(mapPanel.getElement(), options);
try {
root.add(mapPanel);
} catch (Exception e) {
Log.error("Received Exception ", e);
String error = e.toString();
}
Workaround if you have one: none found. any attempt to attach the div generates
the exception.
Links to the relevant Google Group posts:
http://stackoverflow.com/questions/12489880/gwt-google-apis-gwt-map-3-8-0-pre-th
rows-javascriptexception-map-is-not-define
Original issue reported on code.google.com by rtr...@gmail.com on 2 Oct 2012 at 9:31
Original issue reported on code.google.com by
rtr...@gmail.com
on 2 Oct 2012 at 9:31