Skip to content

A WordPress plugin that integrates Leaflet as a widget for Elementor.

License

Notifications You must be signed in to change notification settings

Joolace/LeafLentor

Repository files navigation

Leaflet Map Widgets for Elementor

License

LeafLentor is a user-friendly WordPress plugin that seamlessly integrates the Leaflet mapping library with Elementor, allowing you to create beautiful, interactive maps for your website without any coding.

License

License: GPLv2 (or later) License URI: https://www.gnu.org/licenses/gpl-2.0.html

Features

  • Three Elementor Widgets:
    • Leaflet Map: Embed a Leaflet map effortlessly.
    • Leaflet Marker: Add custom markers with popups.
    • Leaflet Routing: Enable routing functionality.
    • Leaflet GeoJSON: Integrate GeoJSON data into your maps.
  • Fullscreen Mode: View maps in fullscreen.
  • Customizable: Tailor map appearance to fit your site's design.

Installation

  1. Download the latest release or clone this repository.
  2. Upload the ZIP file via WordPress dashboard under Plugins > Add New.
  3. Activate the plugin.
  4. Access widgets within Elementor editor.

Usage

  1. Drag and drop the Leaflet Map widget onto your page.
  2. Configure map settings: choose map provider, set initial zoom level.
  3. Add markers using the Leaflet Marker widget, customize icons and popups.
  4. Integrate GeoJSON data using the Leaflet GeoJSON widget for advanced mapping needs.
  5. Enable routing (optional) with the Leaflet Routing widget for directions.

Dependencies

This plugin relies on the following libraries:

  • Leaflet
  • Leaflet Routing Machine
  • Fullscreen.js

Support & Contributions

  • Leave a review: Your feedback is valuable.
  • Report issues: Open GitHub issues for problems encountered.
  • Contribute: Fork the repository and submit pull requests.

Need Help?

Ongoing development is underway. Reach out for support or feature requests.

FAQs

What is LeafLentor Widget?

LeafLentor integrates Leaflet maps seamlessly with Elementor, enabling easy creation and embedding of interactive maps in WordPress.

Why should I use LeafLentor Widget?

  • Ease of Use: No coding required; intuitive interface for adding markers, custom icons, and popups.
  • Customization: Adapt map styles to match your website's aesthetic.
  • Flexibility: Leverages Leaflet's lightweight yet powerful mapping capabilities.
  • Integration: Works seamlessly within Elementor for streamlined map creation.

What features does LeafLentor offer?

  • Map Types: Choose from various providers (OpenStreetMap, Mapbox).
  • Markers: Add markers with custom icons and informative popups.
  • GeoJSON: Integrate external geographic data seamlessly.
  • Controls: Include zoom, layer switching, and interactive elements.
  • Responsive Design: Maps adapt beautifully across devices.

How do I get started with LeafLentor?

  • Install: Download and install from WordPress repository or manually upload.
  • Activate: Activate within WordPress dashboard.
  • Create a Map: Use LeafLentor widget in Elementor to design maps.
  • Customize: Adjust settings, add markers, style to preference.

Is LeafLentor free?

Yes, LeafLentor is open-source and free to use.

Where can I find support or report issues?

Visit our GitHub page for support and issue reporting: https://github.com/Joolace/leaflet-elementor

Can I contribute to LeafLentor?

Absolutely! Fork the repository on GitHub and submit pull requests for improvements.

Feel free to suggest any further adjustments or additions to these FAQs!

NOTE: This is my first WordPress plugin. I'm still learning PHP and JavaScript and welcome help from the community.

Donate

Donate