-
-
Notifications
You must be signed in to change notification settings - Fork 219
[feature] Add API endpoint for indoor map coordinates #828 #976
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
base: gsoc25-map
Are you sure you want to change the base?
[feature] Add API endpoint for indoor map coordinates #828 #976
Conversation
103a39c
to
611f852
Compare
@dee077 Isn't this part of the GSoC project idea for the indoor map? |
Yes, this aligns with the GSoC project idea for the indoor map. However, at the time, it didn’t have the gsoc-idea label, so I wasn’t aware that it would be proposed as a GSoC idea for 2025. |
c594ded
to
2bc4e4c
Compare
Implemented API to return device coordinates for a given location ID. Fixes openwisp#828
d3ca54d
to
e1e9295
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The output looks very similar to GeoJSON, but it's not.
Good progress @dee077 👏
Look at where we use GeoJSON (rest_framework_gis
): https://github.com/search?q=repo%3Aopenwisp%2Fopenwisp-controller%20rest_framework_gis&type=code.
Let's paginate the results and ensure the frontend can load paginated results gradually without crashing if there's many floorplan points scattered on many floors.
c9ab3be
to
f6bf373
Compare
bafe7c1
to
0b15b71
Compare
Implemented API to return device coordinates for a given location ID.
Fixes #828
Checklist
Reference to Existing Issue
Closes #828
Description of Changes
floorplan_coordinates_list
to list coordinates