estroy();
      });
    });
    /**
     * set events
     */
    for (var eventName in events) {
      google.maps.event.addDomListener(customControlEl, eventName, events[eventName]);
    }
    mapController.addObject('customControls', customControlEl);
    var position = options.position;
    mapController.map.controls[google.maps.ControlPosition[position]].push(customControlEl);
    element.bind('$destroy', function() {
      mapController.deleteObject('customControls', customControlEl);
    });
  };
  v