Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Map when trying to host on local server. #20

Open
xdtrammell opened this issue Aug 17, 2016 · 1 comment
Open

No Map when trying to host on local server. #20

xdtrammell opened this issue Aug 17, 2016 · 1 comment
Labels

Comments

@xdtrammell
Copy link

xdtrammell commented Aug 17, 2016

I have a WAMP server (apache 2.4) setup up on my pc and when I try and load the website from my browser I get the following error,

Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Screenshot of Console

When I load the page either by opening the index.html through my file explorer or by accessing it from localhost/pokemon (the directory I have it stored in) the map works

Screenshot of Working Map

I was wanting to accomplish this so I could view the bot from another device easily when I am not at home or for ease of access.

@nurx-pokeease
Copy link
Collaborator

At first glance this looks like an issue with google maps needing an API key when you run outside of a file:/// context. If you want to run PokeEase and have it point to another device, running it on an HTTP server is not required, you just need to be able to specify the IP and port for the websockets server running on the bot (and make sure things like port forwarding is set up so you can actually connect).

Either way, when settings is done, we can make it so you can add in a google maps API key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants