Home>Support>SiteOrigin Map

SiteOrigin Map

At first, I thought the problem started because I moved my site to a new ISP. Then I realized that Google instituted a new policy concerning APIs. This affects 3 areas of my site www.uuchurchlc.org. I thought that if I could figure out and correct SiteOrigin Map I’d be able to correct everything. Not going to happen. Here’s what I’ve done so far: disabling all plugins except SiteOrigin did not help. Testing out other Google map plugins I encountered same problem. This was after acquiring an API. I don’t know if it matters, but the issue is also affecting Event Manager, another plugin. Furthermore, when the map first loads, I can see the Google map but then it disappears with the OOPS! error. These are the persistent Java errors that occur (I do not program in JavaScript so you’re dealing with a dunce here):

scripts.js:2385 Uncaught Error: The Nav container has no containing elementso @ scripts.js:2385v @ scripts.js:2385d @ scripts.js:2385(anonymous function) @ (index):442j @ jquery.min.js:2fireWith @ jquery.min.js:2ready @ jquery.min.js:2J @ jquery.min.js:2
js?sensor=false&ver=4.6:34 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ib @ js?sensor=false&ver=4.6:34(anonymous function) @ common.js:51(anonymous function) @ common.js:194c @ common.js:45(anonymous function) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Fwww.uuchurchlc.org%2Fevents%2Frio-grande-insight-…:1
marker.js:28 Uncaught TypeError: Cannot read property ‘fromLatLngToPoint’ of undefinedKV @ marker.js:28MV.b.b @ marker.js:26_.Cc @ js?sensor=false&ver=4.6:48(anonymous function) @ marker.js:30(anonymous function) @ js?sensor=false&ver=4.6:43(anonymous function) @ marker.js:30(anonymous function) @ marker.js:49uz.C @ util.js:196(anonymous function) @ util.js:197(anonymous function) @ util.js:201(anonymous function) @ util.js:198(anonymous function) @ js?sensor=false&ver=4.6:34
util.js:207 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
util.js:207 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
—————————————————————————————————–
It seems as if the API does not exist, but it does and I gave it plenty of time to propagate. Very frustrating for a site I’ve just rolled out. Any assistance will be very welcome.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi :)

    Sorry to hear about the hassle. If you still need help, please, send a link to the page concerned so we can take a look.

    Thanks

  2. 8 years, 1 month ago lynpearson

    Andrew

    Thank you for contacting me so fast. Allow me to provide some background on this site and explain how I think it works. The WordPress template was provided by the Unitarian Universalist Association. Before I moved the site from a test server to DreamHost, everything worked perfectly, however, in
    June, Google started to demand API for all maps. Nevertheless, SiteOrigin always demanded a map API, which I installed during site development and everything worked properly.

    There are 3 places where I believe the map API plays a roll.

    1st, in the utilities menu of the header there is Directions. It worked properly out of the box without adding an API. It is a Javascript call,
    however, it is now broken. I do not write Javascript although I can see the error, but do not know if it's causing these problems or how to correct it.
    I've put out a call to the template developer for assistance.

    The 2nd problem area is Events Manager. It worked out of the box without an
    API and is now broken, even if I insert the valid API I use for SiteOrigin.
    Events Manager should be producing a map on pages like this
    http://www.uuchurchlc.org/events/stewardship-congregational-workshop-kay-crider/
    <http://www.uuchurchlc.org/events/stewardship-congregational-workshop-kay-crider/&gt;
    .

    The 3rd issue is SiteOrigin which should pop a map in the right column under Site Map on the page URL listed above. In fact you can see all 3 problems on that page.

    I have a feeling that all problems relate to the 1st issue, but since I don't write either Javascript or PHP, I'm in a bind. I did deactivate all plugins but was unable to resolve the issue that way. There is a strange item in the Menus setup for the Directions – a # in a custom URL field and
    "toggle-location" in the CSS class. I've never seen something like this before.

    Please let me know if I can provide additional information or links to help resolve these issues.

  3. 8 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Thanks for your feedback. Are you able to test a SiteOrigin Maps widget on a page with no other maps widgets? Ideally, you’d need to try and test without the Directions map because that’s on every page. I think there may be an issue with more than one API call on a page.

  4. 8 years, 1 month ago lynpearson

    Andrew

    I removed Directions, although since it came with the Theme, I think it's probably embedded. I also removed the API from Events Manager. I still have the problem with SiteOrigin though. The only API is now installed in
    SiteOrigin.

  5. 8 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Thanks for trying. There is still a missing API error showing in the Console. On the extreme end of testing you could:

    * Switch to a default theme like Twenty Sixteen.
    * Deactivate all plugins except Page Builder and Widgets Bundle.
    * Test. Does the SiteOrigin Maps widget still not display and still show an API error in the Console?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More