My app loads GoogleMapsApi asynchronously. A class inherits from 
google.maps.OverlayView():

function ProjectionHelperOverlay(map) {
    this.setMap(map);
    initializeSomeVariables;

}

ProjectionHelperOverlay.prototype = new google.maps.OverlayView();

When I run the app I got the error:

this.setMap(map) is not a  function.

When I load GoogleMapsApi synchronously the app works with no error.

Anyone experienced the same error?
Is there any solution?


-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

Reply via email to