search router callback

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

search router callback

Henning Lorenz

Hi,

Is there a way to include multiple callback events in the search router configuration?

Example:
A search brings up several results with information from key-attributes.

callback:
  event: mouseover
  options:
    buffer: 1.5
will then move and zoom the map between the results with a 1.5 degree buffer around them.
I tried to define a second callback (by double callback that zooms in closely to the eventually selected (clicked) result, but can't get it working. Is it possible at all?

I tried

callback:
  event: mouseover
  options:
    buffer: 1.5
  event: click
  options:
    buffer: 0.1

and

callback:
  event: mouseover
  options:
    buffer: 1.5
callback:
  event: click
  options:
    buffer: 0.1

without success.

Is it possible to to trigger an internal function with the callback? Like with a button?

Thanks for helping,


Henning

_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users