BACK TO DIRECTORY

Custom Post Type to Map Store

by lriaudel

5.0
(1 ratings)

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.

Features

  • 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
  • Coordinate reading compatibility for :
  • 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 !

Have fun

Screenshots

screenshot-1.png

screenshot-1.png

screenshot-2.png

screenshot-2.png

screenshot-3.png

screenshot-3.png

screenshot-4.png

screenshot-4.png

Plugin Details

Active Installs
30
Total Downloads
2,161
Version
1.1.0
Requires WP
4.0
Requires PHP
7.0
Tested Up To
5.4.21
Added
2020-05-20
Last Updated
2020-06-19 8:50am GMT

Ratings

5
1
4
0
3
0
2
0
1
0