Why a Google API call when using OSM?

This topic contains 4 replies, has 3 voices, and was last updated by  Kiran 4 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #523477

    Carlos Lugo
    Expired Member
    Post count: 2

    There is an apparent bug where a Google map API is called when it should not have because I have OSM enabled (meaning no Google API key is entered in settings).

    So this causes a broken image for map thumbnail which resolves itself when clicking on the broken image and then OSM image is called.

    Please advise how to fix. Thank you.

    #523478

    Carlos Lugo
    Expired Member
    Post count: 2

    <—– img src=”https://maps.googleapis.com/maps/api/staticmap?size=288×138&maptype=ROADMAP&zoom=16&center=40.7516713,-73.9858527812553&markers=icon:https://app.reciate.me/wp-content/plugins/geodirectory/assets/images/pin.png|40.7516713,-73.9858527812553&key=” ——>

    #523480

    Guust
    Moderator
    Post count: 29970

    That looks like an oversight, I’ll get the developers to have a look.
    Thanks for letting us know.

    #523481

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #523488

    Kiran
    Moderator
    Post count: 7069

    Hi Carlos,

    This has been fixed and it will be in next release.

    Provide us FTP credentials if you want to apply patch on your site.

    Patch available at here: https://github.com/AyeCode/geodirectory/commit/0cbcf718f2b8d8630cc5d4f24f849ca3bbebb0b7

    Regards,
    Kiran

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

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

Open Support Ticket