[fusion-users] Maptips on Mapserver
    Marc Pfister 
    mpfister at enplan.com
       
    Thu Sep  4 14:12:09 EDT 2008
    
    
  
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
    
    
More information about the fusion-users
mailing list