- pad(Number) - Method in class com.gwidgets.api.leaflet.LatLngBounds
-
Returns bigger bounds created by extending the current bounds by a given percentage in each direction.
- padding(Point) - Method in class com.gwidgets.api.leaflet.options.FitBoundsOptions.Builder
-
Equivalent of setting both top left and bottom right padding to the same value.
- paddingBottomRight(Point) - Method in class com.gwidgets.api.leaflet.options.FitBoundsOptions.Builder
-
The same for bottom right corner of the map.
- paddingTopLeft(Point) - Method in class com.gwidgets.api.leaflet.options.FitBoundsOptions.Builder
-
Sets the amount of padding in the top left corner of a map container that shouldn't be accounted for when setting the view to fit bounds.
- pan(PanOptions) - Method in class com.gwidgets.api.leaflet.options.ZoomPanOptions.Builder
-
Pan.
- panBy(Point, PanOptions) - Method in class com.gwidgets.api.leaflet.Map
-
Pans the map by a given number of pixels (animated).
- panInsideBounds(LatLngBounds) - Method in class com.gwidgets.api.leaflet.Map
-
Pans the map to the closest view that would lie inside the given bounds (if it's not already), controlling the animation using the options specific, if any.
- PanOptions - Class in com.gwidgets.api.leaflet.options
-
The Class PanOptions.
- PanOptions.Builder - Class in com.gwidgets.api.leaflet.options
-
The Class Builder.
- panTo(LatLng, PanOptions) - Method in class com.gwidgets.api.leaflet.Map
-
Pans the map to a given center.
- Path - Class in com.gwidgets.api.leaflet
-
An abstract class that contains options and constants shared between vector overlays (Polygon, Polyline, Circle).
- PathOptions - Class in com.gwidgets.api.leaflet.options
-
The Class PathOptions.
- PathOptions() - Constructor for class com.gwidgets.api.leaflet.options.PathOptions
-
- PathOptions.Builder - Class in com.gwidgets.api.leaflet.options
-
The Class Builder.
- point(Number, Number, Boolean) - Static method in class com.gwidgets.api.leaflet.L
-
Represents a point with x and y coordinates in pixels.
- Point - Class in com.gwidgets.api.leaflet
-
Represents a point with x and y coordinates in pixels.
- Point(Number, Number) - Constructor for class com.gwidgets.api.leaflet.Point
-
Instantiates a new point.
- pointerEvents(String) - Method in class com.gwidgets.api.leaflet.options.PathOptions.Builder
-
Sets the pointer-events attribute on the path if SVG backend is used.
- pointerEvents(String) - Method in class com.gwidgets.api.leaflet.options.PolylineOptions.Builder
-
Sets the pointer-events attribute on the path if SVG backend is used.
- pointToLatLng(Point, Number) - Method in interface com.gwidgets.api.leaflet.ICRS
-
The inverse of latLngToPoint.
- pointToLayer(JavaScriptObject, LatLng) - Method in interface com.gwidgets.api.leaflet.options.GeoJSONOptions
-
Function that will be used for creating layers for GeoJSON points (if not specified, simple markers will be created).
- polygon(LatLng[], PolylineOptions) - Static method in class com.gwidgets.api.leaflet.L
-
A class for drawing polygon overlays on a map.
- Polygon - Class in com.gwidgets.api.leaflet
-
A class for drawing polygon overlays on a map.
- polyline(LatLng[], PolylineOptions) - Static method in class com.gwidgets.api.leaflet.L
-
A class for drawing polyline overlays on a map.
- Polyline - Class in com.gwidgets.api.leaflet
-
A class for drawing polyline overlays on a map.
- PolylineOptions - Class in com.gwidgets.api.leaflet.options
-
The Class PolylineOptions.
- PolylineOptions.Builder - Class in com.gwidgets.api.leaflet.options
-
The Class Builder.
- popup(PopupOptions, ILayer) - Static method in class com.gwidgets.api.leaflet.L
-
Used to open popups in certain places of the map.
- Popup - Class in com.gwidgets.api.leaflet
-
Used to open popups in certain places of the map.
- popUpAnchor(Point) - Method in class com.gwidgets.api.leaflet.options.DivIconOptions.Builder
-
The coordinates of the point from which popups will "open", relative to the icon anchor.
- popupAnchor(Point) - Method in class com.gwidgets.api.leaflet.options.IconOptions.Builder
-
The coordinates of the point from which popups will "open", relative to the icon anchor.
- PopupEvent - Class in com.gwidgets.api.leaflet.events
-
- PopupOptions - Class in com.gwidgets.api.leaflet.options
-
The Class PopupOptions.
- PopupOptions.Builder - Class in com.gwidgets.api.leaflet.options
-
The Class Builder.
- posAnimation() - Static method in class com.gwidgets.api.leaflet.L
-
Used internally for panning animations, utilizing CSS3 Transitions for modern browsers and a timer fallback for IE6-9.
- PosAnimation - Class in com.gwidgets.api.leaflet
-
Used internally for panning animations, utilizing CSS3 Transitions for modern browsers and a timer fallback for IE6-9.
- position(String) - Method in class com.gwidgets.api.leaflet.options.ControlAttributionOptions.Builder
-
The position of the control (one of the map corners).
- position(String) - Method in class com.gwidgets.api.leaflet.options.ControlLayersOptions.Builder
-
The position of the control (one of the map corners).
- position(String) - Method in class com.gwidgets.api.leaflet.options.ControlOptions.Builder
-
The initial position of the control (one of the map corners).
- position(String) - Method in class com.gwidgets.api.leaflet.options.ControlScaleOptions.Builder
-
The position of the control (one of the map corners
possible values: "topleft", "topright", "bottomleft", "bottomright"
- position(String) - Method in class com.gwidgets.api.leaflet.options.ControlZoomOptions.Builder
-
The position of the control (one of the map corners).
- prefix(String) - Method in class com.gwidgets.api.leaflet.options.ControlAttributionOptions.Builder
-
The HTML text shown before the attributions.
- project(LatLng) - Method in interface com.gwidgets.api.leaflet.ICRS
-
Projects geographical coordinates into coordinates in units accepted for this CRS (e.g.
- project(LatLng) - Method in interface com.gwidgets.api.leaflet.IProjection
-
Projects geographical coordinates into a 2D point.
- project(LatLng, Number) - Method in class com.gwidgets.api.leaflet.Map
-
Projects the given geographical coordinates to absolute pixel coordinates for the given zoom level (current zoom level by default).