Is there any way to hook into the search bar so that we can act on custom queries? It would be great if users could type “ABC123” and jump to node ABC123, but still be able to type an address in and navigate to that as well. We would have many different ways they could identify a node so the handler would have to be custom and in our case, involve some callbacks and such.
The way I would envision this working is that we could get their query and if it matches our pattern we can act on it, otherwise we send it to the default handler. Any ideas?
To clarify, I believe that you guys call this search tool the “Geocoder”.
We don’t have out-of-the-box support for this right now, but it is an interesting idea so I made a note on the roadmap.
In the meantime, if you are up for modifying the Cesium code, you could do something custom yourself like #2439.
I also have a 3D model in Cesium 3D Tiles that I have been able to view through my browser and I want to the user to be able to search for the name of buildings and fly to them. It has been 2 years now, can someone tell me what's up with that? How can I use my 2D GIS data to geocode the model? Thanks
This sandcastle example should show you how to hook into the geocoder. You should be able to modify this example to read from your data and flyTo specific locations.