- This example uses a geographic area to define the "Destinations" field, which may not be directly available within the data as a facet.
- To do this, each geographic area polygon is pre-created as a GeoJSON object, using geojson.io.
- Map the "coordinate" and "bounding box" fields (within the pricing inclusing and exclusion zones) from the Ankor Website API response to your search provider's geographic format.
- When changing the destination dropdown, this code will submit a query to find all yachts located within the selected geographic area (polygon).
- If filtering by using the dates, use dates within 2024.