Hi Erich

Were you ever able to solve this issue?

Thanks
Tara

On Friday, March 18, 2011 9:17:03 AM UTC, Erich wrote:
>
> ERRATA CORRIGE 
>
> The function that blocks the markerclusterer is this: 
>
> var polygon:Polygon = drawCircle(params_coord[0], params_coord[1], 
> limDistInt, 0x000000, 2, 1, 0x0000FF,.0); 
>
> With the same problem though: calling the cluster before or after that 
> function doesn't make any difference. 
>
> DrawCircle function is: 
>
> public function drawCircle(lat:Number, lng:Number, radius:Number, 
> strokeColor:Number, strokeWidth:Number, strokeOpacity:Number, 
> fillColor:Number, 
>
>                                                                               
>                                                                               
>                                                                               
>                                               fillOpacity:Number):Polygon 
> { 
>                                 var d2r:Number = Math.PI/180; 
>                                 var r2d:Number = 180/Math.PI; 
>                                 var circleLat:Number = radius * 0.014483; 
>  // Convert statute 
> miles into degrees latitude 
>                                 var circleLng:Number = 
> circleLat/Math.cos(lat*d2r); 
>                                 var circleLatLngs:Array = new Array(); 
>                                 for (var i:Number = 0; i < 33; i++) { 
>                                         var theta:Number = Math.PI * 
> (i/16); 
>                                         var vertexLat:Number = lat + 
> (circleLat * Math.sin(theta)); 
>                                         var vertexLng:Number = lng + 
> (circleLng * Math.cos(theta)); 
>                                         var latLng:LatLng = new 
> LatLng(vertexLat, vertexLng); 
>                                         circleLatLngs.push(latLng); 
>                                 } 
>
>                                 var polygonOptions:PolygonOptions = new 
> PolygonOptions(); 
>                                 var fillStyle:FillStyle = new FillStyle(); 
>                                 fillStyle.alpha = fillOpacity; 
>                                 fillStyle.color = fillColor; 
>                                 polygonOptions.fillStyle = fillStyle; 
>
>                                 var strokeStyle:StrokeStyle = new 
> StrokeStyle(); 
>                                 strokeStyle.alpha = strokeOpacity; 
>                                 strokeStyle.color = strokeColor; 
>                                 strokeStyle.thickness = strokeWidth; 
>                                 polygonOptions.strokeStyle = strokeStyle; 
>
>                                 var polygon:Polygon = new 
> Polygon(circleLatLngs, polygonOptions); 
>                                 map.addOverlay(polygon); 
>
>                                 return polygon; 
>                         } 
>
> On Mar 18, 9:57 am, Erich <[email protected]> wrote: 
> > Hi guys, 
> > 
> > My markerclusterer works as it should, but a previous overlay in the 
> > map blocks the clicks on the markers. 
> > 
> > So if this draws a circle in my map 
> > 
> > var polygon:Polygon = drawCircle(params_coord[0], params_coord[1], 
> > limDistInt, 0x000000, 2, 1, 0x0000FF,.0); 
> > var markerOp:MarkerOptions = MarkerOptions.getDefaultOptions(); 
> > var markerP:Marker = new Marker(new 
> > LatLng(params_coord[0],params_coord[1]), markerOp); 
> > map.addOverlay(markerP); 
> > 
> > Then when I call my markerclusterer 
> > 
> > var pane:IPane = map.getPaneManager().createPane(); 
> > // Will now cluster them 
> > markerClusterer = new MarkerClusterer(pane, 
> > this.createMarker(markers)); 
> > 
> > the cluster works, but the marker are not clickable. If I remove 
> > map.addOverlay(markerP); they are clickable indeed. 
> > 
> > Calling the cluster before or after the addOverlay doesn't make any 
> > difference. 
> > 
> > Any Help? 
> > 
> > Thanks. 
> > 
> > E

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api-for-flash/-/VkM4Xb0qCqMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to