• Is it possible to create an overview map (or another type of map) with Custom Types ?
    I have a “farm” custom type and have added geo_latitude and geo_longitude ACF fields

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author hupe13

    (@hupe13)

    All posts and pages in a category are displayed on an overview map, regardless of their post type. Does that work for you?

    Or would you like to distinguish by post type – that is, an overview map for post type A or an overview map for post type B?

    Thread Starter domguard

    (@domguard)

    Thanks for your quick answer!
    I have an ACF/SCF Custom Type “Farm”
    Then I have an ACF taxonomy called “regions” used with the farms, dont know if it fits what you call “categories”. I’m trying to display an overview map of farms from a certain region on a standard page like this :
    [leaflet-map fitbounds]
    [overviewmap codex category=”myregion”]

    Thread Starter domguard

    (@domguard)

    Moreover, from what I read, it’s not easy to use vanilla WP categorie on Custom types (unless you use “CPT UI” plugin). I’m unable to display a “category” selection widget in my CT edit page.
    Tags are possible, but I tried and no marker shows up either

    Plugin Author hupe13

    (@hupe13)

    I’ll see what I can do.

    Thread Starter domguard

    (@domguard)

    I’m ok to use tags if it’s needed to make this work
    the “debug” shows that I “catched” my tagged farms in the overview map, but no markers shows up, not even a default blue one…
    https://www.syndicat-simples.julienmc.fr/exemple-de-carte-massif/

    [leaflet-map fitbounds]
    [overviewmap debug latlngs=”codex” category=”auvergne”]

    Plugin Author hupe13

    (@hupe13)

    The output from debug is okay. Are the markers shown without debug?

    [leaflet-map fitbounds]
    [overviewmap latlngs=codex category=auvergne]
    Thread Starter domguard

    (@domguard)

    Ah yes it works, did not think about that !
    Thank you very much for all this work !

    Plugin Author hupe13

    (@hupe13)

    This is fine. The plugin recognizes all post types, takes all except “attachment” (the page from media library entry) and selects per category. I think it’s difficult to distinguish between post types, since everyone can set up their own. Categories are simpler here.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.