[fusion-users] Maptips on Mapserver

Paul Spencer pspencer at dmsolutions.ca
Wed Sep 3 22:32:10 EDT 2008


Marc,

couple of things -

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>

2. You need to add the z-index on this container object:

#maptipContainer {
   position: absolute;
   z-index: 101
}

3. Starting with ffox 3 you need to assign z-indexes to other things  
that are parallel to the maptip container, in this case the div with  
the id 'thePage':

#thePage {
   zindex: 1
}

should do the trick.  I think IE is similar in this respect.

Cheers

Paul

On 3-Sep-08, at 7:16 PM, Marc Pfister wrote:

> I have Maptips sort-of working now on Mapserver. Only problem is that
> they aren't visible. On FF3 I thought it might be a Z-index thing,  
> like
> the measure tool, but I don't see them on IE7 either. Looking at the
> HTML source in Firebug though, it certainly looks like it created the
> Maptip.
>
> Does this look right? Here's the html:
>
>
> <li id="FusionItem28" class="maptipContainer" style="display: block;
> top: 480px; left: 612px; visibility: visible;">
> <div class="maptipContent">
> SPMU-CH-CBDZ
> <iframe class="maptipShim" scrolling="no" style="width: 1271px;  
> height:
> 42px;">
> <html>
> <head>
> <title/>
> </head>
> <body/>
> </html>
> </iframe>
> </div>
> </li>
>
> It's in this map if you'd like to take a closer look:
>
> http://209.20.81.81/fusion/templates/mapserver/corning/
>
> The console log will return the value of the maptip and a message that
> it set the maptip to "visible'.
>
> Marc
>
>
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users


__________________________________________

    Paul Spencer
    Chief Technology Officer
    DM Solutions Group Inc
    http://www.dmsolutions.ca/



More information about the fusion-users mailing list