Loading...
Searching...
No Matches
com.navigine.idl.java.internal.LocationWindowBinding Class Reference
+ Inheritance diagram for com.navigine.idl.java.internal.LocationWindowBinding:

Public Member Functions

native boolean isValid ()
 
void setSublocationId (int id)
 Method is used to switch the location view between sublocations (e.g., floors).
 
Integer getSublocationId ()
 Returns current sublocation ID if set, otherwise null.
 
void setOperatingMode (OperatingMode mode)
 Sets the operating mode of the location view OperatingMode. Default: indoor_only.
 
OperatingMode getOperatingMode ()
 Returns the current operating mode OperatingMode.
 
String getAttribution ()
 OSM attribution text shown when the outdoor vector basemap is active. Fixed string required by the OpenStreetMap license / vector tile policy.
 
Camera getEnclosingCamera (BoundingBox boundingBox)
 Calculates camera that fits provided bounding box.
 
GlobalPoint screenPositionToGlobal (android.graphics.PointF point)
 Converts screen coordinates (pixels) to WGS84 coordinates.
 
android.graphics.PointF globalToScreenPosition (GlobalPoint point, boolean clipToViewport)
 Converts WGS84 coordinates to screen coordinates (pixels).
 
CircleMapObject addCircleMapObject ()
 Creates and adds a circle map object to the location view.
 
boolean removeCircleMapObject (CircleMapObject circleMapObject)
 Removes a circle map object from the location view.
 
IconMapObject addIconMapObject ()
 Creates and adds an icon map object to the location view.
 
boolean removeIconMapObject (IconMapObject iconMapObject)
 Removes an icon map object from the location view.
 
ClusterMapObjectController addClusterMapObjectController ()
 Creates an icon map object controller for the location view.
 
boolean removeClusterMapObjectController (ClusterMapObjectController controller)
 Removes an icon map object controller from the location view.
 
PolygonMapObject addPolygonMapObject ()
 Creates and adds a polygon map object to the location view.
 
boolean removePolygonMapObject (PolygonMapObject polygonMapObject)
 Removes a polygon map object from the location view.
 
PolylineMapObject addPolylineMapObject ()
 Creates and adds a polyline map object to the location view.
 
boolean removePolylineMapObject (PolylineMapObject polylineMapObject)
 Removes a polyline map object from the location view.
 
DottedPolylineMapObject addDottedPolylineMapObject ()
 Creates and adds a polyline points map object to the location view.
 
boolean removeDottedPolylineMapObject (DottedPolylineMapObject dottedPolylineMapObject)
 Removes a polyline points map object from the location view.
 
ModelMapObject addModelMapObject ()
 Creates and adds a 3D model map object (Wavefront OBJ + texture via ModelProvider).
 
boolean removeModelMapObject (ModelMapObject modelMapObject)
 Removes a model map object from the location view.
 
void removeAllMapObjects ()
 Removes all map objects from the location view.
 
void pickMapObjectAt (android.graphics.PointF point)
 Selects a visible, interactive map object at the specified screen position.
 
void pickMapFeatureAt (android.graphics.PointF point)
 Selects visible map features (e.g., venues) at the specified screen position.
 
void addPickListener (PickListener listener)
 Adds a PickListener to receive picking result events.
 
void removePickListener (PickListener listener)
 Removes a previously added PickListener.
 
void addInputListener (InputListener listener)
 Adds an InputListener to receive input events.
 
void removeInputListener (InputListener listener)
 Removes a previously added InputListener.
 
void addCameraListener (CameraListener listener)
 Adds a CameraListener to receive camera movement events.
 
void removeCameraListener (CameraListener listener)
 Removes a previously added CameraListener.
 
void addSublocationChangeListener (SublocationChangeListener listener)
 Adds listener for sublocation change events.
 
void removeSublocationChangeListener (SublocationChangeListener listener)
 Removes previously added sublocation change listener.
 
void addBuildingListener (BuildingListener listener)
 Adds listener for outdoor scenario: when camera focuses on a building or leaves it.
 
void removeBuildingListener (BuildingListener listener)
 Removes previously added indoor building listener.
 
void flyTo (Camera camera, int duration, CameraCallback callback)
 Moves the map camera to a new position with an easing animation.
 
void moveTo (Camera camera, int duration, AnimationType animationType, CameraCallback callback)
 Moves the map camera to a new position with a smooth pan-and-zoom animation.
 
boolean selectMapFeature (String featureId)
 Selects a map feature by its feature ID.
 
boolean deselectMapFeature (String featureId)
 Deselects a map feature by its feature ID.
 
void deselectAllMapFeatures ()
 Deselects all currently selected map features.
 
void applyLayerFilter (String layer, ArrayList< MapFilterCondition > conditions)
 Applies a typed filter to a specific map layer.
 
AttributionAlignment getAttributionAlignment ()
 Screen placement of the OSM attribution overlay AttributionAlignment. Default: right + bottom. Visible only in outdoor / outdoor_indoor modes.
 
void setAttributionAlignment (AttributionAlignment newAttributionAlignment)
 Screen placement of the OSM attribution overlay AttributionAlignment. Default: right + bottom. Visible only in outdoor / outdoor_indoor modes.
 
float getZoomFactor ()
 Specifies the zoom level of the location view, in pixels per meter. Default: approximately 100 meters across the screen width.
 
void setZoomFactor (float newZoomFactor)
 Specifies the zoom level of the location view, in pixels per meter. Default: approximately 100 meters across the screen width.
 
float getMinZoomFactor ()
 Minimum zoom level for the location view (pixels per meter).
 
void setMinZoomFactor (float newMinZoomFactor)
 Minimum zoom level for the location view (pixels per meter).
 
float getMaxZoomFactor ()
 Maximum zoom level for the location view (pixels per meter).
 
void setMaxZoomFactor (float newMaxZoomFactor)
 Maximum zoom level for the location view (pixels per meter).
 
boolean getStickToBorder ()
 Specifies whether sublocation content sticks to screen borders.
 
void setStickToBorder (boolean newStickToBorder)
 Specifies whether sublocation content sticks to screen borders.
 
Camera getCamera ()
 Current camera position (look-at in WGS84). Camera.
 
void setCamera (Camera newCamera)
 Current camera position (look-at in WGS84). Camera.
 
boolean getRotateGestureEnabled ()
 Specifies whether rotation gestures (e.g., two-finger rotation) are enabled.
 
void setRotateGestureEnabled (boolean newRotateGestureEnabled)
 Specifies whether rotation gestures (e.g., two-finger rotation) are enabled.
 
boolean getTiltGesturesEnabled ()
 Specifies whether tilt gestures (e.g., two-finger parallel pan) are enabled.
 
void setTiltGesturesEnabled (boolean newTiltGesturesEnabled)
 Specifies whether tilt gestures (e.g., two-finger parallel pan) are enabled.
 
boolean getScrollGesturesEnabled ()
 Specifies whether scroll gestures (e.g., pan gesture) are enabled.
 
void setScrollGesturesEnabled (boolean newScrollGesturesEnabled)
 Specifies whether scroll gestures (e.g., pan gesture) are enabled.
 
boolean getZoomGesturesEnabled ()
 Specifies whether zoom gestures (e.g., two-finger pinch) are enabled.
 
void setZoomGesturesEnabled (boolean newZoomGesturesEnabled)
 Specifies whether zoom gestures (e.g., two-finger pinch) are enabled.
 
float getPickRadius ()
 Extra slop around the hit target, in density-independent pixels. Applied as a screen-pixel radius for points/lines and as a margin around a label's real AABB. Default: 5 dp.
 
void setPickRadius (float newPickRadius)
 Extra slop around the hit target, in density-independent pixels. Applied as a screen-pixel radius for points/lines and as a margin around a label's real AABB. Default: 5 dp.
 
ArrayList< String > getSelectedMapFeatures ()
 List of currently selected map feature IDs.
 

Static Public Member Functions

static native void setDebugFlag (DebugFlag flag, boolean on)
 Sets the state of a debug flag.
 
static native boolean getDebugFlag (DebugFlag flag)
 Gets the state of a debug flag.
 

Protected Attributes

Subscription< PickListenerweakPickListenerSubscription
 
Subscription< InputListenerweakInputListenerSubscription
 
Subscription< CameraListenerweakCameraListenerSubscription
 
Subscription< SublocationChangeListenerweakSublocationChangeListenerSubscription
 
Subscription< BuildingListenerweakBuildingListenerSubscription
 

Detailed Description

Definition at line 33 of file LocationWindowBinding.java.

Member Function Documentation

◆ addBuildingListener()

void com.navigine.idl.java.internal.LocationWindowBinding.addBuildingListener ( BuildingListener listener)
inline

Adds listener for outdoor scenario: when camera focuses on a building or leaves it.

Parameters
listenerIndoor building listener BuildingListener.

Java code snippet:

locationWindow.addBuildingListener(buildingListener);
System.out.println("Added building listener");

Kotlin code snippet:

window.addBuildingListener(buildingListener!!)
println("Added building listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 319 of file LocationWindowBinding.java.

◆ addCameraListener()

void com.navigine.idl.java.internal.LocationWindowBinding.addCameraListener ( CameraListener listener)
inline

Adds a CameraListener to receive camera movement events.

Parameters
listenerThe CameraListener instance CameraListener.
Note
Remove the listener when no longer needed.

Java code snippet:

// Add camera listener
cameraListener = new CameraListenerImpl();
locationWindow.addCameraListener(cameraListener);
System.out.println("Added camera listener");

Kotlin code snippet:

// Add camera listener
cameraListener = CameraListenerImpl()
locationWindow!!.addCameraListener(cameraListener!!)
println("Added camera listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 291 of file LocationWindowBinding.java.

◆ addCircleMapObject()

CircleMapObject com.navigine.idl.java.internal.LocationWindowBinding.addCircleMapObject ( )
inline

Creates and adds a circle map object to the location view.

Returns
A CircleMapObject instance CircleMapObject if successful, null otherwise.

Java code snippet:

// Add circle map object
circleMapObject = locationWindow.addCircleMapObject();
System.out.println("Added circle map object");

Kotlin code snippet:

// Add circle map object
circleMapObject = locationWindow!!.addCircleMapObject()
println("Added circle map object")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 144 of file LocationWindowBinding.java.

◆ addClusterMapObjectController()

ClusterMapObjectController com.navigine.idl.java.internal.LocationWindowBinding.addClusterMapObjectController ( )
inline

Creates an icon map object controller for the location view.

Returns
Cluster controller instance ClusterMapObjectController.

Java code snippet:

clusterMapObjectController = locationWindow.addClusterMapObjectController();
System.out.println("Added cluster map object controller");

Kotlin code snippet:

clusterMapObjectController = locationWindow!!.addClusterMapObjectController()
println("Added cluster map object controller")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 172 of file LocationWindowBinding.java.

◆ addDottedPolylineMapObject()

DottedPolylineMapObject com.navigine.idl.java.internal.LocationWindowBinding.addDottedPolylineMapObject ( )
inline

Creates and adds a polyline points map object to the location view.

Returns
A DottedPolylineMapObject instance DottedPolylineMapObject if successful, null otherwise.

Java code snippet:

// Add dotted polyline map object
dottedPolylineMapObject = locationWindow.addDottedPolylineMapObject();
System.out.println("Added dotted polyline map object");

Kotlin code snippet:

// Add dotted polyline map object
dottedPolylineMapObject = locationWindow!!.addDottedPolylineMapObject()
println("Added dotted polyline map object")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 214 of file LocationWindowBinding.java.

◆ addIconMapObject()

IconMapObject com.navigine.idl.java.internal.LocationWindowBinding.addIconMapObject ( )
inline

Creates and adds an icon map object to the location view.

Returns
An IconMapObject instance IconMapObject if successful, null otherwise.

Java code snippet:

// Add icon map object
iconMapObject = locationWindow.addIconMapObject();
System.out.println("Added icon map object");

Kotlin code snippet:

// Add icon map object
iconMapObject = locationWindow!!.addIconMapObject()
println("Added icon map object")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 158 of file LocationWindowBinding.java.

◆ addInputListener()

void com.navigine.idl.java.internal.LocationWindowBinding.addInputListener ( InputListener listener)
inline

Adds an InputListener to receive input events.

Parameters
listenerThe InputListener instance InputListener.
Note
Remove the listener when no longer needed.

Java code snippet:

// Add input listener
inputListener = new InputListenerImpl();
locationWindow.addInputListener(inputListener);
System.out.println("Added input listener");

Kotlin code snippet:

// Add input listener
inputListener = InputListenerImpl()
locationWindow!!.addInputListener(inputListener!!)
println("Added input listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 277 of file LocationWindowBinding.java.

◆ addModelMapObject()

ModelMapObject com.navigine.idl.java.internal.LocationWindowBinding.addModelMapObject ( )
inline

Creates and adds a 3D model map object (Wavefront OBJ + texture via ModelProvider).

Returns
A ModelMapObject instance ModelMapObject if successful, null otherwise.

Java code snippet:

modelMapObject = locationWindow.addModelMapObject();
System.out.println("Added model map object: " + (modelMapObject != null));

Kotlin code snippet:

modelMapObject = locationWindow!!.addModelMapObject()
println("Added model map object: ${modelMapObject != null}")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 228 of file LocationWindowBinding.java.

◆ addPickListener()

void com.navigine.idl.java.internal.LocationWindowBinding.addPickListener ( PickListener listener)
inline

Adds a PickListener to receive picking result events.

Parameters
listenerThe PickListener instance PickListener.
Note
Remove the listener when no longer needed.

Java code snippet:

// Add pick listener
pickListener = new PickListenerImpl();
locationWindow.addPickListener(pickListener);
System.out.println("Added pick listener");

Kotlin code snippet:

// Add pick listener
pickListener = PickListenerImpl()
locationWindow!!.addPickListener(pickListener!!)
println("Added pick listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 263 of file LocationWindowBinding.java.

◆ addPolygonMapObject()

PolygonMapObject com.navigine.idl.java.internal.LocationWindowBinding.addPolygonMapObject ( )
inline

Creates and adds a polygon map object to the location view.

Returns
A PolygonMapObject instance PolygonMapObject if successful, null otherwise.

Java code snippet:

// Add polygon map object
polygonMapObject = locationWindow.addPolygonMapObject();
System.out.println("Added polygon map object");

Kotlin code snippet:

// Add polygon map object
polygonMapObject = locationWindow!!.addPolygonMapObject()
println("Added polygon map object")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 186 of file LocationWindowBinding.java.

◆ addPolylineMapObject()

PolylineMapObject com.navigine.idl.java.internal.LocationWindowBinding.addPolylineMapObject ( )
inline

Creates and adds a polyline map object to the location view.

Returns
A PolylineMapObject instance PolylineMapObject if successful, null otherwise.

Java code snippet:

// Add polyline map object
polylineMapObject = locationWindow.addPolylineMapObject();
System.out.println("Added polyline map object");

Kotlin code snippet:

// Add polyline map object
polylineMapObject = locationWindow!!.addPolylineMapObject()
println("Added polyline map object")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 200 of file LocationWindowBinding.java.

◆ addSublocationChangeListener()

void com.navigine.idl.java.internal.LocationWindowBinding.addSublocationChangeListener ( SublocationChangeListener listener)
inline

Adds listener for sublocation change events.

Parameters
listenerSublocation change listener SublocationChangeListener.

Java code snippet:

locationWindow.addSublocationChangeListener(listener);
System.out.println("Added sublocation change listener");

Kotlin code snippet:

locationWindow!!.addSublocationChangeListener(listener)
println("Added sublocation change listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 305 of file LocationWindowBinding.java.

◆ applyLayerFilter()

void com.navigine.idl.java.internal.LocationWindowBinding.applyLayerFilter ( String layer,
ArrayList< MapFilterCondition > conditions )
inline

Applies a typed filter to a specific map layer.

Parameters
layerThe map layer to apply the filter to.
conditionsList of conditions (property + allowed values). Empty list resets the filter (show all).

Java code snippet:

// Apply filter to venues layer
List<MapFilterCondition> conditions = new ArrayList<>();
conditions.add(new MapFilterCondition("category", Arrays.asList("Toilet", "Cafe")));
locationWindow.applyLayerFilter("venues", conditions);
System.out.println("Applied layer filter: show venues with category Toilet or Cafe");

Kotlin code snippet:

// Apply filter to venues layer
val conditions = listOf(MapFilterCondition("category", listOf("Toilet", "Cafe")))
locationWindow!!.applyLayerFilter("venues", conditions)
println("Applied layer filter: show venues with category Toilet or Cafe")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 368 of file LocationWindowBinding.java.

◆ deselectAllMapFeatures()

void com.navigine.idl.java.internal.LocationWindowBinding.deselectAllMapFeatures ( )
inline

Deselects all currently selected map features.

Java code snippet:

// Deselect all map features
locationWindow.deselectAllMapFeatures();
System.out.println("Deselected all map features");

Kotlin code snippet:

// Deselect all map features
locationWindow!!.deselectAllMapFeatures()
println("Deselected all map features")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 361 of file LocationWindowBinding.java.

◆ deselectMapFeature()

boolean com.navigine.idl.java.internal.LocationWindowBinding.deselectMapFeature ( String featureId)
inline

Deselects a map feature by its feature ID.

Parameters
featureIdThe feature ID from the mapFeaturePickResult PickListener.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

// Deselect specific map feature
boolean deselected = locationWindow.deselectMapFeature(featureId);
System.out.println("Deselected map feature " + featureId + ": " + deselected);

Kotlin code snippet:

// Deselect specific map feature
val deselected = locationWindow!!.deselectMapFeature(featureId)
println("Deselected map feature $featureId: $deselected")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 354 of file LocationWindowBinding.java.

◆ flyTo()

void com.navigine.idl.java.internal.LocationWindowBinding.flyTo ( Camera camera,
int duration,
CameraCallback callback )
inline

Moves the map camera to a new position with an easing animation.

Parameters
cameraThe new camera position Camera.
durationAnimation duration in milliseconds.
callbackCallback to execute when the animation completes CameraCallback.

Java code snippet:

// Fly to position with smooth animation
GlobalPoint targetPoint = new GlobalPoint(150.0, 250.0);
Camera targetCamera = new Camera(targetPoint, 75.0, 45.0, 30.0);
CameraCallback callback = new CameraCallbackImpl();
locationWindow.flyTo(targetCamera, 2000, callback);
System.out.println("Started fly to animation to point (" + targetPoint.latitude + ", " + targetPoint.longitude + ")");

Kotlin code snippet:

// Fly to position with smooth animation
val targetPoint = GlobalPoint(150.0, 250.0)
val targetCamera = Camera(targetPoint, 75.0, 45.0, 30.0)
val callback = CameraCallbackImpl()
locationWindow!!.flyTo(targetCamera, 2000, callback)
println("Started fly to animation to point (${targetPoint.x}, ${targetPoint.y})")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 333 of file LocationWindowBinding.java.

◆ getAttribution()

String com.navigine.idl.java.internal.LocationWindowBinding.getAttribution ( )
inline

OSM attribution text shown when the outdoor vector basemap is active. Fixed string required by the OpenStreetMap license / vector tile policy.

Java code snippet:

String attribution = locationWindow.getAttribution();
System.out.println("Attribution: " + attribution);

Kotlin code snippet:

val attribution = locationWindow!!.attribution
println("Attribution: $attribution")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 116 of file LocationWindowBinding.java.

◆ getAttributionAlignment()

AttributionAlignment com.navigine.idl.java.internal.LocationWindowBinding.getAttributionAlignment ( )
inline

Screen placement of the OSM attribution overlay AttributionAlignment. Default: right + bottom. Visible only in outdoor / outdoor_indoor modes.

Returns

Java code snippet:

locationWindow.setAttributionAlignment(alignment);

Kotlin code snippet:

locationWindow!!.attributionAlignment = alignment

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 375 of file LocationWindowBinding.java.

◆ getCamera()

Camera com.navigine.idl.java.internal.LocationWindowBinding.getCamera ( )
inline

Current camera position (look-at in WGS84). Camera.

Returns

Java code snippet:

// Set camera position without animation
locationWindow.setCamera(newCamera);
System.out.println("Set camera position to (" + newPoint.latitude + ", " + newPoint.longitude + ") with zoom 50.0, rotation 0°, tilt 0°");

Kotlin code snippet:

// Set camera position without animation
locationWindow!!.camera = newCamera
println("Set camera position to (${newPoint.x}, ${newPoint.y}) with zoom 50.0, rotation 0°, tilt 0°")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 445 of file LocationWindowBinding.java.

◆ getDebugFlag()

static native boolean com.navigine.idl.java.internal.LocationWindowBinding.getDebugFlag ( DebugFlag flag)
static

Gets the state of a debug flag.

Parameters
flagThe debug flag to query DebugFlag.
Returns
true if the debug flag is enabled, false otherwise.

Java code snippet:

boolean infosOn = LocationWindow.getDebugFlag(DebugFlag.INFOS);
System.out.println("Debug flag INFOS enabled: " + infosOn);

Kotlin code snippet:

val infosOn = LocationWindow.getDebugFlag(DebugFlag.INFOS)
println("Debug flag INFOS enabled: $infosOn")

Reimplemented from com.navigine.idl.java.LocationWindow.

◆ getEnclosingCamera()

Camera com.navigine.idl.java.internal.LocationWindowBinding.getEnclosingCamera ( BoundingBox boundingBox)
inline

Calculates camera that fits provided bounding box.

Parameters
boundingBoxWGS84 bounding box to enclose.

Java code snippet:

BoundingBox boundingBox = new BoundingBox(new GlobalPoint(55.75, 37.61), new GlobalPoint(55.76, 37.63));
Camera camera = locationWindow.getEnclosingCamera(boundingBox);
System.out.println("Camera that fits bounding box: " + camera);

Kotlin code snippet:

val boundingBox = BoundingBox(GlobalPoint(55.75, 37.61), GlobalPoint(55.76, 37.63))
val camera = locationWindow!!.getEnclosingCamera(boundingBox)
println("Camera that fits bounding box: $camera")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 123 of file LocationWindowBinding.java.

◆ getMaxZoomFactor()

float com.navigine.idl.java.internal.LocationWindowBinding.getMaxZoomFactor ( )
inline

Maximum zoom level for the location view (pixels per meter).

Returns

Java code snippet:

// Set maximum zoom factor
locationWindow.setMaxZoomFactor(300.0);
System.out.println("Set maximum zoom factor to 300.0");

Kotlin code snippet:

// Set maximum zoom factor
locationWindow!!.maxZoomFactor = 300.0
println("Set maximum zoom factor to 300.0")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 417 of file LocationWindowBinding.java.

◆ getMinZoomFactor()

float com.navigine.idl.java.internal.LocationWindowBinding.getMinZoomFactor ( )
inline

Minimum zoom level for the location view (pixels per meter).

Returns

Java code snippet:

// Set minimum zoom factor
locationWindow.setMinZoomFactor(50.0);
System.out.println("Set minimum zoom factor to 50.0");

Kotlin code snippet:

// Set minimum zoom factor
locationWindow!!.minZoomFactor = 50.0
println("Set minimum zoom factor to 50.0")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 403 of file LocationWindowBinding.java.

◆ getOperatingMode()

OperatingMode com.navigine.idl.java.internal.LocationWindowBinding.getOperatingMode ( )
inline

Returns the current operating mode OperatingMode.

Java code snippet:

OperatingMode currentMode = locationWindow.getOperatingMode();
System.out.println("Current operating mode: " + currentMode);

Kotlin code snippet:

val currentMode = locationWindow!!.operatingMode
println("Current operating mode: $currentMode")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 109 of file LocationWindowBinding.java.

◆ getPickRadius()

float com.navigine.idl.java.internal.LocationWindowBinding.getPickRadius ( )
inline

Extra slop around the hit target, in density-independent pixels. Applied as a screen-pixel radius for points/lines and as a margin around a label's real AABB. Default: 5 dp.

Returns

Java code snippet:

// Set pick radius
locationWindow.setPickRadius(10.0);
System.out.println("Set pick radius to 10.0 pixels");

Kotlin code snippet:

// Set pick radius
locationWindow!!.pickRadius = 10.0
println("Set pick radius to 10.0 pixels")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 515 of file LocationWindowBinding.java.

◆ getRotateGestureEnabled()

boolean com.navigine.idl.java.internal.LocationWindowBinding.getRotateGestureEnabled ( )
inline

Specifies whether rotation gestures (e.g., two-finger rotation) are enabled.

Returns

Java code snippet:

// Set rotate gesture enabled
locationWindow.setRotateGestureEnabled(true);
System.out.println("Set rotate gesture enabled to true");

Kotlin code snippet:

// Set rotate gesture enabled
locationWindow!!.rotateGestureEnabled = true
println("Set rotate gesture enabled to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 459 of file LocationWindowBinding.java.

◆ getScrollGesturesEnabled()

boolean com.navigine.idl.java.internal.LocationWindowBinding.getScrollGesturesEnabled ( )
inline

Specifies whether scroll gestures (e.g., pan gesture) are enabled.

Returns

Java code snippet:

// Set scroll gestures enabled
locationWindow.setScrollGesturesEnabled(true);
System.out.println("Set scroll gestures enabled to true");

Kotlin code snippet:

// Set scroll gestures enabled
locationWindow!!.scrollGesturesEnabled = true
println("Set scroll gestures enabled to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 487 of file LocationWindowBinding.java.

◆ getSelectedMapFeatures()

ArrayList< String > com.navigine.idl.java.internal.LocationWindowBinding.getSelectedMapFeatures ( )
inline

List of currently selected map feature IDs.

Returns

Java code snippet:

// Get list of selected map features
List<String> selectedFeatures = locationWindow.getSelectedMapFeatures();
System.out.println("Currently selected map features: " + selectedFeatures.size() + " features");
for (String feature : selectedFeatures) {
System.out.println(" - " + feature);
}

Kotlin code snippet:

// Get list of selected map features
val selectedFeatures = locationWindow!!.selectedMapFeatures
println("Currently selected map features: ${selectedFeatures.size} features")
for (feature in selectedFeatures) {
println(" - $feature")
}

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 529 of file LocationWindowBinding.java.

◆ getStickToBorder()

boolean com.navigine.idl.java.internal.LocationWindowBinding.getStickToBorder ( )
inline

Specifies whether sublocation content sticks to screen borders.

Returns

If true, content sticks to screen bounds; if false, content is centered. Default: true.

Java code snippet:

// Set stick to border property
locationWindow.setStickToBorder(true);
System.out.println("Set stick to border to true");

Kotlin code snippet:

// Set stick to border property
locationWindow!!.stickToBorder = true
println("Set stick to border to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 431 of file LocationWindowBinding.java.

◆ getSublocationId()

Integer com.navigine.idl.java.internal.LocationWindowBinding.getSublocationId ( )
inline

Returns current sublocation ID if set, otherwise null.

Java code snippet:

Integer currentId = locationWindow.getSublocationId();
if (currentId != null) {
System.out.println("Current sublocation id: " + currentId);
} else {
System.out.println("Current sublocation id is not set");
}

Kotlin code snippet:

val currentId = locationWindow!!.getSublocationId()
if (currentId != null) {
println("Current sublocation id: $currentId")
} else {
println("Current sublocation id is not set")
}

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 95 of file LocationWindowBinding.java.

◆ getTiltGesturesEnabled()

boolean com.navigine.idl.java.internal.LocationWindowBinding.getTiltGesturesEnabled ( )
inline

Specifies whether tilt gestures (e.g., two-finger parallel pan) are enabled.

Returns

Java code snippet:

// Set tilt gestures enabled
locationWindow.setTiltGesturesEnabled(true);
System.out.println("Set tilt gestures enabled to true");

Kotlin code snippet:

// Set tilt gestures enabled
locationWindow!!.tiltGesturesEnabled = true
println("Set tilt gestures enabled to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 473 of file LocationWindowBinding.java.

◆ getZoomFactor()

float com.navigine.idl.java.internal.LocationWindowBinding.getZoomFactor ( )
inline

Specifies the zoom level of the location view, in pixels per meter. Default: approximately 100 meters across the screen width.

Returns

Java code snippet:

// Set zoom factor
locationWindow.setZoomFactor(150.0);
System.out.println("Set zoom factor to 150.0");

Kotlin code snippet:

// Set zoom factor
locationWindow!!.zoomFactor = 150.0
println("Set zoom factor to 150.0")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 389 of file LocationWindowBinding.java.

◆ getZoomGesturesEnabled()

boolean com.navigine.idl.java.internal.LocationWindowBinding.getZoomGesturesEnabled ( )
inline

Specifies whether zoom gestures (e.g., two-finger pinch) are enabled.

Returns

Java code snippet:

// Set zoom gestures enabled
locationWindow.setZoomGesturesEnabled(true);
System.out.println("Set zoom gestures enabled to true");

Kotlin code snippet:

// Set zoom gestures enabled
locationWindow!!.zoomGesturesEnabled = true
println("Set zoom gestures enabled to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 501 of file LocationWindowBinding.java.

◆ globalToScreenPosition()

android.graphics.PointF com.navigine.idl.java.internal.LocationWindowBinding.globalToScreenPosition ( GlobalPoint point,
boolean clipToViewport )
inline

Converts WGS84 coordinates to screen coordinates (pixels).

Parameters
pointWGS84 coordinates GlobalPoint.
clipToViewportIf true, coordinates outside the viewport are clipped to the viewport edge.
Returns
(x,y) coordinates in screen pixels.

Java code snippet:

// Convert WGS84 to screen position with clipping
GlobalPoint globalPoint2 = new GlobalPoint(55.7558, 37.6176);
ScreenPoint screenPoint2 = locationWindow.globalToScreenPosition(globalPoint2, true);
System.out.printf("WGS84 (%.6f, %.6f) converted to screen with clipping: (%.1f, %.1f)%n",
globalPoint2.getLatitude(), globalPoint2.getLongitude(), screenPoint2.getX(), screenPoint2.getY());

Kotlin code snippet:

val globalPoint2 = GlobalPoint(55.7558, 37.6176)
val screenPoint2 = locationWindow!!.globalToScreenPosition(globalPoint2, true)
println("WGS84 (${globalPoint2.latitude}, ${globalPoint2.longitude}) converted to screen with clipping: (${screenPoint2.x}, ${screenPoint2.y})")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 137 of file LocationWindowBinding.java.

◆ isValid()

native boolean com.navigine.idl.java.internal.LocationWindowBinding.isValid ( )

Tells if this LocationWindow is valid or not. Any other method (except for this one) called on an invalid LocationWindow will throw java.lang.RuntimeException.

Reimplemented from com.navigine.idl.java.LocationWindow.

◆ moveTo()

void com.navigine.idl.java.internal.LocationWindowBinding.moveTo ( Camera camera,
int duration,
AnimationType animationType,
CameraCallback callback )
inline

Moves the map camera to a new position with a smooth pan-and-zoom animation.

Parameters
cameraThe new camera position Camera.
durationAnimation duration in milliseconds (-1 for default duration).
animationTypeThe type of easing animation AnimationType.
callbackCallback to execute when the animation completes CameraCallback.

Java code snippet:

// Move to position with linear animation
GlobalPoint targetPoint = new GlobalPoint(200.0, 300.0);
Camera targetCamera = new Camera(targetPoint, 100.0, 90.0, 0.0);
CameraCallback callback = new CameraCallbackImpl();
locationWindow.moveTo(targetCamera, 1500, AnimationType.LINEAR, callback);
System.out.println("Started move to with linear animation");

Kotlin code snippet:

// Move to position with linear animation
val targetPoint = GlobalPoint(200.0, 300.0)
val targetCamera = Camera(targetPoint, 100.0, 90.0, 0.0)
val callback = CameraCallbackImpl()
locationWindow!!.moveTo(targetCamera, 1500, AnimationType.LINEAR, callback)
println("Started move to with linear animation")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 340 of file LocationWindowBinding.java.

◆ pickMapFeatureAt()

void com.navigine.idl.java.internal.LocationWindowBinding.pickMapFeatureAt ( android.graphics.PointF point)
inline

Selects visible map features (e.g., venues) at the specified screen position.

Parameters
pointPosition in screen pixels to pick from. Results are delivered to the PickListener via onMapFeaturePickComplete PickListener.

Java code snippet:

// Pick map feature at screen position
Point featurePoint = new Point(150.0, 250.0);
locationWindow.pickMapFeatureAt(featurePoint);
System.out.println("Picked map feature at screen position (" + featurePoint.x + ", " + featurePoint.y + ")");

Kotlin code snippet:

// Pick map feature at screen position
val featurePoint = Point(150.0, 250.0)
locationWindow!!.pickMapFeatureAt(featurePoint)
println("Picked map feature at screen position (${featurePoint.x}, ${featurePoint.y})")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 256 of file LocationWindowBinding.java.

◆ pickMapObjectAt()

void com.navigine.idl.java.internal.LocationWindowBinding.pickMapObjectAt ( android.graphics.PointF point)
inline

Selects a visible, interactive map object at the specified screen position.

Parameters
pointPosition in screen pixels to pick from. Results are delivered to the PickListener via onMapObjectPickComplete PickListener.

Java code snippet:

// Pick map object at screen position
Point screenPoint = new Point(100.0, 200.0);
locationWindow.pickMapObjectAt(screenPoint);
System.out.println("Picked map object at screen position (" + screenPoint.x + ", " + screenPoint.y + ")");

Kotlin code snippet:

// Pick map object at screen position
val screenPoint = Point(100.0, 200.0)
locationWindow!!.pickMapObjectAt(screenPoint)
println("Picked map object at screen position (${screenPoint.x}, ${screenPoint.y})")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 249 of file LocationWindowBinding.java.

◆ removeAllMapObjects()

void com.navigine.idl.java.internal.LocationWindowBinding.removeAllMapObjects ( )
inline

Removes all map objects from the location view.

Java code snippet:

// Remove all map objects
locationWindow.removeAllMapObjects();
System.out.println("Removed all map objects");

Kotlin code snippet:

// Remove all map objects
locationWindow!!.removeAllMapObjects()
println("Removed all map objects")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 242 of file LocationWindowBinding.java.

◆ removeBuildingListener()

void com.navigine.idl.java.internal.LocationWindowBinding.removeBuildingListener ( BuildingListener listener)
inline

Removes previously added indoor building listener.

Parameters
listenerListener instance to remove BuildingListener.

Java code snippet:

locationWindow.removeBuildingListener(buildingListener);
System.out.println("Removed building listener");

Kotlin code snippet:

window.removeBuildingListener(buildingListener!!)
println("Removed building listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 326 of file LocationWindowBinding.java.

◆ removeCameraListener()

void com.navigine.idl.java.internal.LocationWindowBinding.removeCameraListener ( CameraListener listener)
inline

Removes a previously added CameraListener.

Parameters
listenerThe CameraListener instance to remove CameraListener.

Java code snippet:

// Remove camera listener
locationWindow.removeCameraListener(cameraListener);
cameraListener = null;
System.out.println("Removed camera listener");

Kotlin code snippet:

// Remove camera listener
locationWindow!!.removeCameraListener(cameraListener!!)
cameraListener = null
println("Removed camera listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 298 of file LocationWindowBinding.java.

◆ removeCircleMapObject()

boolean com.navigine.idl.java.internal.LocationWindowBinding.removeCircleMapObject ( CircleMapObject circleMapObject)
inline

Removes a circle map object from the location view.

Parameters
circleMapObjectThe circle map object instance CircleMapObject.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

// Remove circle map object
if (circleMapObject != null) {
boolean removed = locationWindow.removeCircleMapObject(circleMapObject);
System.out.println("Removed circle map object: " + removed);
circleMapObject = null;
}

Kotlin code snippet:

// Remove circle map object
if (circleMapObject != null) {
val removed = locationWindow!!.removeCircleMapObject(circleMapObject!!)
println("Removed circle map object: $removed")
circleMapObject = null
}

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 151 of file LocationWindowBinding.java.

◆ removeClusterMapObjectController()

boolean com.navigine.idl.java.internal.LocationWindowBinding.removeClusterMapObjectController ( ClusterMapObjectController controller)
inline

Removes an icon map object controller from the location view.

Parameters
controllerThe controller instance to remove.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

boolean controllerRemoved =
locationWindow.removeClusterMapObjectController(clusterMapObjectController);
System.out.println("Removed cluster map object controller: " + controllerRemoved);

Kotlin code snippet:

val controllerRemoved =
locationWindow!!.removeClusterMapObjectController(controller)
println("Removed cluster map object controller: $controllerRemoved")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 179 of file LocationWindowBinding.java.

◆ removeDottedPolylineMapObject()

boolean com.navigine.idl.java.internal.LocationWindowBinding.removeDottedPolylineMapObject ( DottedPolylineMapObject dottedPolylineMapObject)
inline

Removes a polyline points map object from the location view.

Parameters
dottedPolylineMapObjectThe polyline points map object instance DottedPolylineMapObject.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

// Remove dotted polyline map object
if (dottedPolylineMapObject != null) {
boolean removed = locationWindow.removeDottedPolylineMapObject(dottedPolylineMapObject);
System.out.println("Removed dotted polyline map object: " + removed);
dottedPolylineMapObject = null;
}

Kotlin code snippet:

// Remove dotted polyline map object
if (dottedPolylineMapObject != null) {
val removed = locationWindow!!.removeDottedPolylineMapObject(dottedPolylineMapObject!!)
println("Removed dotted polyline map object: $removed")
dottedPolylineMapObject = null
}

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 221 of file LocationWindowBinding.java.

◆ removeIconMapObject()

boolean com.navigine.idl.java.internal.LocationWindowBinding.removeIconMapObject ( IconMapObject iconMapObject)
inline

Removes an icon map object from the location view.

Parameters
iconMapObjectThe icon map object instance IconMapObject.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

// Remove icon map object
if (iconMapObject != null) {
boolean removed = locationWindow.removeIconMapObject(iconMapObject);
System.out.println("Removed icon map object: " + removed);
iconMapObject = null;
}

Kotlin code snippet:

// Remove icon map object
if (iconMapObject != null) {
val removed = locationWindow!!.removeIconMapObject(iconMapObject!!)
println("Removed icon map object: $removed")
iconMapObject = null
}

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 165 of file LocationWindowBinding.java.

◆ removeInputListener()

void com.navigine.idl.java.internal.LocationWindowBinding.removeInputListener ( InputListener listener)
inline

Removes a previously added InputListener.

Parameters
listenerThe InputListener instance to remove InputListener.

Java code snippet:

// Remove input listener
locationWindow.removeInputListener(inputListener);
inputListener = null;
System.out.println("Removed input listener");

Kotlin code snippet:

// Remove input listener
locationWindow!!.removeInputListener(inputListener!!)
inputListener = null
println("Removed input listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 284 of file LocationWindowBinding.java.

◆ removeModelMapObject()

boolean com.navigine.idl.java.internal.LocationWindowBinding.removeModelMapObject ( ModelMapObject modelMapObject)
inline

Removes a model map object from the location view.

Parameters
modelMapObjectThe model instance to remove ModelMapObject.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

boolean removed = locationWindow.removeModelMapObject(modelMapObject);
System.out.println("Removed model map object: " + removed);
modelMapObject = null;

Kotlin code snippet:

println("Removed model: ${locationWindow!!.removeModelMapObject(m)}")
modelMapObject = null

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 235 of file LocationWindowBinding.java.

◆ removePickListener()

void com.navigine.idl.java.internal.LocationWindowBinding.removePickListener ( PickListener listener)
inline

Removes a previously added PickListener.

Parameters
listenerThe PickListener instance to remove PickListener.

Java code snippet:

locationWindow.removePickListener(listeners[i]);
System.out.println("Removed pick listener " + i);

Kotlin code snippet:

locationWindow!!.removePickListener(listener)
println("Removed pick listener $i")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 270 of file LocationWindowBinding.java.

◆ removePolygonMapObject()

boolean com.navigine.idl.java.internal.LocationWindowBinding.removePolygonMapObject ( PolygonMapObject polygonMapObject)
inline

Removes a polygon map object from the location view.

Parameters
polygonMapObjectThe polygon map object instance PolygonMapObject.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

// Remove polygon map object
if (polygonMapObject != null) {
boolean removed = locationWindow.removePolygonMapObject(polygonMapObject);
System.out.println("Removed polygon map object: " + removed);
polygonMapObject = null;
}

Kotlin code snippet:

// Remove polygon map object
if (polygonMapObject != null) {
val removed = locationWindow!!.removePolygonMapObject(polygonMapObject!!)
println("Removed polygon map object: $removed")
polygonMapObject = null
}

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 193 of file LocationWindowBinding.java.

◆ removePolylineMapObject()

boolean com.navigine.idl.java.internal.LocationWindowBinding.removePolylineMapObject ( PolylineMapObject polylineMapObject)
inline

Removes a polyline map object from the location view.

Parameters
polylineMapObjectThe polyline map object instance PolylineMapObject.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

// Remove polyline map object
if (polylineMapObject != null) {
boolean removed = locationWindow.removePolylineMapObject(polylineMapObject);
System.out.println("Removed polyline map object: " + removed);
polylineMapObject = null;
}

Kotlin code snippet:

// Remove polyline map object
if (polylineMapObject != null) {
val removed = locationWindow!!.removePolylineMapObject(polylineMapObject!!)
println("Removed polyline map object: $removed")
polylineMapObject = null
}

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 207 of file LocationWindowBinding.java.

◆ removeSublocationChangeListener()

void com.navigine.idl.java.internal.LocationWindowBinding.removeSublocationChangeListener ( SublocationChangeListener listener)
inline

Removes previously added sublocation change listener.

Parameters
listenerListener instance to remove SublocationChangeListener.

Java code snippet:

locationWindow.removeSublocationChangeListener(listener);
System.out.println("Removed sublocation change listener");

Kotlin code snippet:

locationWindow!!.removeSublocationChangeListener(listener)
println("Removed sublocation change listener")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 312 of file LocationWindowBinding.java.

◆ screenPositionToGlobal()

GlobalPoint com.navigine.idl.java.internal.LocationWindowBinding.screenPositionToGlobal ( android.graphics.PointF point)
inline

Converts screen coordinates (pixels) to WGS84 coordinates.

Parameters
point(x,y) coordinates in screen pixels.
Returns
WGS84 coordinates GlobalPoint.

Java code snippet:

// Convert screen position to WGS84
ScreenPoint screenPoint = new ScreenPoint(100.0, 200.0);
GlobalPoint globalPoint = locationWindow.screenPositionToGlobal(screenPoint);
System.out.printf("Screen position (%.1f, %.1f) converted to WGS84: (%.6f, %.6f)%n",
screenPoint.getX(), screenPoint.getY(), globalPoint.getLatitude(), globalPoint.getLongitude());

Kotlin code snippet:

val screenPoint = ScreenPoint(100.0, 200.0)
val globalPoint = locationWindow!!.screenPositionToGlobal(screenPoint)
println("Screen position (${screenPoint.x}, ${screenPoint.y}) converted to WGS84: (${globalPoint.latitude}, ${globalPoint.longitude})")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 130 of file LocationWindowBinding.java.

◆ selectMapFeature()

boolean com.navigine.idl.java.internal.LocationWindowBinding.selectMapFeature ( String featureId)
inline

Selects a map feature by its feature ID.

Parameters
featureIdThe feature ID from the mapFeaturePickResult PickListener.
Returns
true if the operation is successful, false otherwise.

Java code snippet:

// Select map feature by ID
String featureId = "room_101";
boolean selected = locationWindow.selectMapFeature(featureId);
System.out.println("Selected map feature " + featureId + ": " + selected);

Kotlin code snippet:

// Select map feature by ID
val featureId = "room_101"
val selected = locationWindow!!.selectMapFeature(featureId)
println("Selected map feature $featureId: $selected")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 347 of file LocationWindowBinding.java.

◆ setAttributionAlignment()

void com.navigine.idl.java.internal.LocationWindowBinding.setAttributionAlignment ( AttributionAlignment newAttributionAlignment)
inline

Screen placement of the OSM attribution overlay AttributionAlignment. Default: right + bottom. Visible only in outdoor / outdoor_indoor modes.

Parameters
newAttributionAlignment

Java code snippet:

locationWindow.setAttributionAlignment(alignment);

Kotlin code snippet:

locationWindow!!.attributionAlignment = alignment

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 382 of file LocationWindowBinding.java.

◆ setCamera()

void com.navigine.idl.java.internal.LocationWindowBinding.setCamera ( Camera newCamera)
inline

Current camera position (look-at in WGS84). Camera.

Parameters
newCamera

Java code snippet:

// Set camera position without animation
locationWindow.setCamera(newCamera);
System.out.println("Set camera position to (" + newPoint.latitude + ", " + newPoint.longitude + ") with zoom 50.0, rotation 0°, tilt 0°");

Kotlin code snippet:

// Set camera position without animation
locationWindow!!.camera = newCamera
println("Set camera position to (${newPoint.x}, ${newPoint.y}) with zoom 50.0, rotation 0°, tilt 0°")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 452 of file LocationWindowBinding.java.

◆ setDebugFlag()

static native void com.navigine.idl.java.internal.LocationWindowBinding.setDebugFlag ( DebugFlag flag,
boolean on )
static

Sets the state of a debug flag.

Parameters
flagThe debug flag to set DebugFlag.
onSpecifies whether the debug flag is enabled (true) or disabled (false).

Java code snippet:

LocationWindow.setDebugFlag(DebugFlag.INFOS, true);
LocationWindow.setDebugFlag(DebugFlag.STATS, false);
System.out.println("Updated debug flags on LocationWindow");

Kotlin code snippet:

LocationWindow.setDebugFlag(DebugFlag.INFOS, true)
LocationWindow.setDebugFlag(DebugFlag.STATS, false)
println("Updated debug flags on LocationWindow")

Reimplemented from com.navigine.idl.java.LocationWindow.

◆ setMaxZoomFactor()

void com.navigine.idl.java.internal.LocationWindowBinding.setMaxZoomFactor ( float newMaxZoomFactor)
inline

Maximum zoom level for the location view (pixels per meter).

Parameters
newMaxZoomFactor

Java code snippet:

// Set maximum zoom factor
locationWindow.setMaxZoomFactor(300.0);
System.out.println("Set maximum zoom factor to 300.0");

Kotlin code snippet:

// Set maximum zoom factor
locationWindow!!.maxZoomFactor = 300.0
println("Set maximum zoom factor to 300.0")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 424 of file LocationWindowBinding.java.

◆ setMinZoomFactor()

void com.navigine.idl.java.internal.LocationWindowBinding.setMinZoomFactor ( float newMinZoomFactor)
inline

Minimum zoom level for the location view (pixels per meter).

Parameters
newMinZoomFactor

Java code snippet:

// Set minimum zoom factor
locationWindow.setMinZoomFactor(50.0);
System.out.println("Set minimum zoom factor to 50.0");

Kotlin code snippet:

// Set minimum zoom factor
locationWindow!!.minZoomFactor = 50.0
println("Set minimum zoom factor to 50.0")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 410 of file LocationWindowBinding.java.

◆ setOperatingMode()

void com.navigine.idl.java.internal.LocationWindowBinding.setOperatingMode ( OperatingMode mode)
inline

Sets the operating mode of the location view OperatingMode. Default: indoor_only.

Java code snippet:

locationWindow.setOperatingMode(OperatingMode.OUTDOOR_INDOOR);
System.out.println("Set operating mode to OUTDOOR_INDOOR");

Kotlin code snippet:

locationWindow!!.setOperatingMode(OperatingMode.OUTDOOR_INDOOR)
println("Set operating mode to OUTDOOR_INDOOR")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 102 of file LocationWindowBinding.java.

◆ setPickRadius()

void com.navigine.idl.java.internal.LocationWindowBinding.setPickRadius ( float newPickRadius)
inline

Extra slop around the hit target, in density-independent pixels. Applied as a screen-pixel radius for points/lines and as a margin around a label's real AABB. Default: 5 dp.

Parameters
newPickRadius

Java code snippet:

// Set pick radius
locationWindow.setPickRadius(10.0);
System.out.println("Set pick radius to 10.0 pixels");

Kotlin code snippet:

// Set pick radius
locationWindow!!.pickRadius = 10.0
println("Set pick radius to 10.0 pixels")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 522 of file LocationWindowBinding.java.

◆ setRotateGestureEnabled()

void com.navigine.idl.java.internal.LocationWindowBinding.setRotateGestureEnabled ( boolean newRotateGestureEnabled)
inline

Specifies whether rotation gestures (e.g., two-finger rotation) are enabled.

Parameters
newRotateGestureEnabled

Java code snippet:

// Set rotate gesture enabled
locationWindow.setRotateGestureEnabled(true);
System.out.println("Set rotate gesture enabled to true");

Kotlin code snippet:

// Set rotate gesture enabled
locationWindow!!.rotateGestureEnabled = true
println("Set rotate gesture enabled to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 466 of file LocationWindowBinding.java.

◆ setScrollGesturesEnabled()

void com.navigine.idl.java.internal.LocationWindowBinding.setScrollGesturesEnabled ( boolean newScrollGesturesEnabled)
inline

Specifies whether scroll gestures (e.g., pan gesture) are enabled.

Parameters
newScrollGesturesEnabled

Java code snippet:

// Set scroll gestures enabled
locationWindow.setScrollGesturesEnabled(true);
System.out.println("Set scroll gestures enabled to true");

Kotlin code snippet:

// Set scroll gestures enabled
locationWindow!!.scrollGesturesEnabled = true
println("Set scroll gestures enabled to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 494 of file LocationWindowBinding.java.

◆ setStickToBorder()

void com.navigine.idl.java.internal.LocationWindowBinding.setStickToBorder ( boolean newStickToBorder)
inline

Specifies whether sublocation content sticks to screen borders.

Parameters
newStickToBorder

If true, content sticks to screen bounds; if false, content is centered. Default: true.

Java code snippet:

// Set stick to border property
locationWindow.setStickToBorder(true);
System.out.println("Set stick to border to true");

Kotlin code snippet:

// Set stick to border property
locationWindow!!.stickToBorder = true
println("Set stick to border to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 438 of file LocationWindowBinding.java.

◆ setSublocationId()

void com.navigine.idl.java.internal.LocationWindowBinding.setSublocationId ( int id)
inline

Method is used to switch the location view between sublocations (e.g., floors).

Parameters
idSublocation unique identifier Sublocation.

Java code snippet:

// Set sublocation ID to switch between floors
locationWindow.setSublocationId(1);
System.out.println("Set sublocation ID to 1 (first floor)");

Kotlin code snippet:

// Set sublocation ID to switch between floors
locationWindow!!.setSublocationId(1)
println("Set sublocation ID to 1 (first floor)")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 88 of file LocationWindowBinding.java.

◆ setTiltGesturesEnabled()

void com.navigine.idl.java.internal.LocationWindowBinding.setTiltGesturesEnabled ( boolean newTiltGesturesEnabled)
inline

Specifies whether tilt gestures (e.g., two-finger parallel pan) are enabled.

Parameters
newTiltGesturesEnabled

Java code snippet:

// Set tilt gestures enabled
locationWindow.setTiltGesturesEnabled(true);
System.out.println("Set tilt gestures enabled to true");

Kotlin code snippet:

// Set tilt gestures enabled
locationWindow!!.tiltGesturesEnabled = true
println("Set tilt gestures enabled to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 480 of file LocationWindowBinding.java.

◆ setZoomFactor()

void com.navigine.idl.java.internal.LocationWindowBinding.setZoomFactor ( float newZoomFactor)
inline

Specifies the zoom level of the location view, in pixels per meter. Default: approximately 100 meters across the screen width.

Parameters
newZoomFactor

Java code snippet:

// Set zoom factor
locationWindow.setZoomFactor(150.0);
System.out.println("Set zoom factor to 150.0");

Kotlin code snippet:

// Set zoom factor
locationWindow!!.zoomFactor = 150.0
println("Set zoom factor to 150.0")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 396 of file LocationWindowBinding.java.

◆ setZoomGesturesEnabled()

void com.navigine.idl.java.internal.LocationWindowBinding.setZoomGesturesEnabled ( boolean newZoomGesturesEnabled)
inline

Specifies whether zoom gestures (e.g., two-finger pinch) are enabled.

Parameters
newZoomGesturesEnabled

Java code snippet:

// Set zoom gestures enabled
locationWindow.setZoomGesturesEnabled(true);
System.out.println("Set zoom gestures enabled to true");

Kotlin code snippet:

// Set zoom gestures enabled
locationWindow!!.zoomGesturesEnabled = true
println("Set zoom gestures enabled to true")

Reimplemented from com.navigine.idl.java.LocationWindow.

Definition at line 508 of file LocationWindowBinding.java.

Member Data Documentation

◆ weakBuildingListenerSubscription

Subscription<BuildingListener> com.navigine.idl.java.internal.LocationWindowBinding.weakBuildingListenerSubscription
protected
Initial value:
= new Subscription<BuildingListener>() {
@Override
public NativeObject createNativeListener(BuildingListener listener) {
return createBuildingListener(listener);
}
}

Definition at line 74 of file LocationWindowBinding.java.

◆ weakCameraListenerSubscription

Subscription<CameraListener> com.navigine.idl.java.internal.LocationWindowBinding.weakCameraListenerSubscription
protected
Initial value:
= new Subscription<CameraListener>() {
@Override
public NativeObject createNativeListener(CameraListener listener) {
return createCameraListener(listener);
}
}

Definition at line 58 of file LocationWindowBinding.java.

◆ weakInputListenerSubscription

Subscription<InputListener> com.navigine.idl.java.internal.LocationWindowBinding.weakInputListenerSubscription
protected
Initial value:
= new Subscription<InputListener>() {
@Override
public NativeObject createNativeListener(InputListener listener) {
return createInputListener(listener);
}
}

Definition at line 50 of file LocationWindowBinding.java.

◆ weakPickListenerSubscription

Subscription<PickListener> com.navigine.idl.java.internal.LocationWindowBinding.weakPickListenerSubscription
protected
Initial value:
= new Subscription<PickListener>() {
@Override
public NativeObject createNativeListener(PickListener listener) {
return createPickListener(listener);
}
}

Definition at line 42 of file LocationWindowBinding.java.

◆ weakSublocationChangeListenerSubscription

Subscription<SublocationChangeListener> com.navigine.idl.java.internal.LocationWindowBinding.weakSublocationChangeListenerSubscription
protected
Initial value:
= new Subscription<SublocationChangeListener>() {
@Override
public NativeObject createNativeListener(SublocationChangeListener listener) {
return createSublocationChangeListener(listener);
}
}

Definition at line 66 of file LocationWindowBinding.java.


The documentation for this class was generated from the following file: