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:
8 comment(s) 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
|
Re: New Article - Clustering Virtual Earth on Version 5
Nice work, I have extended this to take in categories and use different markers for each category as well as the cluster. Check it out at http://arcserver1.iagt.org/fllowpa/ PS anyone having firefox display issues with the cluster balloons simply add two br tags when it is dynamically created in the javascript...
By BillyZ on
Wednesday, 3 September 2008
|
Re: New Article - Clustering Virtual Earth on Version 5
Great work! I'm using it im my app. However, can I save the map with pins as an image (as shown in your article)? I tried to convert the map into a pdf file but all the pins are lined up as a single verticle line. This happens with either your sample code (v5) or my adaptation (using v6.2). Please help.
By Ning West on
Wednesday, 4 March 2009
|
Re: New Article - Clustering Virtual Earth on Version 6
Is swillions a legit term? ;P
Good to see the reference to PNG transparency and IE6 in the 'Clustering Virtual Earth 6' article. Nice to know that you still care.
Gordon
By Gordon Campbell on
Monday, 15 June 2009
|
Clustering Virtual Earth on Version 6
Thanks for the great solution and the article about clustering. I am new to Bing Maps and started with version 6. Unfortunately the download link for the source on www.viawindowslive.com/LinkClick.aspx?fileticket=wNUudEQlR5M%3d&tabid=236&mid=721 is not working (ASP Runtime error). Could you please correct the link? (The images on the page do not work either).
Thanks
By efn on
Friday, 28 August 2009
|