style(s)


                          public function addStyleToMarkers(style:MarkerStyle, ...args:Array):void{
                                  var len:int = args.length;
                                  for(var i:int = 0; i < len; i++)
                                  {
                                          if(args[i] is IOverlay) args[i].setStyle(style);
                                  }
                          }
  
              import mx.collections.ArrayCollection;
  
              [Bindable]
              public var place:ArrayCollection = new ArrayCollection(
                  [ {label:"Amsterdam - Nederland", lat:(52.3669), lng:(4.8889), data:351},
                    {label:"La Digue - Seychellen", lat:(-4.355), lng:(55.83), data:3}, 
                    {label:"Donau - Hongarije", lat:(47.58398), lng:(19.0714), data:60} ]);
          
              public function closeHandler(event:Event):void {
                  myLabel.text = ComboBox(event.target).selectedItem.label + ", gevonden items: " + ComboBox(event.target).selectedItem.data;
                  //myData.text = ComboBox(event.target).selectedItem.data;
                  _map.setCenter(new LatLng(ComboBox(event.target).selectedItem.lat, ComboBox(event.target).selectedItem.lng),12);
                 // _map.setCenter(new LatLng(47.58,19));
              }