[mapguide-users] Tooltip question

Kenneth, GEOGRAF A/S ks at geograf.dk
Fri Jul 27 03:41:01 EDT 2007


I don't know if it is possible to filter the tooltips at design time.
However, in ajaxmappane.templ you can find this code:

    if(hlData.ttip != "")
    {
        ttinfo = " " + hlData.ttip + " ";
        ttinfo = ttinfo.replace(/\\n/g, "<br>&nbsp;");
        if(hlData.url != "")
            ttinfo += "<br>";
    }

You can modify the code to suit your needs.

Regards, Kenneth, GEOGRAF A/S



Ivan Milicevic skrev:
>
> Hi,
>
>  
>
> I have layer who is themed on 5 levels. Only one level have data for 
> tooltip's (seat number). Tooltip Works perfectly but when I move mouse 
> over any other objects tooltip get's on but with two empty lines of text.
>
>  
>
> Is it possible to put "WHERE clause" in Tooltip expression or remove 
> empty tooltips programaticly?
>
>  
>
> Any help appriciated.
>
>  
>
> */Ivan Milic(evic'
> /*/voditelj Odjela za dokumentiranje
> i projektiranje/*//*
>
> */ /*
>
> */SUPRA NET d.o.o.
> /*/Erlichova 2, 10000 Zagreb
> CROATIA
>
> Mobile: +385 (0)91 2352-320
> Fax: +385 (0)1 6678-728
> Email: ivan.milicevic at supranet.hr <mailto:ivan.milicevic at supranet.hr>
> URL: www.supranet.hr <http://www.supranet.hr/>/
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070727/bc959ef4/attachment.html


More information about the mapguide-users mailing list