[fusion-users] Maptips on Mapserver

Mike Adair madair at dmsolutions.ca
Thu Sep 4 14:23:59 EDT 2008


That should be all you need, as long as the <Name> element for MapTip 
widget in AppDef MapTip matches the ID of the div in your template.

Mike

Marc Pfister wrote:
> Paul Spencer [mailto:pspencer at dmsolutions.ca] wrote:
>
>   
>> 1.  Why is the maptip container an LI element?  That seems odd.  It
>> looks actually like you've assigned your MapTip widget to something in
>> a toolbar?  You should not put it in a toolbar, but rather add an
>> extra div to your page.
>>
>> <div id="maptipContainer"></div>
>>     
>
> Hmm, for some reason I added the Widget to the end of one of the toolbar
> containers in ApplicationDefinition.XML, so no wonder it was doing that.
>
>  
> So that then leads to the question, what exactly is the right way to use
> maptip in ApplicationDefinition.XML?
>
> I've got the widget added:
>
> <Widget xsi:type="WidgetType">
> <Name>Maptip</Name>
> <Type>Maptip</Type>
> <StatusItem/>
> </Widget>
>
> But now though Maptip.js loads, it never initializes. It was
> initializing when I had the Maptip as an item in the toolbar container,
> so do I need some sort of container for the maptip that corresponds to
> the maptipContainer div?
>
> Marc
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>   


More information about the fusion-users mailing list