public class RectangleImpl extends AbstractLayer implements Rectangle
layerId, layerType, optionalData
Constructor and Description |
---|
RectangleImpl() |
RectangleImpl(Collection<LatLng> bounds) |
RectangleImpl(LatLng[] bounds) |
RectangleImpl(LatLng[] bounds,
RectangleOptions options) |
RectangleImpl(LatLng latLng0,
LatLng latLng1) |
RectangleImpl(LatLng latLng0,
LatLng latLng1,
RectangleOptions options) |
RectangleImpl(List<LatLng> bounds,
RectangleOptions options) |
RectangleImpl(Rectangle rectangle) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
clone() |
LatLng[] |
getBounds() |
LatLng |
getNorthEast() |
RectangleOptions |
getOptions() |
LatLng |
getSouthWest() |
boolean |
isValid() |
void |
setBounds(LatLng... latLngs) |
void |
setBounds(List<LatLng> latLngs) |
void |
setNorthEast(LatLng northEast) |
void |
setOptions(LayerOptions options) |
void |
setSouthWest(LatLng southWest) |
tr.com.terrayazilim.gjson.GjsonFeature |
toGeoJSON() |
void |
validate() |
addTo, getLayerId, getLayerType, getOptionalData, removeFrom, setLayerId, setOptionalData
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLayerId, getLayerType, getOptionalData, setLayerId, setOptionalData
addTo, removeFrom
public RectangleImpl()
public RectangleImpl(Collection<LatLng> bounds)
bounds
- public RectangleImpl(LatLng[] bounds)
bounds
- public RectangleImpl(LatLng latLng0, LatLng latLng1, RectangleOptions options)
latLng0
- latLng1
- options
- public RectangleImpl(List<LatLng> bounds, RectangleOptions options)
bounds
- options
- public RectangleImpl(LatLng[] bounds, RectangleOptions options)
bounds
- options
- public RectangleImpl(Rectangle rectangle)
rectangle
- public tr.com.terrayazilim.gjson.GjsonFeature toGeoJSON()
public LatLng getSouthWest()
getSouthWest
in interface Rectangle
public LatLng getNorthEast()
getNorthEast
in interface Rectangle
public void setNorthEast(LatLng northEast)
setNorthEast
in interface Rectangle
public void setSouthWest(LatLng southWest)
setSouthWest
in interface Rectangle
public RectangleOptions getOptions()
getOptions
in interface Layer
getOptions
in interface Rectangle
public void setOptions(LayerOptions options)
setOptions
in interface Layer
setOptions
in interface Rectangle
Copyright © 2018 Terra Yazılım Bilişim Hiz. Elek. Dan. Oto. ve Loj. Tic. Ltd. Şti.. All rights reserved.