Select to view content in your preferred language

Help!! Infowindow has no style

501
0
06-09-2011 03:07 AM
jianhuizhou
Emerging Contributor
When I use the follow code to show a popup infowindow,it has no style? Why? I use 2.3.1,but in 2.2 it's Ok.

var infoWindow:InfoWindow=new InfoWindow(map);
infoWindow.label=infoData.title || "";
var myInfoPop:MyInfoPop=new MyInfoPop();
infoWindow.content=myInfoPop;
             infoWindow.setVisible(true, false);
infoWindow.show(infoData.point);
map.addChild(infoWindow);


Tags (2)
0 Kudos
0 Replies