[Chameleon] MapTips Widget
Jason Fournier
jfournier at dmsolutions.ca
Sat Jun 5 10:27:46 EDT 2004
Hi Dave,
Which version of Chameleon are you using?
I suggest downloading Chameleon 1.99 Beta (May 31, 2004) from MapTools
(http://www.maptools.org/chameleon/index.phtml?page=downloads.html).
The 'Enhanced' sample application gives a nice example of how MapTips works.
Thanks,
Jay
Dave Astolfo wrote:
>Hi All,
>
>Does anyone have sample code on how to get the MapTips Widget working? I
>tried it, but am not sure what the requirements are.
>I understand that a shared resource is needed? Are there changes
>required to the MAP file? If anyone has sample code, it would be
>appreciated.
>
>BTW - I tried adding the widget call and got the following error:
>
>Notice: Undefined index: height in
>c:\mapservertools\chameleon\htdocs\widgets\Button.php on line 570
>
>The sample I used is here:
>
><cwc2 type="MapTips" defaulttext=" " tolerance="2"
>maptipsdiv="maptips_container" label="Map Tips"
>styleresource="TextButton" popupstyleresource="TextButton"
>popupwidth="500" popupheight="450" image="images/icon_maptips.png"
>imagewidth="75">
> <image state="normal"/>
> <image state="selected"/>
> <image state="hover"/>
> </cwc2></td>
> <td><div id="maptips_container" name="maptips_container"
>style="position:relative;width:100%;height:75;background-color:#CCCCCC">
></div></td>
> <td> </td>
>
>
>
>Thanks,
>
>Dave
>
>
>_______________________________________________
>Chameleon mailing list
>Chameleon at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>
>
>
--
________________________
Jason Fournier
Application Developer
DM Solutions Group Inc.
jfournier at dmsolutions.ca
www.dmsolutions.ca
613.565.5056 x18
More information about the Chameleon
mailing list