For simplicity in this example the server side distributes data always random irrespective of the coordinates, in a real case much more likely server side there will be a spatial database that returns data inside requested bounding box.