[mapguide-users] Tooltip question

Ivan Milicevic ivan.milicevic at supranet.hr
Fri Jul 27 03:44:37 EDT 2007


Thank you, that's solved my problem.

 

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth, GEOGRAF A/S
Sent: Friday, July 27, 2007 9:41 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tooltip question

 

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 Miličević
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
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/18b1deaf/attachment.html


More information about the mapguide-users mailing list