I’ve created a map using google maps v3 api for GWT. I’m trying to present a kml over this map, but this is not possible because it is stored locally. So, I’m trying to use geoxml3 in order to parse my local kml.
I need the javascript code to be able to “see” the map I created using GWT. How can I do this?
I create the map using
map = GoogleMap.create(Document.get().getElementById(“map_canvas”), myOptions);
(map_canvas is a div in my html page)
I want to call a Javascript function in order to parse the KML file and present it on my map. I know how to call a JS function but I don’t know what to write in its body.,,
Here is coding basics of JSNI from GWT documentation. This definitely help you how to write body of the function.