Example usage for com.google.gwt.maps.client.layers KmlLayerOptions newInstance

List of usage examples for com.google.gwt.maps.client.layers KmlLayerOptions newInstance

Introduction

In this page you can find the example usage for com.google.gwt.maps.client.layers KmlLayerOptions newInstance.

Prototype

public static final KmlLayerOptions newInstance() 

Source Link

Document

This object defines the properties that can be set on a KmlLayer object.

Usage

From source file:org.wannatrak.client.MapController.java

License:Apache License

public MapController(Mediator mediator, MapWidget mapWidget) {
    this.mediator = mediator;
    this.mapWidget = mapWidget;

    options = KmlLayerOptions.newInstance();
    options.setPreserveViewport(true);//from   ww w.  j  av  a 2  s .  c o m

    layers = new HashMap<Long, KmlLayer>();
}