Uses of Class
org.vaadin.addons.componentfactory.leaflet.types.LatLng
Packages that use LatLng
Package
Description
-
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.layer
Methods in org.vaadin.addons.componentfactory.leaflet.layer with parameters of type LatLngModifier and TypeMethodDescriptiondefault voidOpens the bound popup at the specified latlng or at the default popup anchor if no latlng is passed.default voidLayerTooltipFunctions.openTooltip(LatLng latLng) Opens the bound tooltip at the specified latlng or at the default tooltip anchor if no latlng is passed. -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.layer.events
Methods in org.vaadin.addons.componentfactory.leaflet.layer.events that return LatLngModifier and TypeMethodDescriptionZoomAnimEvent.getCenter()The current center of the mapLocationEvent.getLatlng()Detected geographical location of the user.BaseMoveEvent.getLatLng()Gets the coordinates the layer moved to.DragEndEvent.getLatLng()The coordinates of the layer after the drag operation finished.MouseEvent.getLatLng()The geographical point where the mouse event occured.BaseMoveEvent.getOldLatLng()Gets the coordinates the layer moved from.Constructors in org.vaadin.addons.componentfactory.leaflet.layer.events with parameters of type LatLngModifierConstructorDescriptionBaseMoveEvent(LeafletMap source, boolean fromClient, String layerId, DragEventType eventType, LatLng oldLatLng, LatLng latLng) Creates a new move event.MouseEvent(LeafletMap source, boolean fromClient, String layerId, MouseEventType eventType, LatLng latLng, Point layerPoint, Point containerPoint) Creates a new mouse event. -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.layer.map.functions
Methods in org.vaadin.addons.componentfactory.leaflet.layer.map.functions that return types with arguments of type LatLngModifier and TypeMethodDescriptiondefault CompletableFuture<LatLng> MapConversionFunctions.containerPointToLatLng(Point point) Given a pixel coordinate relative to the map container, returns the corresponding geographical coordinate (for the current zoom level).default CompletableFuture<LatLng> MapGetStateFunctions.getCenter()Returns the geographical center of the map viewdefault CompletableFuture<LatLng> MapConversionFunctions.layerPointToLatLng(Point point) Given a pixel coordinate relative to the origin pixel, returns the corresponding geographical coordinate (for the current zoom level).default CompletableFuture<LatLng> MapConversionFunctions.mouseEventToLatLng(MouseEvent mouseEvent) Given a MouseEvent object, returns geographical coordinate where the event took place.default CompletableFuture<LatLng> Inverse of project.default CompletableFuture<LatLng> MapConversionFunctions.wrapLatLng(LatLng latLng) Returns a LatLng where lat and lng has been wrapped according to the map's CRS's wrapLat and wrapLng properties, if they are outside the CRS's bounds.Methods in org.vaadin.addons.componentfactory.leaflet.layer.map.functions with parameters of type LatLngModifier and TypeMethodDescriptiondefault CompletableFuture<Double> Returns the distance between two geographical coordinates according to the map's CRS.default voidSets the view of the map (geographical center and zoom)default voidSets the view of the map (geographical center and zoom)default voidMapModifyStateFunctions.flyTo(LatLng latlng, int zoom, PanOptions options) Sets the view of the map (geographical center and zoom) performing a smooth pan animation.default voidMapModifyStateFunctions.flyTo(LatLng latlng, int zoom, ZoomOptions options) Sets the view of the map (geographical center and zoom) performing a smooth zoom animation.default CompletableFuture<Point> MapConversionFunctions.latLngToContainerPoint(LatLng latLng) Given a geographical coordinate, returns the corresponding pixel coordinate relative to the map container.default CompletableFuture<Point> MapConversionFunctions.latLngToLayerPoint(LatLng latLng) Given a geographical coordinate, returns the corresponding pixel coordinate relative to the origin pixel.default voidPans the map the minimum amount to make the latlng visible.default voidMapModifyStateFunctions.panInside(LatLng latlng, PanOptions options) Pans the map the minimum amount to make the latlng visible.default voidPans the map to a given center.default voidMapModifyStateFunctions.panTo(LatLng latlng, PanOptions options) Pans the map to a given center.default CompletableFuture<Point> Projects a geographical coordinate LatLng according to the projection of the map's CRS, then scales it according to zoom and the CRS's Transformation.default voidSets the view of the map (geographical center and zoom)default voidMapModifyStateFunctions.setView(LatLng center, int zoom, PanOptions options) Sets the view of the map (geographical center and zoom) with the given animation options.default voidMapModifyStateFunctions.setView(LatLng center, int zoom, ZoomOptions options) Sets the view of the map (geographical center and zoom) with the given animation options.default voidMapModifyStateFunctions.setZoomAround(LatLng latlng, int zoom) Zooms the map while keeping a specified geographical point on the map stationary (e.g.default CompletableFuture<LatLng> MapConversionFunctions.wrapLatLng(LatLng latLng) Returns a LatLng where lat and lng has been wrapped according to the map's CRS's wrapLat and wrapLng properties, if they are outside the CRS's bounds. -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.layer.map.options
Methods in org.vaadin.addons.componentfactory.leaflet.layer.map.options that return LatLngModifier and TypeMethodDescriptionDefaultMapOptions.getCenter()Returns the initial geographic center of the map.MapStateOptions.getCenter()Returns the initial geographic center of the map.Methods in org.vaadin.addons.componentfactory.leaflet.layer.map.options with parameters of type LatLng -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.layer.ui
Methods in org.vaadin.addons.componentfactory.leaflet.layer.ui that return types with arguments of type LatLngModifier and TypeMethodDescriptionDivOverlay.getLatLng()Returns the geographical point of popup.Methods in org.vaadin.addons.componentfactory.leaflet.layer.ui with parameters of type LatLng -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.layer.ui.marker
Methods in org.vaadin.addons.componentfactory.leaflet.layer.ui.marker that return LatLngModifier and TypeMethodDescriptionMarker.getLatLng()Returns the geographical point where the marker is placed.Methods in org.vaadin.addons.componentfactory.leaflet.layer.ui.marker that return types with arguments of type LatLngModifier and TypeMethodDescriptiondefault CompletableFuture<LatLng> MarkerFunctions.callLatLng()Returns the current geographical position of the marker.Methods in org.vaadin.addons.componentfactory.leaflet.layer.ui.marker with parameters of type LatLngModifier and TypeMethodDescriptionvoidChanges the marker position to the given point.default voidChanges the marker position to the given point.Constructors in org.vaadin.addons.componentfactory.leaflet.layer.ui.marker with parameters of type LatLng -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.layer.vectors
Methods in org.vaadin.addons.componentfactory.leaflet.layer.vectors that return LatLngModifier and TypeMethodDescriptionCircleMarker.getLatlng()Gets the geographical point where the circle marker is centered.Constructors in org.vaadin.addons.componentfactory.leaflet.layer.vectors with parameters of type LatLngModifierConstructorDescriptionInstantiates a circle at the given geographical point using the default radius.Instantiates a circle at the given geographical point with the given radius in meters.CircleMarker(LatLng latlng) Instantiates a circle marker object given a geographical pointCircleMarker(LatLng latlng, double radius) Instantiates a circle marker object given a geographical point and a custom radius in pixelsInstantiates a polygon from the given geographical points forming its exterior ring.Instantiates a polyline from the given geographical points.Instantiates a rectangle from the given geographical points defining its corners.Constructor parameters in org.vaadin.addons.componentfactory.leaflet.layer.vectors with type arguments of type LatLngModifierConstructorDescriptionInstantiates a polygon from the given list of geographical points forming its exterior ring.Polygon(List<LatLng> exteriorLatlngs, MultiLatLngArray interiorRings) Instantiates a polygon from the given exterior ring and interior rings (holes).Instantiates a polyline from the given list of geographical points.Instantiates a rectangle from the given list of geographical points defining its corners. -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.layer.vectors.structure
Constructors in org.vaadin.addons.componentfactory.leaflet.layer.vectors.structure with parameters of type LatLngModifierConstructorDescriptionLatLngArray(LatLng[] latlngs) Creates a new array containing the given LatLng coordinates.Constructor parameters in org.vaadin.addons.componentfactory.leaflet.layer.vectors.structure with type arguments of type LatLngModifierConstructorDescriptionLatLngArray(List<LatLng> latlngs) Creates a new array containing the given list of LatLng coordinates. -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.plugins.heatmap
Methods in org.vaadin.addons.componentfactory.leaflet.plugins.heatmap that return types with arguments of type LatLngModifier and TypeMethodDescriptionHeatLayer.getLatLngs()Returns the list of weighted points currently rendered by this heatmap.Methods in org.vaadin.addons.componentfactory.leaflet.plugins.heatmap with parameters of type LatLngModifier and TypeMethodDescriptionvoidAdds a new point to the heatmap and redraws it.Method parameters in org.vaadin.addons.componentfactory.leaflet.plugins.heatmap with type arguments of type LatLngModifier and TypeMethodDescriptionvoidHeatLayer.setLatLngs(List<LatLng> laLngs) Resets heatmap data and redraws it.Constructor parameters in org.vaadin.addons.componentfactory.leaflet.plugins.heatmap with type arguments of type LatLng -
Uses of LatLng in org.vaadin.addons.componentfactory.leaflet.types
Methods in org.vaadin.addons.componentfactory.leaflet.types that return LatLngModifier and TypeMethodDescriptionLatLngBounds.getCenter()Returns the center point of the bounds.LatLngBounds.getNorthEast()Returns the north-east point of the bounds.LatLngBounds.getNorthWest()Returns the north-west point of the bounds.LatLngBounds.getSouthEast()Returns the south-east point of the bounds.LatLngBounds.getSouthWest()Returns the south-west point of the bounds.static LatLngLatLng.latlng(double lat, double lng) Creates a new point with the given latitude and longitude.static LatLngLatLng.latlng(double lat, double lng, double altitude) Creates a new point with the given latitude, longitude and altitude.Methods in org.vaadin.addons.componentfactory.leaflet.types with parameters of type LatLngModifier and TypeMethodDescriptionvoidExtends the bounds to contain the given points.voidLatLngBounds.setNorthEast(LatLng northEast) Sets the north-east corner of the bounds.voidLatLngBounds.setSouthWest(LatLng southWest) Sets the south-west corner of the bounds.Method parameters in org.vaadin.addons.componentfactory.leaflet.types with type arguments of type LatLngModifier and TypeMethodDescriptionvoidExtends the bounds to contain the given points.Constructors in org.vaadin.addons.componentfactory.leaflet.types with parameters of type LatLngModifierConstructorDescriptionLatLngBounds(LatLng latlng) Creates bounds reduced to the single given point.LatLngBounds(LatLng... latlngs) Creates bounds extended to contain all the given points.Constructor parameters in org.vaadin.addons.componentfactory.leaflet.types with type arguments of type LatLngModifierConstructorDescriptionLatLngBounds(List<LatLng> latlngs) Creates bounds extended to contain all the given points.