Custom Post Type to Map Store
An another Store Locator on WordPress but with OpenStreetMap & Leaflet and Meta Fields
Évaluations
Mis à jour récemment
June 19, 2020
Version
1.1.0
Installations actives
40
L’extension permet de :
- Générer un flux GEOJson à partir des coordonnées enregistrées dans les publications.
- Afficher ce flux sur une carte avec un code court.
Fonctionnalités
- Mapping from a Post Type to generate a GeoJson feed of all posts.
- Exposure this Geojson feeds on the WordPress Rest-API
- Possibility to make a template for the map markers popup
- Compatibilité des coordonnées avec :
- un champ texte
- Un champ ACF Google Map
- Un champ ACF pour l’extension Champs OpenStreetMap de l’ACF
- Displaying a map by shortcode of all points.
- Open Street Map put in cache
Hook
The marker content
You can customize more finely the marker popup content.
Example:
<?php
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.
Translations
- English – default, always included
- French
Important Information !
Amusez vous !
Cette extension est disponible en téléchargement pour être utilisée sur votre installation WordPress auto-hébergée.