Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.