Google map api place types

This topic contains 10 replies, has 3 voices, and was last updated by  Maxim Loreau 8 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #366461

    Maxim Loreau
    Expired Member
    Post count: 7

    Hi,

    I would like to put on the google map of the homepage some place types like bars and nightclubs .. how can i do that?

    https://developers.google.com/places/web-service/supported_types

    Thank you

    #366463

    Guust
    Moderator
    Post count: 29970

    They should appear there automatically if you add any listings to your directory.
    Or do you mean in the ribbon along the bottom of the map? In that case you need to create separate Custom Post Types [CPT], see
    https://wpgeodirectory.com/downloads/custom-post-types/
    https://wpgeodirectory.com/docs/places-categories-and-listings/

    Thanks

    #366473

    Maxim Loreau
    Expired Member
    Post count: 7

    Thank you for your answer.

    I speak on the google map with Places API Web Service as on https://www.google.com/maps/@43.6329847,3.8962184,18.5z or there are icons for each place types.

    Without creating places with geodirectory

    #366474

    Guust
    Moderator
    Post count: 29970

    That can be done with the Custom Google Map addon:
    https://wpgeodirectory.com/downloads/custom-google-maps/

    Thanks

    #366475

    Maxim Loreau
    Expired Member
    Post count: 7

    I also thought but no there is nothing to set it up. Yet the map on “add-listing” shows these icons but not on the home page: s

    Thanks

    #366495

    Guust
    Moderator
    Post count: 29970

    By default, Google listings are not visible on your public maps.
    You need to change the visibility of the POI in the settings of the addon, see https://wpgeodirectory.com/docs/custom-google-maps/
    Thanks

    #366592

    Maxim Loreau
    Expired Member
    Post count: 7

    Thank you very much.. Now I have to get to just display the bars and nightclubs .. if you have an idea ^^

    #366597

    Guust
    Moderator
    Post count: 29970

    GD > Custom Google Maps > edit the map of your choice > see image
    I don’t think you can filter POI.business by just bars and nightclubs …

    #366619

    Maxim Loreau
    Expired Member
    Post count: 7

    Thank you, I had done it but there are still restaurants, super market…

    #366631

    Paolo
    Site Admin
    Post count: 31211

    There is no way to do that, GeoDirectory is intended to be used to submit listings, not to use Google Places.

    Thanks

    #366739

    Maxim Loreau
    Expired Member
    Post count: 7

    Ok I wanted to be able to display just bars and night clubs to be able to put a button to add them directly in database

    thanks

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount