I am wondering if it is possible to determine if a GeoObject has been removed from view based on the current culling distance setting . I am using the Android SDK.
The api has methods for determining if the GeoObject is in view but I would need to know it it will ever be in view based on the current settings.
Thanks in advance,
Harry
C
Christian Ebner
said
about 8 years ago
Hello Harry,
Unfortunatly there is no such feature. As a workaround you could go through all your GeoObjects on a location-update and check if the distance-value is smaller than the value you set in the SDK as a culling-distance.
Hope that helps, Chris
H
Harison Kitchen
said
about 8 years ago
Hi Chris,
Thank you for you help. Does the culling distance calculation factor in the altitude of the current location and the altitude of the GeoObjects?
Thanks,
Harry
C
Christian Ebner
said
about 8 years ago
Yes it does. The culling distance factors in all GeoObjects wherever they are located in the 3d-space as long as they are positioned within that range.
Harison Kitchen