=== Easy Route Map ===
Contributors: baxtersweb
Tags: maps, openstreetmap, leaflet, routes, travel
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create beautiful OpenStreetMap route maps directly from your WordPress posts, pages, and custom post types.

== Description ==

Easy Route Map helps you create interactive route maps connected directly to your WordPress content.

Instead of creating separate maps and embedding them manually, Easy Route Map lets you manage route points directly inside posts, pages, or custom post types.

Perfect for:

* Travel itineraries
* Safari routes
* Hiking trails
* Cycling routes
* Road trips
* Delivery routes
* Multi-location guides

Easy Route Map uses OpenStreetMap and Leaflet, so no Google Maps API key is required.

= Features =

* Interactive OpenStreetMap route maps
* Add route points directly inside WordPress content
* Visual location picker
* Route lines between points
* Titles and descriptions for each point
* Custom route colour, map height, border radius, and marker label settings
* Works with custom post types
* One-click field setup
* Lightweight frontend output

= Requirements =

Easy Route Map currently requires:

* Advanced Custom Fields
* ACF OpenStreetMap Field

The setup screen will guide you through installing and configuring the required fields.

Future versions aim to include built-in route fields without additional dependencies.

== Installation ==

1. Upload and activate Easy Route Map.
2. Open the Easy Route Map admin page.
3. Check the requirements.
4. Click "Set up ACF fields for me".
5. Add route points to your content.
6. Display the map using:

[easy_route_map]

== Frequently Asked Questions ==

= Do I need a Google Maps API key? =

No. Easy Route Map uses OpenStreetMap.

= Does this work with custom post types? =

Yes. Easy Route Map works with posts, pages, and custom post types.

= Can I create travel itineraries? =

Yes. Travel routes and itineraries are one of the main use cases.

= Can I customise the map appearance? =

Yes. You can change the route colour, marker colour, map height, border radius, and marker label from the settings.

For map height, include the CSS unit. Examples: 500px, 70vh, or 40rem.

== Screenshots ==

1. Interactive OpenStreetMap route with connected stops.
2. Guided Easy Route Map setup screen.
3. Adding route points using the visual map picker.

== Changelog ==

= 1.0.5 =
* Added map height setting.
* Added border radius setting.
* Added marker label setting with custom label support.

= 1.0.4 =
* Improved setup experience.
* Added dedicated admin menu.
* Improved generated field layout.
* Improved default map settings.

= 1.0.3 =
* Prevent duplicate field setup.

= 1.0.2 =
* Improved onboarding.
* Added uninstall data preference.

= 1.0.1 =
* Added automated ACF field setup.

= 1.0.0 =
* Initial release.