001 package com.google.gwt.maps.client.interfaces; 002 003 import com.google.gwt.maps.client.MapWidget; 004 005 public interface HasMapWidget { 006 007 /** 008 * Get the map on which the overlay is rendered. 009 * @return NULL if overlay not displayed on a map 010 */ 011 public MapWidget getMap(); 012 013 /** 014 * Renders the overlay on the specified map.<br> 015 * If map is set to null, the overlay is removed. 016 * @param mapWidget 017 */ 018 public void setMap(MapWidget mapWidget); 019 020 }