Class to override to change the marker icon.
◆ MarkerViewAdapter()
com.pikkart.ar.geo.MarkerViewAdapter.MarkerViewAdapter |
( |
Context |
context, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
MarkerViewAdapter constructor.
- Parameters
-
context | |
width | The width of the icon. |
height | The height of the icon. |
◆ getMarkerView()
View com.pikkart.ar.geo.MarkerViewAdapter.getMarkerView |
( |
| ) |
|
|
protected |
Call to obtain the ImageView with id equals to "image" and change the image.
◆ getView()
View com.pikkart.ar.geo.MarkerViewAdapter.getView |
( |
GeoElement |
geoElement | ) |
|
Override to modify the image of MarkerView depending on geoElement.
◆ getSelectedView()
View com.pikkart.ar.geo.MarkerViewAdapter.getSelectedView |
( |
GeoElement |
geoElement | ) |
|
Override to modify the image of MarkerView depending on geoElement when selected.