Okay
  Public Ticket #2583357
Adding Maps API to event
Closed

Comments

  •  1
    malake started the conversation

    Hey,

    Hope all is well. 

    I have noticed that the event section (creating a new event) allows me to add a location to the event. That location isn't linked to google maps API. As a safety measure (so that there won't be a mistake with the address) I would like to link that field to google maps API. Is there a simple way to add this? or is this a project to be relayed to developer. 

  •  781
    Zhivko replied

    Hi,

    Apart from the option to find automatically the location coordinates by given address, there's no other safety measure.

    There are several reasons for this:

    Some users disable completely google maps due to their ToS, privacy agreement, gdpr etc...

    Google API is not free anymore so spamming queries to the api may start to charge the site owner extra or at minimum reach their query limit faster and the map will become unusable. 

    We've added alternative to google maps (OpenStreetMap) for those who don't what to use gmap but their nominatim api is not as accurate as google map and may set wrong address and coordinates by mistake. And if we're going to add safety measure we have to add it for both map apis.

    So due to these reasons we've decided users should check the validity for their locations themselves. At least for now.


    Stachethemes Developer