Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Method and Description |
---|---|
Bounds |
Map.getPixelBounds()
Returns the bounds of the current map view in projected pixel coordinates
(sometimes useful in layer and overlay implementations).
|
Bounds |
Bounds.setMax(Point point)
Sets the bottom right corner of the rectangle.
|
Bounds |
Bounds.setMin(Point point)
Sets the top left corner of the rectangle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Bounds.contains(Bounds otherBounds)
Returns
true if the rectangle contains the given one. |
boolean |
Bounds.intersects(Bounds otherBounds)
Returns
true if the rectangle intersects the given bounds. |
Copyright © 2017. All rights reserved.