<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Google maps for flash marker clustering</title>
	<atom:link href="http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/</link>
	<description>a stroke of luck</description>
	<lastBuildDate>Thu, 02 Feb 2012 07:32:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Jayanth</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-68990</link>
		<dc:creator>Jayanth</dc:creator>
		<pubDate>Mon, 27 Jun 2011 15:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-68990</guid>
		<description>Kelvin this is just fantastic... 
You saved me so much time.. 
I am facing this trouble, where when i zoom in and zoom out i dont same set of clusteres...i am using the same code as you have in ClusterMarker.as

private function attachMarkers():void
			{
				for each (var marker:Marker in attachedMarkers) {
					map.removeOverlay(marker);
				}
				attachedMarkers = [];
				var clusteredMarkers:Array = clusterer.clusters;
				
				for each (var cluster:Array in clusteredMarkers)
				{
					var markerToBeAdded:Marker;
					if (cluster.length == 1)
					{
						markerToBeAdded = cluster[0];
					}
					else
					{
						markerToBeAdded = new ExampleClusterMarker(cluster);
					}
					map.addOverlay(markerToBeAdded);
					attachedMarkers.push(markerToBeAdded);
				}
			}
Can you help me with this?</description>
		<content:encoded><![CDATA[<p>Kelvin this is just fantastic...<br />
You saved me so much time..<br />
I am facing this trouble, where when i zoom in and zoom out i dont same set of clusteres...i am using the same code as you have in ClusterMarker.as</p>
<p>private function attachMarkers():void<br />
			{<br />
				for each (var marker:Marker in attachedMarkers) {<br />
					map.removeOverlay(marker);<br />
				}<br />
				attachedMarkers = [];<br />
				var clusteredMarkers:Array = clusterer.clusters;</p>
<p>				for each (var cluster:Array in clusteredMarkers)<br />
				{<br />
					var markerToBeAdded:Marker;<br />
					if (cluster.length == 1)<br />
					{<br />
						markerToBeAdded = cluster[0];<br />
					}<br />
					else<br />
					{<br />
						markerToBeAdded = new ExampleClusterMarker(cluster);<br />
					}<br />
					map.addOverlay(markerToBeAdded);<br />
					attachedMarkers.push(markerToBeAdded);<br />
				}<br />
			}<br />
Can you help me with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-62837</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Tue, 05 Apr 2011 17:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-62837</guid>
		<description>Thanks Shaun, I tried playing with the clusterRadius property before but that didn&#039;t make much difference. Also, I&#039;m not panning the map in anyway...all I&#039;m doing is clicking some buttons that tell the map object to zoomIn() / zoomOut(). It&#039;s a weird one. If I keep having trouble with it I&#039;ll probably just make my own.

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks Shaun, I tried playing with the clusterRadius property before but that didn't make much difference. Also, I'm not panning the map in anyway...all I'm doing is clicking some buttons that tell the map object to zoomIn() / zoomOut(). It's a weird one. If I keep having trouble with it I'll probably just make my own.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-62834</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Tue, 05 Apr 2011 16:03:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-62834</guid>
		<description>Hi Lewis, I believe I encountered the same issue before, I think this is due to the different distances calculated based on the current pan position (that is from some spot on the map two points are relatively closer to one another compared with looking at it from another spot on the map).  I believe to fix the problem we just ended up adjusting the clusterRadius property and it worked out okay, alternatively I think you will experience this issue to some degree unless you only allow it to calculate the clusters for each zoom level once and keep a cache of the clustered ones for a zoom level so you get completely consistent results (in a single load, between loads you still may see a difference).</description>
		<content:encoded><![CDATA[<p>Hi Lewis, I believe I encountered the same issue before, I think this is due to the different distances calculated based on the current pan position (that is from some spot on the map two points are relatively closer to one another compared with looking at it from another spot on the map).  I believe to fix the problem we just ended up adjusting the clusterRadius property and it worked out okay, alternatively I think you will experience this issue to some degree unless you only allow it to calculate the clusters for each zoom level once and keep a cache of the clustered ones for a zoom level so you get completely consistent results (in a single load, between loads you still may see a difference).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-62817</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Tue, 05 Apr 2011 08:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-62817</guid>
		<description>I&#039;ve tried to implement this into my project but I keep getting different numbers of markers in clusters at the same zoom level. For example; I change the zoom level to 3 and see 4 clusters, change the zoom level to 2 i see 2 clusters...which is expected. However, if I then change the zoom back to 3, I expect to see the same as before. But instead I&#039;m getting 3 clusters, or something 4 with different amounts in each as before. I dunno what I&#039;m doing wrong here.

Anyone else had this issue?</description>
		<content:encoded><![CDATA[<p>I've tried to implement this into my project but I keep getting different numbers of markers in clusters at the same zoom level. For example; I change the zoom level to 3 and see 4 clusters, change the zoom level to 2 i see 2 clusters...which is expected. However, if I then change the zoom back to 3, I expect to see the same as before. But instead I'm getting 3 clusters, or something 4 with different amounts in each as before. I dunno what I'm doing wrong here.</p>
<p>Anyone else had this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterPanPanPAn</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-61623</link>
		<dc:creator>PeterPanPanPAn</dc:creator>
		<pubDate>Thu, 17 Mar 2011 09:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-61623</guid>
		<description>Hey! Thank for you work!!!!
Made this : http://www.pierrebance.com/Projects/Presidentielle/

It&#039;s the results of the second &quot;round&quot; od the french presidential election of 2007 in Paris.

Is there any updates planned to be able to cluster markers, but not with a single distance figure. It would be very cool to be able to set a distance for each &quot;basic&quot; marker... And the clusters would then be spots. Their required distance for clustering would automatically increase....

Makes sense?</description>
		<content:encoded><![CDATA[<p>Hey! Thank for you work!!!!<br />
Made this : <a href="http://www.pierrebance.com/Projects/Presidentielle/" rel="nofollow">http://www.pierrebance.com/Projects/Presidentielle/</a></p>
<p>It's the results of the second "round" od the french presidential election of 2007 in Paris.</p>
<p>Is there any updates planned to be able to cluster markers, but not with a single distance figure. It would be very cool to be able to set a distance for each "basic" marker... And the clusters would then be spots. Their required distance for clustering would automatically increase....</p>
<p>Makes sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugen</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-60876</link>
		<dc:creator>Eugen</dc:creator>
		<pubDate>Mon, 07 Mar 2011 17:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-60876</guid>
		<description>Nice, i looked for this, but founded only for js http://gmaps-samples-v3.googlecode.com/svn/trunk/toomanymarkers/toomanymarkers.html and now founded this example. thx!</description>
		<content:encoded><![CDATA[<p>Nice, i looked for this, but founded only for js <a href="http://gmaps-samples-v3.googlecode.com/svn/trunk/toomanymarkers/toomanymarkers.html" rel="nofollow">http://gmaps-samples-v3.googlecode.com/svn/trunk/toomanymarkers/toomanymarkers.html</a> and now founded this example. thx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerardo</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-55671</link>
		<dc:creator>Gerardo</dc:creator>
		<pubDate>Mon, 10 Jan 2011 09:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-55671</guid>
		<description>Hi OMGNOSEAT,

That it&#039;s solved some posts above..

Where it says: TO MAOSI</description>
		<content:encoded><![CDATA[<p>Hi OMGNOSEAT,</p>
<p>That it's solved some posts above..</p>
<p>Where it says: TO MAOSI</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-55273</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Thu, 06 Jan 2011 11:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-55273</guid>
		<description>Hi!

Thanks to all for the code and comments.

Is there a way to remove all markers off the map but still keep them in memory.

I don&#039;t want to have to recreate them everytime as it forces me to load the corresponding marker icon everytime I zoom in or out.

Cheers!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Thanks to all for the code and comments.</p>
<p>Is there a way to remove all markers off the map but still keep them in memory.</p>
<p>I don't want to have to recreate them everytime as it forces me to load the corresponding marker icon everytime I zoom in or out.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: omgnoseat</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-55253</link>
		<dc:creator>omgnoseat</dc:creator>
		<pubDate>Thu, 06 Jan 2011 01:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-55253</guid>
		<description>Hello, I&#039;ve been trying to use your clusterer class but there seems to be a problem. The clustering works just fine when starting the maps application. Only when zooming in or out (thus refreshing the clustes) the following error appears:


ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
	at flash.display::DisplayObjectContainer/removeChild()
	at com.google.maps.wrappers::SpriteFactory/removeChild()
	at com.google.maps.wrappers::ISpriteFactoryWrapper/removeChild()
	at com.google.maps.overlays::Pane/removeOverlay()
	at com.google.maps.overlays::Pane/addOverlay()
	at com.google.maps.core::MapImpl/addOverlay()
	at com.google.maps.wrappers::IMapWrapper/addOverlay()
	at ClusterExample/attachMarkers()[C:\Users\Martino\Documents\My Dropbox\Kernproject ANWB\Realisatiefase\Techniek\applicatie\ClusterExample.as:96]
	at ClusterExample/onMapZoomChanged()[C:\Users\Martino\Documents\My Dropbox\Kernproject ANWB\Realisatiefase\Techniek\applicatie\ClusterExample.as:78]
	at Function/()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.google.maps.wrappers::BaseEventDispatcher/dispatchEvent()
	at com.google.maps.wrappers::EventDispatcherWrapper/dispatchEvent()
	at com.google.maps.core::MapImpl/configure()
	at com.google.maps.core::MapImpl/internalSetZoom()
	at com.google.maps.core::MapImpl/setZoom()
	at com.google.maps.controls::ZoomControlBase/onButtonReleased()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.google.maps.controls.common::ButtonBase/onButtonRelease()
	at com.google.maps.core::StandardMouseImpl/dispatchMouseUp()
	at com.google.maps.core::StandardMouseImpl/reportMouseEvent()
	at com.google.maps.core::MapsFactory/reportMouseEvent()
	at com.google.maps.wrappers::IMapsFactoryWrapper/reportMouseEvent()

I have no idea what this could be since I&#039;m using your example completly unedited.

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hello, I've been trying to use your clusterer class but there seems to be a problem. The clustering works just fine when starting the maps application. Only when zooming in or out (thus refreshing the clustes) the following error appears:</p>
<p>ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.<br />
	at flash.display::DisplayObjectContainer/removeChild()<br />
	at com.google.maps.wrappers::SpriteFactory/removeChild()<br />
	at com.google.maps.wrappers::ISpriteFactoryWrapper/removeChild()<br />
	at com.google.maps.overlays::Pane/removeOverlay()<br />
	at com.google.maps.overlays::Pane/addOverlay()<br />
	at com.google.maps.core::MapImpl/addOverlay()<br />
	at com.google.maps.wrappers::IMapWrapper/addOverlay()<br />
	at ClusterExample/attachMarkers()[C:\Users\Martino\Documents\My Dropbox\Kernproject ANWB\Realisatiefase\Techniek\applicatie\ClusterExample.as:96]<br />
	at ClusterExample/onMapZoomChanged()[C:\Users\Martino\Documents\My Dropbox\Kernproject ANWB\Realisatiefase\Techniek\applicatie\ClusterExample.as:78]<br />
	at Function/()<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at com.google.maps.wrappers::BaseEventDispatcher/dispatchEvent()<br />
	at com.google.maps.wrappers::EventDispatcherWrapper/dispatchEvent()<br />
	at com.google.maps.core::MapImpl/configure()<br />
	at com.google.maps.core::MapImpl/internalSetZoom()<br />
	at com.google.maps.core::MapImpl/setZoom()<br />
	at com.google.maps.controls::ZoomControlBase/onButtonReleased()<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at com.google.maps.controls.common::ButtonBase/onButtonRelease()<br />
	at com.google.maps.core::StandardMouseImpl/dispatchMouseUp()<br />
	at com.google.maps.core::StandardMouseImpl/reportMouseEvent()<br />
	at com.google.maps.core::MapsFactory/reportMouseEvent()<br />
	at com.google.maps.wrappers::IMapsFactoryWrapper/reportMouseEvent()</p>
<p>I have no idea what this could be since I'm using your example completly unedited.</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn130</title>
		<link>http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/comment-page-1/#comment-50028</link>
		<dc:creator>Shawn130</dc:creator>
		<pubDate>Tue, 16 Nov 2010 17:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.kelvinluck.com/?p=798#comment-50028</guid>
		<description>Hi all,
Please help.
I have created clustering on my google maps. But the problem is when I go to maximum zoom, and see individual icons, If I have lets say a few apartments in one building, all their addresses are the same, so I only see one icon. And when I click on the icon, I only see one of the apartments. Is there any way my icon could show the number of apartments in that building, and also how do I get a popup that is a scroll popup, which could show a list of all the apartments?
If anybody has any ideas please help me out.</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
Please help.<br />
I have created clustering on my google maps. But the problem is when I go to maximum zoom, and see individual icons, If I have lets say a few apartments in one building, all their addresses are the same, so I only see one icon. And when I click on the icon, I only see one of the apartments. Is there any way my icon could show the number of apartments in that building, and also how do I get a popup that is a scroll popup, which could show a list of all the apartments?<br />
If anybody has any ideas please help me out.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.342 seconds -->

