lriaudel / cpt-to-map-store

An another Store Locator but with Open Street Map & Leaflet available on wp.org : https://wordpress.org/plugins/cpt-to-map-store/
GNU General Public License v3.0
3 stars 1 forks source link

Custom Post Type to Map Store

An another Store Locator on WordPress but with OpenStreetMap & Leaflet and Meta Fields

WordPress repository: (https://wordpress.org/plugins/cpt-to-map-store/)


The plugin allows to :

  1. Generate a GEOJson feed from coordinates recorded in the sample posts.
  2. Display this feed on a map with a shortcode.

Fonctionality

Hook

Example:

function bindPopup_content_filter( $bindPopup_content, $post_id ) {
    return "Yeahhhhh";
}

add_filter( 'cpt_to_map_store_bindPopup_content', 'bindPopup_content_filter', 10, 2 );

Cache

This plugin works with Tiles Proxy for OpenStreetMap for put in cache the map tiles.

Screenshot

First page admin

Admin > Settings > CPT to Map Store Screenshot admin 1

Second page admin

Admin > Settings > CPT to Map Store > Map

Screenshot admin 2

Rest-API

GeoJson

Map

Map