AnsweredAssumed Answered

Search widget to query a custom API

Question asked by clement.laskar_onf on Mar 15, 2019

Hello,

 

I would like to use the Search widget to query a JSON-RPC API. The widget UI and behavior fits me well and I just would like to customize the search, suggest and select methods (I think those are the ones ?). 

Do you know what are the possibilities to prevent the widget normal behavior, make it to query my custom service showing it's suggestions and then running a custom  function when the user clicks a suggetion to finally zoom on the geometry ?

 

I found this post that customizes a bit the search function but still uses an arcgis service and the primary search function.

Outcomes