Example usage for com.google.gwt.maps.client.overlay EncodedPolyline setZoomFactor

List of usage examples for com.google.gwt.maps.client.overlay EncodedPolyline setZoomFactor

Introduction

In this page you can find the example usage for com.google.gwt.maps.client.overlay EncodedPolyline setZoomFactor.

Prototype

public final native void setZoomFactor(int zoomFactorIn) ;

Source Link

Document

Sets the magnification between adjacent sets of zoom levels in the encoded levels string.

Usage

From source file:org.onebusaway.webapp.gwt.oba_library.model.TimedPolygonModel.java

License:Apache License

private EncodedPolyline createPolyline(EncodedPolylineBean outer) {
    EncodedPolyline ep = EncodedPolyline.newInstance();
    ep.setPoints(outer.getPoints());//  w ww  .  j  a v a  2s  .c  o m

    ep.setLevels(outer.getLevels(3));
    ep.setZoomFactor(32);
    ep.setNumLevels(4);
    return ep;
}