Skip to content

indictranstech/map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###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.

  1. bench get-app map https://github.com/indictranstech/map.git
  2. bench install-app map
    or install from frappe desk installer.
  3. bench migrate

###Configuration Steps

Sign up for Free Genoanmes API

  1. Sign up for free api account on "http://www.geonames.org/login"
  2. You will receive confirmation email from geonames on your registered email address.
  3. 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)

add API key in map settiongs

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published