GediminasMasaitis / PokeEase

The Perfect GUI for Pokemon GO botting -- Work In Progress
GNU General Public License v3.0
89 stars 51 forks source link

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

Open xdtrammell opened 8 years ago

xdtrammell commented 8 years ago

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 commented 8 years ago

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.