OpenStreetMap & Nominatim integration for Vantage WordPress theme (https://www.appthemes.com/themes/vantage/)
Geocoder | Map |
---|---|
- /wp-content/themes/appthemes-vantage/includes/geo/geocoders/nominatim-geocoder.php
- /wp-content/themes/appthemes-vantage/includes/geo/map-providers/openstreetmap.php
- /wp-content/themes/appthemes-vantage/includes/geo/map-providers/openstreetmap.js
- /wp-content/themes/appthemes-vantage/includes/maps/class-openstreetmap.php
- /wp-content/themes/appthemes-vantage/includes/geo/load.php
- Find: require_once (dirname(__FILE__) . '/map-providers/google-maps.php');
- On next line, add: require_once (dirname(__FILE__) . '/map-providers/openstreetmap.php');
- /wp-content/themes/appthemes-vantage/includes/maps/load.php
- Add to $load_files array: 'class-openstreetmap.php'
- Open 'Vantage' -> 'Geo Services' in admin panel
- Select 'Nominatim' as Geocoder and 'OpenStreetMap' as Map provider
Made and tested on Vantage 4.2.13
This project is licensed under the MPL-2.0 license.
It was made during my internship at Wux and permission for release has been granted.