I wanting to create an app which displays a map and on top of this map, the roads and points of interests will be painted as lines and ovals. These lines and ovals will have listeners attached to them so the user can drag them around or delete them.
I am using openstreetmaps with osmdroid however it seems to be exactly the same as Google Maps.
I was thinking of extending the OverlayItem class to represent a point of interest or a road. The Overlay class would be extended and contain an ArrayList of these extended OverlayItems.
The draw method of the Overlay class would be overridden and would paint all of the OverlayItem contained in the arraylist.
This Overlay class is then added to the MapView.
I am not sure if this would work because a lot of tutorials use an ItemizedOverlay. What exactly is this and should I be using it?
Thanks