Select to view content in your preferred language

navigationPointHeightFactor is not working

257
1
04-01-2022 12:53 AM
syamkumarsurendran
New Contributor

Hi Team,

The navigationPointHeightFactor does not work if I use "autoPanMode = LocationDisplay.AutoPanMode.COMPASS_NAVIGATION".

I set navigationPointHeightFactor to "0.0" and the current location is located in the middle of the screen instead of the bottom.  Here is my code. 

mapView.locationDisplay.apply {
autoPanMode = LocationDisplay.AutoPanMode.COMPASS_NAVIGATION
navigationPointHeightFactor = 0.0f
startAsync()
}

 Note : It is working if i am using "autoPanMode = LocationDisplay.AutoPanMode.NAVIGATION".

Please help me for moving current location to bottom of screen  if autoPanMode = LocationDisplay.AutoPanMode.COMPASS_NAVIGATION

0 Kudos
1 Reply
RamaChintapalli
Esri Contributor

Hi,
The navigationPointHeightFactor should only work in NAVIGATION mode. There seems to be some misleading information in the API reference doc. We will correct it.

Thanks
Rama

0 Kudos