Mar
11
Written by:
Soul Solutions
Sunday, 11 March 2007
Its been a long time comming but i published today my 2nd revision of the very popular article on clustering virtual earth pins. This revision utilises MS AJAX web services and the server side code is in C#. Full example source code is downloadable from this site.
Read the article here.
Have any questions or comments?
Tags:
7 comments so far...
Re: New Virtual Earth Article - Clustering with MS AJAX and C#
Hi,
I'm using the Virtual Earth in my application and I saw your Clustering code and it is simply fantastic. I try use your code, but don't works in Virtual Earth 5.0.
I saw that Microsoft published the Virtual Earth 5.0, but I don't know about difference between both versions.
You it could adapt your Clustering code for for Virtual Earth 5.0? I appreciate.
thanks PS.: Sorry my English.
By Bruno Marçal on
Thursday, 3 May 2007
|
Re: New Virtual Earth Article - Clustering with MS AJAX and C#
Yes there are a few changes, V5 just got released and I'm away in Thailand. I'm back in a few weeks and will update it to reflect the changes - you can subscribe to this site on the contact us page to keep updated.
By john (soul solutions) on
Friday, 4 May 2007
|
Re: New Virtual Earth Article - Clustering with MS AJAX and C#
Hi again,
I use the clustering (version C#) and I have a problem. I need to show different images (Authors and Books for example) for cluster points and nocluster points.
I tried to add the image name to the XML this which is ok, but then I get a mess when encoding/decoding. What would be your concept to pass the pushpin type?
thanks a lot
By Bruno Marçal on
Wednesday, 13 June 2007
|
Re: New Virtual Earth Article - Clustering with MS AJAX and C#
I try to keep the cluster example as simple as possible. I use a bitmask to encode the pin types - eg 1 maybe McDonalds, 2 KFC, 4 Pizza hut, 8 Burger King - using a bitmask means you can get something like 7 then means the clust is 1+2+4=7, MD,KFC and PH. I pass these through a bit like the bounds in the csv file, one per clustered pin and store them in the clustered pin js object in the same way as the bounds. When I draw the pin i then select the appropriate icon based on this value. Hope that helps!
By John (soulsolutions) on
Wednesday, 13 June 2007
|
Re: New Virtual Earth Article - Clustering with MS AJAX and C#
Ok John,
I try this and post here the results.
Thanks for help.
By Bruno Marçal on
Thursday, 14 June 2007
|
Re: New Virtual Earth Article - Clustering with MS AJAX and C#
Me again.
I'm trying your solution, but I have a problem with bounds. What is bounds class means?
thanks again.
By Bruno Marçal on
Friday, 15 June 2007
|
Re: New Virtual Earth Article - Clustering with MS AJAX and C#
Success...
I did it, works perfectly. You save my life - hehehe I will publish the system after populate the database and post the URL here.
Thanks again, your help was very important.
By Bruno Marçal on
Saturday, 16 June 2007
|