I have resolve it with sample <br/> now the html is OK...
varhtml=<p>Address:</p><br/>"; varhtml=varhtml+"<p>Lati = "+latlng.lat() +"</p><br/>"; varhtml=varhtml+"<p>Longi = "+latlng.lng()+"</p><br/>"; On 11 Dic, 18:22, Andrea <[email protected]> wrote: > i 'm using map_flex_1_18.swc like lib > in flex builder 3.4. > > i have just create map and marker and infowindow for each address in > db.and all wok ok > > but i have this problem: > the follow HTML not show correctly in infowindow > > varhtml=<p>Address:</p>"; > varhtml=varhtml+"<p>Lati = "+latlng.lat() +"</p>"; > varhtml=varhtml+"<p>Longi = "+latlng.lng()+"</p>"; > > the result infowindws show the right information but is not formatted > like i want (like html want) > the result is like this > > Address lati=xx,xx lati > =yy.yy > > i think not interpeter right the html > > i aspect: > > Address: > Lati=xx.xx > Longi=yy.yy > > I call the marke infowindows with this function > marker.addEventListener(MapMouseEvent.CLICK, function > (e:MapMouseEvent):void { > marker.openInfoWindow(new > InfoWindowOptions({titleHTML: > "<b>Address</b>",contentHTML:varhtml,width:300,height:300})); }); > > Please help me -- 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 [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.
