Home › Forums › Calendar Products › Events Calendar PRO › Fresh
- This topic has 3 replies, 3 voices, and was last updated 9 years, 9 months ago by
Home Napier.
-
AuthorPosts
-
July 10, 2016 at 12:15 pm #1137948
Home Napier
ParticipantHi
http://www.ondemand-education.com/corp/index.php/events/
I have just downloaded the Pro plugin and installed it. There is only one event (in September 2016). It displays fine at the default URL shown above, however Map View and Photo View both give 404 errors. I notice quite a few Google Maps related errors in teh Chrome console. Could you point me in the direct of the solution?
Errors included
js?ver=4.5.3:32 InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama_.ab @ js?ver=4.5.3:32_.wb @ js?ver=4.5.3:36(anonymous function) @ js?ver=4.5.3:47_.r.setValues @ js?ver=4.5.3:96be @ js?ver=4.5.3:60_.de @ js?ver=4.5.3:61map_add_marker @ tribe-events-ajax-maps.min.js?ver=4.2.2:1(anonymous function) @ tribe-events-ajax-maps.min.js?ver=4.2.2:1each @ jquery.js?ver=1.12.4:2(anonymous function) @ tribe-events-ajax-maps.min.js?ver=4.2.2:1i @ jquery.js?ver=1.12.4:2fireWith @ jquery.js?ver=1.12.4:2y @ jquery.js?ver=1.12.4:4c @ jquery.js?ver=1.12.4:4
tribe-events-ajax-maps.min.js?ver=4.2.2:1 Uncaught TypeError: s.map.fitBounds is not a functionu @ tribe-events-ajax-maps.min.js?ver=4.2.2:1(anonymous function) @ tribe-events-ajax-maps.min.js?ver=4.2.2:1i @ jquery.js?ver=1.12.4:2fireWith @
util.js:208 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
js?ver=4.5.3:32 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ab @ js?ver=4.5.3:32(anonymous function) @ common.js:51(anonymous function) @ common.js:190c @ common.js:45(anonymous function) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Fwww.ondemand-education.com%2Fcorp%2Findex.php%2Fe…:1July 11, 2016 at 4:29 am #1138041Home Napier
ParticipantOK, so my API Key was wrong.
But I still find it strange that it would give a 404 error.
The next step was to set “Map” as the default view. Now the Map shows just fine, as do the others. So you can close this but it is a bit odd.
July 11, 2016 at 6:33 am #1138064Nico
MemberHey Richard,
Thanks for reaching out and for the heads-up about the solution that worked for you.
I’ve tested this locally (map view + invalid API key) and hopefully I’m not getting any errors (of course I’m seeing the messages in the console) and although the map is not showing the view works as expected, so not sure what was happening in your case but I’m glad it’s fixed now.
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Have a great week,
Nico -
AuthorPosts
- The topic ‘Fresh’ is closed to new replies.
