Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Method and Description |
---|---|
ZoomPanOptions |
ZoomPanOptions.setAnimate(boolean animate)
An equivalent of passing animate to both zoom and pan options (see
below).
|
ZoomPanOptions |
ZoomPanOptions.setPan(PanOptions pan)
Sets the options for the panning (without the zoom change) if it occurs.
|
ZoomPanOptions |
ZoomPanOptions.setReset(boolean reset)
If
true , the map view will be completely reset (without any
animations). |
ZoomPanOptions |
ZoomPanOptions.setZoom(ZoomOptions zoom)
Sets the options for the zoom change if it occurs.
|
Modifier and Type | Method and Description |
---|---|
void |
Map.setView(LatLng center,
int zoom,
ZoomPanOptions options)
Sets the view of the map (geographical center and zoom) with the given
animation options.
|
Copyright © 2017. All rights reserved.