== Description ==
### To set up:
* Use existing View connected to a form with an Address field
* Switch View Type, select Maps
* Add Address parent field to the Address zone
* Save the View
* Voilà
### Map Icons
GravityView Maps uses map icons from the [Maps Icons Collection by Nicolas Mollet](https://mapicons.nicolasmollet.com/). By default, a pre-selection of about 100 icons (from more than 700 available icons) has been added to the plugin.
== Installation ==
1. Upload plugin files to your plugins folder, or install using WordPress' built-in Add New Plugin installer
2. Activate the plugin
3. Configure "Maps" via the Maps metabox when editing a View
== Changelog ==
= 3.0 on September 19, 2023 =
* Fixed: UI elements not showing on the Map when JavaScript assets are not loaded in the correct order
* Fixed: Entries and pins stop loading after seeing no results when using the "search as map moves" feature
* Fixed: Server error when using the "search as map moves" feature if the View's "direct access" setting is not set to "public"
* Fixed: CSS styling issue affecting map zoom controls
* Updated: [Foundation](https://www.gravitykit.com/foundation/) to version 1.2.4
__Developer Updates:__
* Added: CSS class `gk-hide-individual-entries` to the `gv-map` container when no fields are configured in the Map View
* Modified:
- Template files updated to use the GravityView 2.0 template structure
- Templates now have access to the `$gravityview` and `\GV\Template_Context` global objects
- Template location changed from `templates/` to `templates/views/map/`
- Base template for the Map View renamed from `map-view.php` to `map.php`
* Renamed hooks while maintaining backward compatibility:
- `gravityview_entry_class` to `gravityview/template/map/entry/class`
- `gravityview_map_body_before` to `gravityview/template/map/body/before`
- `gravityview_map_body_after` to `gravityview/template/map/body/after`
- `gravityview_map_entry%sbefore` to `gravityview/template/map/entry%sbefore`
- `gravityview_map_entry%safter` to `gravityview/template/map/entry%safter`
- `gravityview_map_render_div` to `gk/gravitymaps/render/map-canvas`