Interface PointCloudLayer
com.yandex.mapkit.point_cloud_layer
public interface PointCloudLayer
Methods
Method Detail
activate
public void activate (boolean on)
Switches the layer on the map on or off.
clear
public void clear ()
Clears the current "point cloud".
isValid
public boolean isValid ()
Tells if this PointCloudLayer is valid or no.
Any other method (except for this one) called on an invalid PointCloudLayer will throw java.lang.RuntimeException. An instance becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.update
public void update (Response response)
Updates the layer.
The given response from the online search generates the tile URL pattern from the response. If the pattern was not changed, it does nothing.The given response from offline search requests a new point cloud from offline search. If the point cloud was not updated, it does nothing.In both cases, if the pattern or parameters were changed, it clears the current layer, determines if "point cloud" should be shown, and shows it.