Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jxpsert/vantage-osm
OpenStreetMap maps for the WordPress theme 'Vantage' by AppThemes
https://github.com/jxpsert/vantage-osm
openstreetmap siteorigin vantage wordpress
Last synced: about 1 month ago
JSON representation
OpenStreetMap maps for the WordPress theme 'Vantage' by AppThemes
- Host: GitHub
- URL: https://github.com/jxpsert/vantage-osm
- Owner: jxpsert
- License: mpl-2.0
- Created: 2024-04-18T19:57:42.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-04-19T13:01:52.000Z (8 months ago)
- Last Synced: 2024-10-13T19:24:13.937Z (2 months ago)
- Topics: openstreetmap, siteorigin, vantage, wordpress
- Language: PHP
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# vantage-osm
OpenStreetMap & Nominatim integration for Vantage WordPress theme (https://www.appthemes.com/themes/vantage/)
| Geocoder | Map |
|----------|--------|
|![preview](./preview-geocoder.png) | ![preview](./preview-map.png) |## Installation:
### Add files:
- /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
### Edit files:
- /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'
## Usage:
- Open 'Vantage' -> 'Geo Services' in admin panel
- Select 'Nominatim' as Geocoder and 'OpenStreetMap' as Map provider## Compatibility
Made and tested on Vantage 4.2.13## License
This project is licensed under the [MPL-2.0](./LICENSE) license.
It was made during my internship at [Wux](https://wux.nl/) and permission for release has been granted.