###Introduction:
This Leaflet Map app will help you primarily to geo-tag your addresses associated with Customer, Warehouse, Vendor, User etc. This app will use latitude and longitude of address to Geo-Tag it. Pin-code to Geo-location and vice versa can happen and this is powered by GeoNames API (freely available under CCA 3.0).
###Features:
- Making address on map interface.
- Locating any address using Pincode.
- Exact marking of location by moving map marker.
- Geo-tagging of address available in ERPNext.
![Map of address form ](map/public/js/images/add link of map.png)
###Basic flow:
In "Locate Address On Map" form, user can select address from master and display it on Map.
Map will be displayed and marker will be set on your address location using Pincode/Zipcode provided in address master.
User can move marker on map to pin-point exact location.
URL or Link of "Locate Address On Map" can be used in any form.
###Depends on
- Frappe (To install: bench page )
- ERPNext
- python module: requests
###Installation Note: Compatible with frappe 5 and above.
- bench get-app map https://github.com/indictranstech/map.git
- bench install-app map
or install from frappe desk installer. - bench migrate
###Configuration Steps
- Sign up for free api account on "http://www.geonames.org/login"
- You will receive confirmation email from geonames on your registered email address.
- login and activate your account for api
![Register geonames](map/public/js/images/register geonames api.png)
![confrmation email](map/public/js/images/confermation email.png)
![Activate account](map/public/js/images/activate account for api.png)
Goto Map > setup > Map Settings: Set Api Key here.
Add link field of "Locate Address On Map" on any form
![Geo Tagging](map/public/js/images/geo tagging.png)