[GIS] Adding button to move map Direction in Leaflet

esri-leafletleafletleaflet-draw

enter image description here

I want direction button in my Leaflet map so user can move map in mobile or desktop browser easily.

I am new and do not know how to start. Please guide me.

Best Answer

You can start here: Leaflet.Pancontrol. Check the code repository and download code to your plugins folder inside leaflet folder. Then in code just reference to the js file/files.