=== Nexuvibe OSM Location Picker for WooCommerce ===
Contributors: nexuvibe
Tags: woocommerce, location, map, openstreetmap, delivery, checkout, qr-code, tracking
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 2.18.0
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Allows customers to pick a location on OpenStreetMap during WooCommerce checkout and generates QR code for delivery.

== Description ==

Nexuvibe OSM Location Picker is a powerful WordPress plugin that integrates seamlessly with WooCommerce to provide an interactive map-based location picker during checkout. Customers can easily select their delivery location using OpenStreetMap, and the plugin generates QR codes for easy location tracking.

= Key Features =

* Interactive OpenStreetMap integration for location selection
* QR code generation for delivery locations
* Support for multiple map providers (OpenStreetMap, Google Maps)
* RTL (Right-to-Left) language support, including Persian/Farsi
* Order tracking page with shortcode support
* Email integration with location tracking links
* Admin dashboard with location management
* Mobile-responsive design
* No API keys required for OpenStreetMap

= How It Works =

1. During checkout, customers see an interactive map
2. Customers can search for addresses or use their current location
3. Selected location is saved with the order
4. QR codes can be generated for easy delivery tracking
5. Order tracking page allows viewing delivery locations

= Requirements =

* WordPress 5.0 or higher
* WooCommerce 5.0 or higher
* PHP 7.2 or higher

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/nexuvibe-osm-location-picker`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to WooCommerce > OSM Location Picker to configure settings
4. The plugin will automatically create a tracking page

== Frequently Asked Questions ==

= Do I need an API key? =

No API key is required for OpenStreetMap. Google Maps integration is optional and doesn't require an API key for basic usage.

= Can I customize the map appearance? =

Yes, the plugin includes CSS files that can be customized. You can also use WordPress filters to modify map settings.

= Does it work with RTL languages? =

Yes, the plugin fully supports RTL languages including Persian/Farsi.

= Can I restrict who can access the tracking page? =

Yes, you can configure access control in the plugin settings to allow everyone, logged-in users only, or specific user roles.

== Screenshots ==

1. Checkout page with interactive map
2. Order details with location information
3. QR code generation for delivery locations
4. Admin settings page

== Changelog ==

= 2.18.0 =
* Added new "Map Settings" tab in admin panel
* Setting to choose default map layer/style
* Setting to enable/disable address autocomplete
* Setting to enable/disable auto-location detection
* Settings for default map coordinates and zoom level
* All settings now persist across different tabs

= 2.17.0 =
* Added address autocomplete with dropdown suggestions
* Shows up to 8 address suggestions as you type
* Keyboard navigation support (arrow keys, Enter, Escape)
* Smart address formatting with icons for different place types
* Country bias for Iran when using Persian locale
* Viewbox bias to prefer results near current map view

= 2.16.0 =
* Improved GPS accuracy from 50m to 20m threshold for street-level precision
* Increased max attempts from 5 to 10 for better accuracy
* Added minimum wait time (3 seconds) to allow GPS to stabilize
* Increased timeout from 15s to 25s for better GPS fix
* Fixed location showing on wrong side of street

= 2.15.0 =
* Add multiple map tile layers with layer switcher control
* Added 8 different map styles: Standard, Humanitarian, Topographic, Satellite, Esri Street, Light, Dark, Smooth
* Users can now switch between map styles including satellite view
* Added Labels overlay for satellite view

= 2.14.0 =
* Auto-detect user location when checkout page loads
* Location detection starts automatically in background
* No need to click "My Location" button - it's automatic now

= 2.13.0 =
* Improve geolocation accuracy using watchPosition instead of getCurrentPosition
* Increase GPS timeout from 5 to 15 seconds for better accuracy
* Add accuracy feedback during location detection
* Fix issue where "My Location" button showed incorrect position

= 2.12.0 =
* Add HPOS (High-Performance Order Storage) compatibility for WooCommerce

= 2.11.0 =
* Add general tab guidance for custom tracking shortcode usage

= 2.10.0 =
* Fix missing QR feature icon
* Add settings link to plugins list

= 2.9.0 =
* Match welcome page style with Nexu Mail SMTP

= 2.8.0 =
* Add welcome page with custom image

= 2.7.0 =
* Split settings into separate tabs

= 2.6.0 =
* Fix switch vertical alignment in settings

= 2.5.0 =
* Improve switch label alignment

= 2.4.0 =
* Align switch labels vertically

= 2.3.0 =
* Fix switch styles rendering in admin settings

= 2.2.0 =
* Convert settings checkboxes to modern switches

= 2.1.0 =
* Modern admin interface redesign matching Nexu Activity Log style
* Improved header banner with plugin icon
* Enhanced section styling with gradients
* Better form layout and spacing
* Updated button styles
* Improved RTL support

= 2.0.0 =
* Initial release
* OpenStreetMap integration
* QR code generation
* RTL language support
* Email integration
* Order tracking functionality

== Upgrade Notice ==

= 2.0.0 =
Initial release of Nexuvibe OSM Location Picker for WooCommerce.
