Integrating a Leaflet.js map (without the plugin)
-
Can someone please advise on how to incorporate a leaflet map into my WordPress site? I tested the Leaflet.js library and made the map in HTML… it has the basic map baselayers, layer overlays, and markers coming from a GeoJSON file. But I also created more advanced things using HTML/JavaScript, like HTML form elements to filter the data, and a table to display the feature’s data (for when the user clicks on a “read more” button in a marker popup). So I’m pretty sure the leaflet plugin doesn’t support those more advanced things. But it’s been a while since I’ve customized WordPress… would an iframe be the way to go? A custom page in a child theme?
… I want to continue developing this with HTML/CSS/JS and not be forced into a plugin. Thanks!
- The topic ‘Integrating a Leaflet.js map (without the plugin)’ is closed to new replies.