openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[feature] Add API endpoint that returns co-ordinates on indoor map (floorplan)

Open pandafy opened this issue 1 year ago • 1 comments

Add an API endpoint that takes the location ID and returns co-ordinates of all the devices.

  • It should also return all available floors in the location.
  • It should be possible to filter the devices based on the floor.

pandafy avatar Feb 06 '24 11:02 pandafy

Appraoch

  • The current implementation of the draft PR returns data in JSON format; this should be updated to return GeoJSON format to be compatible with netjsongraph.js for rendering the floorplan map.
  • Filter class is already been made.

dee077 avatar May 14 '25 17:05 dee077