-
public final class MapsKt
-
-
Method Summary
Modifier and Type Method Description final static List<Feature>queryRenderedFeatures(MapLibreMap $self, LatLng latLng, String layerIds)Queries the map for rendered features final static List<Feature>queryRenderedFeatures(MapLibreMap $self, LatLng latLng, Expression filter, String layerIds)Queries the map for rendered features final static List<Feature>queryRenderedFeatures(MapLibreMap $self, LatLngBounds latLngBounds, String layerIds)Queries the map for rendered features final static List<Feature>queryRenderedFeatures(MapLibreMap $self, LatLngBounds latLngBounds, Expression filter, String layerIds)Queries the map for rendered features -
-
Method Detail
-
queryRenderedFeatures
final static List<Feature> queryRenderedFeatures(MapLibreMap $self, LatLng latLng, String layerIds)
Queries the map for rendered features
- Parameters:
latLng- the location to querylayerIds- optionally - only query these layers
-
queryRenderedFeatures
final static List<Feature> queryRenderedFeatures(MapLibreMap $self, LatLng latLng, Expression filter, String layerIds)
Queries the map for rendered features
- Parameters:
latLng- the location to queryfilter- filters the returned features with an expressionlayerIds- optionally - only query these layers
-
queryRenderedFeatures
final static List<Feature> queryRenderedFeatures(MapLibreMap $self, LatLngBounds latLngBounds, String layerIds)
Queries the map for rendered features
- Parameters:
latLngBounds- the bounds to querylayerIds- optionally - only query these layers
-
queryRenderedFeatures
final static List<Feature> queryRenderedFeatures(MapLibreMap $self, LatLngBounds latLngBounds, Expression filter, String layerIds)
Queries the map for rendered features
- Parameters:
latLngBounds- the bounds to querylayerIds- optionally - only query these layers
-
-
-
-