Example usage for com.google.gwt.maps.client.overlays InfoWindow close

List of usage examples for com.google.gwt.maps.client.overlays InfoWindow close

Introduction

In this page you can find the example usage for com.google.gwt.maps.client.overlays InfoWindow close.

Prototype

public final native void close() ;

Source Link

Document

Closes this InfoWindow by removing it from the DOM structure.

Usage

From source file:org.rebioma.client.MapView.java

License:Apache License

private void closeInfoWindows() {
    for (InfoWindow w : infoWindows) {
        if (w != null) {
            w.close();
        }//from ww w  . j av  a2  s . c  om
    }
    infoWindows.clear();
}