Flag of ScotlandScottish Health Data

Example usage

An interactive map visualising Scottish health service locations, demonstrating the usage of the health data API for Scotland

This example uses the API to mark health service locations on a map.

API calls are made as you scroll and zoom the map to find locations in the visible area. This is achieved by using the Within filter set to the bounding box of the map (as a GeoJSON bounding box array, [south lng, west lat, north lng, north lat]).

The section on the right shows the last API call that was made, how many results it returned and how long it took.