tags:

views:

40

answers:

1

Hi,

Using this Overlay extension i have a problem blocking my phone dev.:google.maps.OverlayView is not a constructor. Any solution in v3.

  MyOverlay.prototype = new google.maps.OverlayView();
  MyOverlay.prototype.onAdd = function() { };
  MyOverlay.prototype.onRemove = function() { };
  MyOverlay.prototype.draw = function() { };
  function MyOverlay(map){ this.setMap(map); }

How do I do this in Google Maps API v3?

A: 

Sorry,

Found the sol. Created outside the scoope.