Search address

1 Answer 127 Views
Map
Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
Ilan asked on 22 Mar 2023, 10:14 AM

I'm using OpenStreetMap as the MapLayer

 

Is there a way to add a search address box?

 

 

1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 27 Mar 2023, 08:11 AM

Hello Ilan,

I believe it is possible, but that has to be implemented additionally. For instance, you can implement a functionality that returns the coordinates by searching for addresses and setting those coordinates to the RadMap will point to that address.

Here is one StackOverflow article with an example to get information/coordinates by address: OpenStreetMap: get coordinates from address

After that, you can use the RadMap's Client Side APIs to center the map on the desired coordinates, see Client-side Programming

I hope this will be helpful.

Regards,
Attila Antal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Map
Asked by
Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
Answers by
Attila Antal
Telerik team
Share this question
or