dmsl/anyplace

Google Maps JavaScript API Error

Opened this issue · 0 comments

I have downloaded anyplace v4.0 for Ubuntu 18.04 from the releases page and set the couchbase credentials in conf/application.conf.

After populating the couchbase bucket and running the anyplace executable, I open localhost:9000/viewer to see the points of interest on the map. However, I get the following error message upon loading the page:

This page didn't load Google Maps correctly. See the JavaScript console for technical details.

After opening the developers tools in the browser, I see the following detailed message:

Google Maps JavaScript API error: DeletedApiProjectMapError
https://developers.google.com/maps/documentation/javascript/error-messages#deleted-api-project-map-error
_.Ee @ js?key=AIzaSyBCRLbtsuuKx5cdY2ydiri2r4ji3FTYdbY&libraries=places:81

I was wondering if you could help me resolve this error.

Here is some additional information that may help resolve the issue:

  • After running the anyplace server, I get an INFO message that reads: "Application started (Prod)". It appears that the application is being run in production mode while I would like to try it on my local machine. Is there an optional argument that allows switching to a different mode, e.g. development mode? I do not have a Play Framework secret key and do not know whether running the server in production mode without having a secret key is the problem.

  • I have access to the source code and should be able to make any required modifications. However, I was not able to find any instructions on how I could compile the code under server to create an executable.