ResourceSpace › "Please Wait" spinner: Uncaught ReferenceError: gmap is not defined

98 views
Skip to first unread message

CompuMatter

unread,
Oct 23, 2017, 2:49:17 PM10/23/17
to ResourceSpace
Hello,

First, as always, thank you so much for allowing this software to have a community version.  We could not use it otherwise.

I have created a video to better demonstrate the problem:


Essentially, when I click on some (not all) resources to view their content it throws a GMAP Error message in the console.

I also found this post 
and made the modifications it suggested (see attached image)

This allowed me to view the resource normally - but only if I got to it before some AJAX process threw a Google Maps API error - see this video I created for you about "after fix".


I have also attached a screen shot of my instalation check for your review.

How do I address this issue ?

Thanks.

Jay
CompuMatter

modified.jpg
system-check.jpg

Yair Krauze

unread,
Oct 25, 2017, 2:59:46 PM10/25/17
to ResourceSpace
It's likely a configuration issue.

I have a working RS 8.2 with gmaps.  Here is the relevant bit I use:
# Mapping
$google_maps_api_key = 'your google API gmaps key';
$disable_geocoding = false;
$use_google_maps = true;
$geo_layers = "gmap, gsat, gphy, osm";

FYI, I created a specific google API project for RS so I can restrict the key to it.  This ensures that no one else uses my key to access Google data.
Reply all
Reply to author
Forward
0 new messages