Google Map not loading

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/25/2018 4:53:02 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

Google Map not loading

The Google Map feature is now not loading at all, since a few days ago. You can see this on your demo site at https://demo.mojoportal.com/map 

We see "This page can't load Google Maps correctly."

Could you advise when an upgrade is coming to fix this?

Thanks!

8/28/2018 6:02:21 PM
Gravatar
Total Posts 91

mojoPortal Hosting & Design @ i7MEDIA!

Re: Google Map not loading

Google has deprecated the use of Google Maps without the user supplying an API key through an account that has a payment method attached.

In June 2016 we announced that we would stop supporting keyless usage, meaning any request that doesn’t include an API key or Client ID. This went into effect on June 11 2018, and keyless access is no longer supported.

As of June 11, 2018, you must enable billing with a credit card and have a valid API key for all of your projects. This will give you the ability to scale easily with less downtime and fewer performance issues.

Google Maps User Guide

As such, the version 3 API no longer works.

Microsoft is going the same route with Bing Maps, they have shut down version 6.3 of the API and now only support version 8 that requires an API with an attached payment method.

To fix the issue the modules will need to be drastically changed to support the new APIs, or a new module that uses both new APIs will need to be created, and the user will be required to sign up for a development keys for their respective services.

Addressing this is not currently in our plans, but we'll talk about it and get back with you once we decide on a solution.

Until then, Google, Bing, and MapQuest embed codes do work in the HTML module, which isn't a fix, but I want it mentioned here for anyone that just needs to get by.

Thanks,
Elijah

8/29/2018 10:24:49 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Google Map not loading

Our webmaster used the iframe workaround. Here's an example of the code to use in an HTML instance:

<div class="mapouter">
    <div class="gmap_canvas">
        <iframe frameborder="0" height="500" scrolling="no" src="https://maps.google.com/maps?q=1600%20Pennsylvania%20Ave%20Washington%2C%20DC%2020500&amp;t=&amp;z=13&amp;ie=UTF8&amp;iwloc=&amp;output=embed" width="500"></iframe>
    </div>
</div>

 

9/1/2018 3:02:47 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Google Map not loading

Thanks for the replies, and I'm happy to get by with iframes for now. I regularly use it within the Event Calendar Pro, and so I have to add the iframe to the html of the event description. A less techie solution will be great when you get onto it, thanks!

You must sign in to post in the forums. This thread is closed to new posts.