public class GdxModelLayer
extends org.oscim.layers.Layer
implements org.oscim.map.Map.UpdateListener
| Constructor and Description |
|---|
GdxModelLayer(org.oscim.map.Map map) |
| Modifier and Type | Method and Description |
|---|---|
ModelPosition |
addModel(java.lang.String path,
double lat,
double lon,
float rotation)
Add model with specified path and position.
|
ModelPosition |
addModel(org.oscim.model.VtmModels model,
double lat,
double lon,
float rotation) |
void |
onMapEvent(org.oscim.event.Event ev,
org.oscim.core.MapPosition pos) |
void |
refreshModelInstances() |
void |
removeModel(ModelPosition position) |
public ModelPosition addModel(org.oscim.model.VtmModels model, double lat, double lon, float rotation)
public ModelPosition addModel(java.lang.String path, double lat, double lon, float rotation)
public void onMapEvent(org.oscim.event.Event ev,
org.oscim.core.MapPosition pos)
onMapEvent in interface org.oscim.map.Map.UpdateListenerpublic void refreshModelInstances()
public void removeModel(ModelPosition position)