Hi, This is my code:
>>>>>>>>>>> var data:Object = coords.getItemAt(i); var marker:Marker = new Marker(new LatLng (data.latitude,data.longtitude),null); var options2:InfoWindowOptions = new InfoWindowOptions ({ customContent: new InfoWindowTabbedComponent ( data ), // <---------------------- !!!!! customOffset: new Point(0, 10), width: 300, height: 160, drawDefaultFrame: true }); marker.addEventListener(MapMouseEvent.CLICK, function (e:Event):void { e.currentTarget.valueOf().openInfoWindow (options2); }); maps[focusedMap].addOverlay(marker); <<<<<<<<<<< As You can see, it's placed inside of FOR loop. For now, object options2 is the same for ALL markers :/ Data placed inside of it, are same eather, but.... I wonder, is it possible to pass into marker ie. whole object? I want to put there custom tabs titles and content, mabe other stuff. I can't resolve this problem from few hours ;/ Best regards, KA. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to google-maps-api-for-flash@googlegroups.com To unsubscribe from this group, send email to google-maps-api-for-flash+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---