[Cartoweb-users] ToolTips plugin

wochter wochter at seznam.cz
Thu Apr 19 05:13:58 EDT 2007


Hi,
could anybody help me with toolTips plugin please?

in tooltips.ini I have defined:
timeout_async.swdemo_budovy.label = "Budovy"
timeout_async.swdemo_budovy.dsn = "pgsql://s:h@localhost:5432/dbb"
timeout_async.swdemo_budovy.dbTableName = swdemo_budovy
timeout_async.swdemo_budovy.attributes = "popis"

in mapfile is:
LAYER
  NAME swdemo_budovy
  TYPE POLYGON
  STATUS ON
  CONNECTIONTYPE postgis
    CONNECTION 'user=s password=h dbname=dbb host=localhost port=5432'
    DATA "the_geom from swdemo_budovy"
  CLASS
    NAME "Swdemo_budovy"
    TEMPLATE "ttt"
    COLOR 235 200 120
    OUTLINECOLOR 182 130 17
  END
  METADATA
   'id_attribute_string' 'gid|int'
  END
END

When I move mouse over the object jsTrace says:
Result initialized
AjaxPlugins.ToolTips: sending request for coords -357344.15238118666,
-833211.1333333333...
Request sent with url
:./client.php?toolTips=1&geoX=-357344.15238118666&geoY=-833211.1333333333&charSet=utf-8〈=
AjaxPlugins.ToolTips: no result
AjaxPlugins.ToolTips: mouse is out map
AjaxPlugins.ToolTips: AJAX request aborted!
AjaxPlugins.ToolTips: no result

This is the same when isn't mouse on object from this layer.

What is wrong please?

Thank you

wochter

p.s.
I use actual cvs version with  ajaxOn = true




More information about the Cartoweb-users mailing list