Google Maps Coordinates

Home Forums Calendar Products Community Events Google Maps Coordinates

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1113076
    Adage
    Participant

    Hello,
    I have enabled Google Maps coordinates and it works well on the mini map, but it doesn’t by clicking the “+ google map” button on the venue : it shows the address instead of the coordinates.
    Thank you.

    #1113344
    Cliff
    Member

    Hi Adage. Thanks for your question.

    I tried to replicate your issue and this is how things worked for me:

    Please let me know if things are different on your site.

    #1113690
    Adage
    Participant

    The screenshots show precisely the problem.
    I don’t want the Google Maps to use an Addresse : I want it to use ONLY the coordinates.
    Please see here : http://sortir.adage.bf/evenement/alcina-de-georg-friedrich-haendel/
    The mini map of the Venue is OK on this page, but when I click “+ Google Map”, the Google Map shows this page https://www.google.com/maps/search/01+BP+561+Ouagadougou+Burkina+Faso/@37.0625,-95.677068,4z/data=!3m1!4b1?hl=en, which I don’t want : I want it to show the right coordinates, not the address.
    Thank you.

    #1113805
    Cliff
    Member

    Could you please send a screenshot of that Venue’s wp-admin edit page?

    #1113858
    Adage
    Participant

    Here is it.
    Thank you.

    #1113862
    Adage
    Participant

    This reply is private.

    #1114011
    Cliff
    Member

    I entered the address only: http://cl.ly/0O2z0g2b1O1f — database view: http://cl.ly/0e1r371U4545

    Then added the custom lat/long: http://cl.ly/2u222c0I3T0R — database view: http://cl.ly/0u433G3t3Y3M

    Resulted in the same link that your site produced: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=01+BP+561+Ouagadougou+Burkina+Faso

    I manually created this link to see if it’ll work and it seems to have: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=12.3702296,-1.5279159 –> http://cl.ly/0l051k39350F

    Please confirm if that is the link you’d prefer or if you were thinking of something else.

    #1114157
    Adage
    Participant

    Hello and thank you.
    http://cl.ly/0l051k39350F is in deed the right position of the venue.
    But I need the “+ Google Map” link on the Venue page to link to that same coordinates, instead of using the address.
    Thank you.

    #1114235
    Cliff
    Member

    Thank you for confirming.

    I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release. I apologize for this issue and appreciate your understanding and patience.

    In case you’re interested, the code that generates this link is at https://github.com/moderntribe/the-events-calendar/blob/4.1.3/src/Tribe/Main.php#L2920 and we can see that it’s building its URL from 'address', 'city', 'region', 'zip', 'country' and not accounting for Pro’s '_VenueLat', '_Venue_Lng' fields.

    #1120083
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Google Maps Coordinates’ is closed to new replies.