Hi
I need help to change the font and color.
Have tried himself for three days without success:-S.
Here is the error-free version but without the font color and size.
The most important thing is that the hyperlink is blu, so it is easy to see 
that there is a link(and change the font size in the title-tip)

xml:
<location>
 <lat>59.672127</lat>
 <lon>10.634683</lon>
 <name_tip>Drøbak </name_tip>
 <title_tip><![CDATA[Drøbak]]></title_tip>
 <content_tip><![CDATA[Batteriveien 111
 1440 Drøbak
 Direktelink
 Omtale
 <a href="http://www.finn.no";>FOTO</a> ]]></content_tip>
</location>
--------------------------------------------------------------------------------------
function createMarker(latlng:LatLng, number:Number, tip, myTitle, 
myContent):Marker 
{
// create Custom marker object
var markerPin:marker_seng = new marker_seng();
// If your marker is to big you can scale it down here
 var i:Marker = new Marker(
  latlng,
  new MarkerOptions({
    hasShadow: true,
icon: this.addChild(markerPin),
                                    tooltip: ""+tip  
                                               })
 );
i.addEventListener(MapMouseEvent.CLICK, function(event:MapMouseEvent):void 
    {
map.openInfoWindow(event.latLng, new InfoWindowOptions({
       titleHTML: ""+myTitle, 
                                                                  
 contentHTML: ""+myContent
                                                              }));
    
    });
return i;
}


// Function that will load the xml
function loadXML(e:Event):void
{
XML.ignoreWhitespace = true; 
    var map_xml:XML = new XML(e.target.data); 
for (var i:Number = 0; i < map_xml.location.length(); i++)
{
var latlng:LatLng = new LatLng(map_xml.location[i].lat, 
map_xml.location[i].lon);
var tip = map_xml.location[i].name_tip;
var myTitle:String = map_xml.location[i].title_tip;
var myContent:String = map_xml.location[i].content_tip;
 map.addOverlay(createMarker(latlng, i, tip, myTitle, myContent)); 
}
}

-- 
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/-/1uGwEQZz_XAJ.
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.

Reply via email to