How do I bring in a location-based company?

Asked 2 years ago, Updated 2 years ago, 120 views

Hello, everyone There are a lot of location-based apps, but even if I googled about it, it doesn't come out (or maybe I couldn't find it) I am writing to ask what other people think

List of companies that are distributed on the screen according to location (address, dong, 00 units), How do I create logic to implement this feature? It looks like a delivery app

No matter how hard I think about it, I'll get my address, or my position in longitude and latitude Bring in all the companies in the surrounding radius stored in the DB!, Then what value should I add to the company that fits my location?That's right.

I don't know if it's because I'm not smart. There's ㅠ<

What are some ways?

Thank you I hope you all have a good day

android ios mobile location

2022-09-21 21:02

1 Answers

https://www.elastic.co/guide/en/elasticsearch/reference/5.5/query-dsl-geo-distance-query.html

I think it'll be possible if you use this. If you enter your business location in ES up/down, why don't you bring the list of Xkm companies near your current location to Geo Distance Query and mark it on the map?


2022-09-21 21:02

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.