Attention! Do you have any ideas for reorganizing and updating the Mapki? Please leave a note here. Thank you!

Talk:KMLMap

From Google Mapki

Jump to: navigation, search

Hi

I see some pb with this line :

       this.request.onreadystatechange = function(_this.handleEvent());

But i don't have solution, i don't understand corectly javascript.


For use with api v2, i presume we must convert this line :

           //api v1 
           //bounds = map.getBoundsLatLng();
           //api v2
           bounds = map.getBounds();

az

az, you're correct, as I understand it, the line should be:

this.request.onreadystatechange = function(){_this.handleEvent()};

Personal tools