EffortLess Interactive Map Locator
·
Display an interactive map of locations with custom markers and PNG export functionality.
EffortLess Interactive Map Locator is a WordPress plugin that lets you manage and display any type of location on an interactive Leaflet map.
Key Features
- Interactive Map: Display a Leaflet map with OpenStreetMap or OpenTopoMap tiles
- Location Management: Dedicated Custom Post Type for managing locations
- Custom Markers: Blue markers for standard locations, red markers for highlighted ones
- Enhanced Popups: Display title, image, label, and link to an associated article
- PNG Export: Export the complete map as a PNG image (full map view only)
- Flexible Shortcode: Display all locations or a single one, with width, height, zoom, and center options
- Responsive: Automatically adapts to parent container size
- Customizable: Configurable height, width, zoom, map centering, tile layer, and pin visibility
Shortcode Usage
Display all locations (with export button): [eliml_map_locator]
Display a specific location: [eliml_map_locator id=”123″]
Advanced options: [eliml_map_locator zoom=”14″ height=”500px” width=”800px”] [eliml_map_locator center=”45.8375,4.7792″ zoom=”13″] [eliml_map_locator pins=”no”]
Shortcode Parameters
id: Location post ID to display (optional — omit to display all locations)zoom: Initial zoom level (default: 16)height: Map height — any CSS unit, e.g. “600px”, “80vh” (default: 600px or parent height)width: Map width — any CSS unit, e.g. “100%”, “800px” (default: 100%)center: Map center as “latitude,longitude” (optional — auto-calculated from locations)pins: Set to “no” to hide all location markers (default: “yes”)
Admin Interface
- Custom Post Type: “Locations” in the WordPress menu
- Custom Fields:
- Latitude and Longitude
- Label / Note (displayed in the map popup)
- Associated article (filtered by configurable category slugs)
- “Highlighted” status (displays a red marker)
- Featured Image: Displayed in the map popup
- Shortcode Column: Copy-paste shortcodes directly from the Locations list
- Shortcode Reference: Parameter hint table shown below the Locations list
Credits
- Leaflet: https://leafletjs.com/
- OpenTopoMap: https://opentopomap.org/
- Leaflet.easyPrint: https://github.com/rowanwins/leaflet-easyPrint
- OpenStreetMap: https://www.openstreetmap.org/
Support
For any questions or support requests, please contact domclic.
Development
This plugin is developed and maintained by domclic. Contributions are welcome.
License
This plugin is distributed under the GPLv2 license or later.
Additional Notes
Browser Compatibility
- Chrome/Edge: Full support
- Firefox: Full support
- Safari: Full support
- Mobile browsers: Responsive design supported
Performance
- Lightweight: Minimal impact on page load times
- Optimized: Efficient marker rendering
- Local assets: Leaflet and easyPrint loaded from bundled vendor files — no external CDN requests
Privacy
- No external data collection
- Map tiles loaded from OpenTopoMap servers
- No cookies or tracking