Maps in Leaflet

A picture is worth a thousand words. A map is worth even more.

 

The demand for and frequency of integrating interactive maps into web and mobile applications is rising. Couple with that the desire of software developers and their customers to customise the appearance, functionality, features and finer details of the integrated interactive maps and the appropriate solution that comes to mind is a JavaScript library for maps.

Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps.

Leaflet characteristics

Leaflet has the following characteristics:

  • It is lightweight and established (mature).
  • It is designed with emphasis placed on simplicity, performance and usability.
  • It caters for customisation, integration of AfriGIS services and configuration (of search bars, context menus and zoom and pan controls, for instance).
  • As stated on the Leaflet website, Leaflet works efficiently across all major desktop and mobile platforms, can be extended with lots of plug-ins, has a beautiful, easy to use and well-documented API.

Examples: AfriGIS Maps and Leaflet

The following resources provide instructive examples on how to use AfriGIS Maps together with the open-source Leaflet JavaScript library to incorporate interactive, mobile-friendly and customisable maps into web and mobile applications.

Authentication

These products make use of an AuthKey for authentication. To integrate, sign up for a free trial account by contacting [email protected]

For detailed integration instructions using an AuthKey, please click on the following link: https://developers.afrigis.co.za/authkey-authentication/