Interface RectangleOptions

Option to set a rectangle to constrain forward geocoding results to a specific rectangular geographic area.

const rectangle = {
min: { lat: 43.032582, lon: 5.097656 },
max: { lat: 49.006466, lon: 26.762695 },
}
interface RectangleOptions {
    max: LatLon;
    min: LatLon;
}

Properties

Properties

max: LatLon

The maximum latitude and longitude of the rectangle.

min: LatLon

The minimum latitude and logitude of the rectangle.