Support » Plugin: Google Maps CP » Filter by custom taxonomy

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    The premium version of plugin allows filter the points through tags. For example, suppose that you have assigned the tag “dog” to some posts with the locations of animal protection agencies, and then you want display a map with all points defined on these posts, so the shotcode would be:

    [codepeople-post-map tag=”dog”]

    Thread Starter JamieLe

    (@jamieleemi)

    Hi, thanks for your reply — the tags are a great tip but what I really want to achieve is, for instance, a map with several different tags — let’s say:

    • Dogs
    • Cats
    • Horses

    Each animal having several points on the map. Somewhere there would be buttons for each animal to show only their map points.

    Like this example I have just found.

    If this isn’t available — it has just become a feature request 🙂

    Is would also be really good if the map could dynamically redraw to a zoom level just big enough to enclose only the visible markers — I don’t know how difficult this would be but I be you like a challenge 🙂

    Thanks, your plugin is still good without this feature.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    In the current version of plugin you can obtain the same result in the following way:

    If you set each post about animal in its own category. For example a category for dogs with ID 2, a category for cats with ID 5 and a category for horses with ID 9 (The IDs numbers are only for demo). You can combine them in a same map using the “cat” attribute (for category ;-))

    For example a map for cats and dogs would be:

    [codepeople-post-map cat=”2,5″]

    a map for cats and horses:

    [codepeople-post-map cat=”5,9″]

    for the three animals:

    [codepeople-post-map cat=”2,5,9″]

    for all posts and pages in your website:

    [codepeople-post-map cat=”-1″]

    Tip: In my demos I use categories because the map’s shortcode accepts only one value for tag, but multiple categories separated by symbols of comma.

    About the zoom, please, pay attention to an option to adjust the map’s zoom dynamically(the attribute is available in the settings page of plugin). If you check the option the map’s zoom will be calculated dynamicall to display all points on map(It can coincide or not with the zoom value entered in the same page)

    The current version of plugin does not allows to load the points dynamically from published page, like the demo you sent me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Filter by custom taxonomy’ is closed to new replies.