Jun
14
Written by:
Soul Solutions
Thursday, 14 June 2007
We published today the third installment in the clustering articles for Virtual Earth. This time we focus on the client side, updating our javascript to support the latest Version 5 of Virtual Earth.
Clustering Virtual Earth on Version 5
We also have moved to object oriented Javascript and show how to use shape differiential to further optomise your swillions of points added to Virtual Earth.
Let me know what you think and if you find it usefull, I do enjoy the emails from people letting me know!
Tags:
4 comments so far...
Re: New Article - Clustering Virtual Earth on Version 5
For anyone who would like to see this work in VB, I have converted and uploaded here: http://www.box.net/shared/kicma7chxs
By Case Ahr on
Thursday, 30 August 2007
|
Re: New Article - Clustering Virtual Earth on Version 5
Thanks for sharing your example - it is excellent! I do have a question however, I would like to implement an auto-refresh timer that redraws the pins every minute or so. I was thinking along the lines of setInterval either firing the onchangeview event or manually calling _GetPinData but I cannot seem to find where this timer code should go.
Can you provide any assistance with this?
By Michael on
Friday, 28 September 2007
|
Re: New Article - Clustering Virtual Earth on Version 5
Never mind the above post, it was as simple as using setInterval(this._GetPinData,60000); in the _init() function.
By Michael on
Friday, 28 September 2007
|
Bug in Clustering Virtual Earth on Version 5?
First off, you're awesome for supplying this code, thanks a lot! It has been really helpful in my Virtual Earth map.
This has been awhile since you've posted this article, but I think I found a bug in the supplied code. I noticied that sometimes in IE 7 that the InfoBox would get stuck on Loading... and never display my data. I found out that occasionally the ajax method returns really fast and interrupts the _PinActivate function. My solution to this was to wrap the call to _getAJAXContent with the setTimeout method and an interval of 100ms.
By Peter Smith on
Friday, 25 April 2008
|