In ArcGis we have snapping feature thats allow us to connect new drawing item to another overlay on map. here is detail of this feature. ArcGIS snapping feature
but in osmdroid how can i use this structure? i find this document of osmdroid. but i need sample code to find how to use snapping in osmdroid.