Class GeoExtend

java.lang.Object
cn.mapway.geo.geometry.GeoExtend
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable

@JsType public class GeoExtend extends Object implements Serializable, com.google.gwt.user.client.rpc.IsSerializable
GeoExtend
Author:
zhangjianshe@gmail.com
See Also:
  • Field Details

    • minLng

      public Double minLng
    • maxLng

      public Double maxLng
    • minLat

      public Double minLat
    • maxLat

      public Double maxLat
  • Constructor Details

    • GeoExtend

      public GeoExtend()
  • Method Details

    • set

      public void set(Double t, Double r, Double b, Double l)
    • center

      public GeoPoint center()
    • width

      public Double width()
    • height

      public Double height()
    • extendPoint

      public void extendPoint(GeoPoint point)
      扩展这个范围
      Parameters:
      point -
    • extended

      public void extended(GeoExtend extend)
    • expand

      public void expand(double dlng, double dlat)
      扩展经纬度范围
      Parameters:
      dlng -
      dlat -
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toJSON

      public String toJSON()
    • toPolygon

      public GeoObject toPolygon()
    • toWKT

      public String toWKT(GeometryType type)