[Mapbender-users] search router callback
Henning Lorenz
henning.lorenz at geo.uu.se
Thu Jul 13 06:22:13 PDT 2017
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
More information about the Mapbender_users
mailing list