[ka-Map-users] Tooltip

Lorenzo Becchi lorenzo at ominiverdi.com
Thu Apr 20 09:43:16 EDT 2006


Good Ramesh,
move() function look for X,Y params. If they are not there (or maybe 
null) it moves the tooltip outside the viewport (so is hidden).

ciao
Lorenzo



On 19/apr/06, at 21:11, ramesh karra wrote:

> Thanks Lorenzo,
>
> My firefox didn't have DOM inspector, I have
> re-installed firefox with DOM inspector and debugged
> this problem. The MAP_CLICKED event is getting
> delivered to the tooltip also and this resulting in
> move() getting called with no arguments which inturn
> results in the tooltip to become invisible.
> I guess the tool tip needs to check for something
> (like     the 'X' mark co-ordinates) before making
> itself invisible!
>
> Ramesh
>
> --- Lorenzo Becchi <lorenzo at ominiverdi.com> wrote:
>
>> Ramesh sorry,
>> I'm still in a bad situation to test ka-Map: an
>> awful internet
>> bandwidth, no computers with mapserver on.
>> It will be like this for a while, maybe 2-3 weeks
>> more.
>>
>> Use Firefox and try to trace what's happening in the
>> DOM (Tools/DOM
>> Inspector) and in the js console (Tools/JavaScript
>> Console).
>>
>> refer to this application:
>>
> http://www.ominiverdi.org/ka-map/ka-map/htdocs/index_tooltip.html
>>
>> hope to give you a better help soon
>>
>> ciao
>> Lorenzo
>>
>>
>>
>>
>> On 19/apr/06, at 14:50, ramesh karra wrote:
>>
>>> Lorenzo, it does not seem to work with latest in
>> CVS.
>>> Not sure if I am doing anything wrong.
>>> I added the following lines to myMapClicked()
>> routine
>>> and I do not see the tooptip window :
>>>
>>> var kTip = new kaToolTip(myKaMap);
>>> 	  kTip.setText('Some text');
>>> 	  kTip.move(200, 200);
>>>
>>> Thanks
>>> Ramesh
>>>
>>> --- Lorenzo Becchi <lorenzo at ominiverdi.com> wrote:
>>>
>>>> Ramesh, sorry I was travelling,
>>>>
>>>> I guess things have to work without doing nothing
>> to
>>>>  myMapClicked()
>>>> download last CVS, if problems are still there
>> let
>>>> me know.
>>>>
>>>> I'll try to check as soon as I stop travelling...
>>>> cheers
>>>> Lorenzo
>>>>
>>>> _______________________________________________
>>>> ka-Map-users mailing list
>>>> ka-Map-users at lists.maptools.org
>>>>
>>>
>>
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>>>>
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around
>>> http://mail.yahoo.com
>>>
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>



More information about the ka-Map-users mailing list