Updates the lookup for the maps page to use the database itself for any sorting and filtering instead of pulling all data down.
Adds some very basic testing to this path which can be extended when the code structure is updated.
Add a /api/maps url which allows map data to be returned in json format. At present this just takes the same GET parameters as the filters on the page, but this could be improved if needs be in the future.
Updates the lookup for the maps page to use the database itself for any sorting and filtering instead of pulling all data down.
Adds some very basic testing to this path which can be extended when the code structure is updated.
Add a
/api/maps
url which allows map data to be returned in json format. At present this just takes the same GET parameters as the filters on the page, but this could be improved if needs be in the future.