I'm working on geographically distributed computing aka grid computing. Since there are so many resources on this planet, it would be beautiful to see them on the earth graphically. offers this kind of applications could be implemented in a few hours using or . All you need to know are pairs of latitude and longitude to identify where they are. Well, I also want to show the map in full-screen for easily navigating around the globe. In other words, it should resize itself according to browser size. Google doesn't tell me how to do it. Fortunately, I found it!
The shown me how to do it exactly what I want. But I adapted to something similar as follows.
Style
OnLoad Script
Body
That's all! The magic is this.map.onResize()
. If you don't want to handle resizing, just call it once on load. Let's see what I did at http://observer.thaigrid.or.th/ by navigating to General -> Geo Map or directly to Geo Map.
Tags: , , , grid computing
- sugree's blog
- 2204 reads
Recent comments
2 years 11 weeks ago
2 years 15 weeks ago
2 years 16 weeks ago
2 years 16 weeks ago
2 years 17 weeks ago
2 years 19 weeks ago
2 years 19 weeks ago
2 years 19 weeks ago
2 years 19 weeks ago
2 years 20 weeks ago