[mapguide-users] Need guide to show image in tooltip
Mauricio Villablanca
mgvillablanca at yahoo.com
Wed Oct 29 13:57:39 EDT 2008
Add a tooltip to the layer definition. For example, the features in my layer
are campuses that have the NAME attribute:
concat('<table cellpadding=0 cellspacing=0><tr align=center
bgcolor="#AAAAAA"><td height=5>', concat('', concat("NAME", concat('',
concat('</td></tr><tr align=center><td>', concat(' ../T3/zoom/', concat(
</td></tr></table>')))))))
And the result is this:
http://www.nabble.com/file/p20232433/tooltip.jpg
viva24 wrote:
>
> Hello,
>
> How do i show an image in tooltip when user hover certain layer on map? I
> save all my image in "../IMAGES" folder. How do i identify each image
> belong to certain id layer?
>
> concat('<br><div id=PADALimage style=width: 150px; height:113px> <b
> GenerateMyImage.aspx?NAME=',
> concat("LOCATION", concat(' border=0 alt=Property Photo"></div>',
> concat('\nName : ', concat("LOCATION", concat('\nRoute: ', concat("ROUTE",
> concat('\nDistrict: ', "DISTRICT"))))))))
>
>
> From my understanding through the code above, it passed the value of
> 'NAME' to page called 'GenerateMyImage.aspx'.. anyone hv idea how this
> 'GenerateMyImage.aspx' page working? any source code that can guide me to
> work with this such page..hope some1 could help me..thank advance..
>
--
View this message in context: http://www.nabble.com/Need-guide-to-show-image-in-tooltip-tp20219836p20232433.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list