I modified class-windsor-strava-club-public.php to take a Google maps API key and that first issue was resolved. Now I’m getting this series of errors
https://scontent-iad3-1.xx.fbcdn.net/v/t1.0-9/13599829_1758122544406095_2035458676206483526_n.jpg?oh=8013ab80ac12d6c764d668961cdf0f62&oe=57FC2FD3
Any insights would be appreciated! I tried modifying the windsor-strava-club-public.js file directly, but my debugging changes are not propagating online.
Ah, got it all fixed
added
if(resp[i].map.summary_polyline != null){}
around the calls to google.maps.geometry.encoding.decodePath() to catch instances where retrieved information from Strava are null
Hello Teambbc –
Thanks for commenting. You’re right about Google requiring API keys now. At least going forward api services without a key MAY not work. The last few weeks I’ve fixed quite a few bugs not related to this plugin due to this.
Thanks for the Javascript bug fix. Which line did you are the iff statement? I’ll add this and push out an update shortly.
Any chance of a map fix? or at least some way to get around the api thing. This looks like a great plugin for our club site. Thanks
Alex
Hey there Alex –
Good timing. I just pushed an update for this. Thanks for your patience.
Nice…now everyone can see how little riding I’ve done.
Thanks Justin
Sure thing. I’d appreciate a plugin review i you find it useful. Thanks!