Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address search functionality in the maps component #275

Open
pratapagiri opened this issue Jul 9, 2024 · 1 comment
Open

Address search functionality in the maps component #275

pratapagiri opened this issue Jul 9, 2024 · 1 comment
Labels
maps Maps component

Comments

@pratapagiri
Copy link

pratapagiri commented Jul 9, 2024

Hi,
We are evaluating Syncfusion maps component in our application for address search functionality (for example with OpenStreetMap)
Could you please let us if this is possible and how to get this working?

Thanks
Kiran

@gsumankumar gsumankumar added the maps Maps component label Jul 11, 2024
@sabari-senthamaraikannan

Hi @pratapagiri ,

The Maps component does not natively support address search functionality. However, you can achieve this by creating a data source that includes latitude, longitude, and the name of each place. When you provide a name that matches an entry in your data source, you can display markers on the Maps component using the corresponding latitude and longitude values.

You can find the sample that demonstrates the same at the below link.
Sample

In the example mentioned above, we have provided a drop-down list above the map to facilitate place searching. When a user selects a name from the dropdown that matches an entry in our data source, a marker corresponding to that place will be rendered on the map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maps Maps component
Projects
None yet
Development

No branches or pull requests

3 participants