[mapguide-users] could somebody tell me how to display tooltip in firefox or how to display lable of my dynamic layer in fusion?

Zac Spitzer zac.spitzer at gmail.com
Mon Jul 20 04:58:15 EDT 2009


which versions of fusion and mapguide r u running?

On Fri, Jul 17, 2009 at 11:56 PM, knife114<ldk114 at gmail.com> wrote:
>
> hi,all
>   i hava a problem to display "label text" from my dynamic
> layer(programming) in fusion.
> i can display tooltip in ie6 ie7,but i could not display it in firefox or
> opera.
>
> could somebody tell me how to display tooltip in firefox or how to display
> lable of my dynamic layer in fusion?
>
> --------------------------------------
> i use the addressmarker.xml,it can display tooltip and display label in
> basic weblayout
>
>  <ToolTip>Address</ToolTip>
>    <VectorScaleRange>
>      <MaxScale>10000</MaxScale>
>      <PointTypeStyle>
>        <DisplayAsText>false</DisplayAsText>
>        <AllowOverpost>false</AllowOverpost>
>        <PointRule>
>          <LegendLabel></LegendLabel>
>          <Label>
>            …………
>            <Text>"Address"</Text>
>            <FontName>Arial Unicode MS</FontName>
>            …………
>          </Label>
>          <PointSymbolization2D>
>            <W2D>
>              <Unit>Millimeters</Unit>
>              <SizeContext>DeviceUnits</SizeContext>
>              <SizeX>15</SizeX>
>              <SizeY>15</SizeY>
>              <W2DSymbol>
>
> <ResourceId>Library://Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary</ResourceId>
>                <LibraryItemName>PushPin - Blue</LibraryItemName>
>              </W2DSymbol>
>            </W2D>
>          </PointSymbolization2D>
>        </PointRule>
>      </PointTypeStyle>
>    </VectorScaleRange>
>        -----------------------------------
>         MgLayer addressLayer = new MgLayer(tempLayerResId, resourceService);
>        addressLayer.SetName("AddressMarker");
>        addressLayer.SetLegendLabel("AddressMarker");
>        addressLayer.SetDisplayInLegend(true);
>        addressLayer.SetSelectable(true);
> --
> View this message in context: http://n2.nabble.com/could-somebody-tell-me-how-to-display-tooltip-in-firefox-or-how-to-display-lable-of-my-dynamic-layer-in-fusion--tp3275519p3275519.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list