public class AttachmentBillboardLayer
extends AbstractLayer
implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
Constructor and Description |
---|
AttachmentBillboardLayer(MapView view)
Construct an attachment layer that shows up as a bilboard when in driving mode
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose of the layer.
|
boolean |
getClampToGroundAtNadir() |
void |
onSharedPreferenceChanged(android.content.SharedPreferences p,
java.lang.String key) |
void |
setClampToGroundAtNadir(boolean v) |
void |
setSelfMarkerDistance(double distanceMeters)
Set the distance from the self marker billboards should be rendered
|
public AttachmentBillboardLayer(MapView view)
view
- the mapview to usepublic void dispose()
public void setSelfMarkerDistance(double distanceMeters)
distanceMeters
- Distance in meters (NaN to always render)public void onSharedPreferenceChanged(android.content.SharedPreferences p, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener
public void setClampToGroundAtNadir(boolean v)
public boolean getClampToGroundAtNadir()