Multiple pin/location on a single Map (Google Maps)

Support MB Geolocation Multiple pin/location on a single Map (Google Maps)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36859
    Paul KouwenPaul Kouwen
    Participant

    Is there a way we can display all CPT's Google Maps pin or location in a page using rwmb_the_value()?
    Assuming they already set in each CPT and can display in single page.

    If not rwmb_the_value is there another way?

    #36867
    Long NguyenLong Nguyen
    Moderator

    Hi Paul,

    Please follow this article to know how to display all locations (CPT) on a map https://metabox.io/display-all-listings-on-a-map/?swcfpc=1

    #36877
    Paul KouwenPaul Kouwen
    Participant

    It's open streetmap and not Google Maps
    https://metabox.io/display-all-listings-on-a-map/?swcfpc=1

    #36878
    Paul KouwenPaul Kouwen
    Participant

    It has special script mentioned for Open Street Maps.

    We use only Google Maps so we can't use it.

    "Enqueue Leaflet library to render maps. This is a very powerful JavaScript library that we use in Meta Box to render Open Street Maps."

    #36909
    Long NguyenLong Nguyen
    Moderator

    Hi,

    For Google Maps, you can load the library by following this documentation https://developers.google.com/maps/documentation/javascript/places

    I will also inform the Marketing team to create an article for displaying all listings on Google Maps.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.