Play with Maps in React: Online and Offline using Leaflet libraries

Adding a LeafletMap Component with Markers and PopUps

  • A url — The url is used to make the API call and get the tiles data for the map.
  • An attribution — This string is used to attribute to the credits from where the url is being used.

Creating Clusters of Markers

Making the Map available Offline




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
WalkingTree Technologies

WalkingTree Technologies


WalkingTree is an IT software and service provider recognized for its passion for technology.