dannycochran / windable

Add a wind visualization to your map.
MIT License
40 stars 14 forks source link

Mouse Movement Problems #11

Open lynnetab opened 8 years ago

lynnetab commented 8 years ago

Hi,

I really like your app.. I have the Google Maps Configurable example running locally and I am [NaN,0] from console.log(windMap.renderer.pointFromXY(x, y)); as I move my mouse across the window. Is this missing data for a problem with canvas? I am willing to work on fixing this problem but need some insight.

Thanks

dannycochran commented 8 years ago

Hmm not sure why that would be happening. If you check out the example being served here:

https://damp-reaches-87397.herokuapp.com/

And click around, you'll see X/Y coordinates printed out in the console.

That is just serving this page: https://github.com/dannycochran/windable/blob/master/examples/googleMaps/configurable.html

It's possible if you are showing the map in a smaller container that isn't the full page, you need a different way to get the x/y coordinate than how I'm doing it.

lynnetab commented 8 years ago

When I zoom out to Google Earth level 1 on https://damp-reaches-87397.herokuapp.com/ the wind data does not display on Google Chrome. The wind does display for level 1 on Safari... I read one of your comments about a memory leak in Chrome so I tried another browser.

Thanks for responding to me..