Questions tagged [overlayitem]
48 questions
0
votes
2 answers
Multiple drawables on my curent location
I have a MapActivity where i get the current location and i pin a drawable on it. The thing is that when my location is changed ( onchangedlocation method ) there appears another pinpoint on the map but the first one does not disappear. Another…

stanga bogdan
- 724
- 2
- 8
- 26
0
votes
2 answers
How to create its own Marker for OverlayItem in OsmDroid
I have the following code :
ArrayList items = new ArrayList();
GeoPoint geoPoint = new GeoPoint(data.getPosition().longitude, data.getPosition().latitude, data.getPosition().altitude);
OverlayItem overlayItem = new…

Bibu
- 1,249
- 2
- 17
- 40
0
votes
1 answer
Android create subclass for OverlayItem
i will like to pass other than title and snippet value to the OverlayItem, i go through some search i found out that creating subclass for OverlayItem could be the solution. But i have no idea how to write it.
VenueMapActivity.class
public void…

Eric
- 1,547
- 2
- 18
- 34