jpasqua / VisibleTesla

Java App to monitor and Control the Tesla Model S
125 stars 41 forks source link

No feedback during map load #26

Closed jpasqua closed 11 years ago

jpasqua commented 11 years ago

Now that streaming mode is implemented in the Location tab, there is no longer any feedback during the initial map load. The tab is just blank until the initial google map loads. Adding back the spinner is difficult since there is a different thread mechanism than the spinner is plugged into.

Also, displaying something else like a loading label until the map loads doesn't work because from the Java perspective we get the "loaded" indication from the web engine way too soon.

It looks as though loading an initial html page that displays the "loading" message will display until the map actually loads.

jpasqua commented 11 years ago

Preloading another HTML page with a "loading" message works nicely. This is integrated into the code and will be in the next release.