PokemonGo-DesktopMap icon indicating copy to clipboard operation
PokemonGo-DesktopMap copied to clipboard

Map is just shown for a split of a second

Open pWnH opened this issue 10 years ago • 13 comments

Error: Cannot call loadURL because the webContents is unavailable. The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.
    at webview.loadURL (C:\Users\xxx\Downloads\PokemonGoMap-Win (1)\resources\electron.asar\renderer\web-view\web-view.js:409:15)
    at serverUp (file:///C:/Users/xxx/Downloads/PokemonGoMap-Win%20(1)/resources/app/main.html:195:21)
    at EventEmitter.<anonymous> (file:///C:/Users/xxx/Downloads/PokemonGoMap-Win%20(1)/resources/app/main.html:158:9)
    at emitTwo (events.js:106:13)
    at EventEmitter.emit (events.js:191:7)

pWnH avatar Jul 26 '16 08:07 pWnH

same issue

aldder avatar Jul 26 '16 11:07 aldder

Same here, i receive this message:

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

Taitaka avatar Jul 26 '16 11:07 Taitaka

Ya, somehow it is working now for me

pWnH avatar Jul 26 '16 12:07 pWnH

Did you change anything or did it just work out fine after some waiting?

cgpoondy avatar Jul 26 '16 12:07 cgpoondy

It worked after like 10 minutes of waiting and trying different API keys. In the end it worked with the first Browser API-Key i got.

pWnH avatar Jul 26 '16 12:07 pWnH

Need to test it out a bit i guess. doesnt work the time being tho.

cgpoondy avatar Jul 26 '16 12:07 cgpoondy

Got the solution apparently.

You need to go to your dashboard where you create your API and enable the Google Maps API for JavaScript option. It was not enabled at the time i created the API.

After you enable it, it should work just fine.

p.s.: might be a bit of a beginner mistake but bear with me. :)

cgpoondy avatar Jul 26 '16 14:07 cgpoondy

I enabled it. Still same thing

rdthp avatar Jul 26 '16 14:07 rdthp

Works after restarting the .exe twice

rdthp avatar Jul 26 '16 14:07 rdthp

Doesn't work for me :/ I've enabled Google Maps API for Java and restarted but nothing has changed. Any suggestions?

stockers2000 avatar Jul 27 '16 10:07 stockers2000

Finally i solved using another google account!!

  1. create new project
  2. enable Google Maps Javascript from Dashboard
  3. create new credential (Browser key)

aldder avatar Jul 27 '16 11:07 aldder

ok I got it to the point where it disappeared after a second and then playing thru diff things this thread touched on I FINALLY have my map back! Hope it lasts this time! lol

RiverGray avatar Jul 27 '16 11:07 RiverGray

how do you enable the javascript api?

pokema avatar Aug 02 '16 22:08 pokema