airport-one-widgets 0.4.42 → 0.4.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -355,7 +355,7 @@ The US states are inline SVG paths pre-projected to an Albers conic at build tim
355
355
 
356
356
  On the North America view, destinations beyond the neighbouring countries (Europe, Asia) are edge markers pointing the way the route leaves the map. Those routes, or `initial-view="world"`, also load the `world` layer (about 105 KB gzipped): every country and the US states on an Equal Earth projection centred on the Americas. Once it loads, a North America / World switch beside the filters lets visitors move between the two views, and tapping an edge marker opens that city on the world view. The world view fits every nonstop and never zooms in past about 240° of longitude, so Europe or Asia shows beside North America even for a domestic-only airport. If a layer fails to load, its destinations fall back to edge markers and the switch stays hidden.
357
357
 
358
- When two or more airlines fly the routes, an Airline button in the filter row opens a panel of them, A–Z with logos. Picking one narrows the map, the legend, the phone list and the group chips to that airline's routes; charters carry no airline, so they show only under All airlines. `map_filter` sends `airline:{code}` or `airline:all`.
358
+ A Search flights button ends the filter row and opens the airport's FlyMyAirport page (`/from/{IATA}`) in a new tab, with the same attribution as the city cards; below 560 px it becomes a full-width button under the map. When two or more airlines fly the routes, an Airline button in the filter row opens a panel of them, A–Z with logos. Picking one narrows the map, the legend, the phone list and the group chips to that airline's routes; charters carry no airline, so they show only under All airlines. `map_filter` sends `airline:{code}` or `airline:all`.
359
359
 
360
360
  Attributes (each overrides the saved instance):
361
361
 
@@ -370,9 +370,9 @@ Attributes (each overrides the saved instance):
370
370
  | `primary-color` / `secondary-color` | airport brand | Land and served tint / routes, dots and the card button |
371
371
  | `geo-base-url` | widget API | Where the geometry layers load from |
372
372
 
373
- Below 560 px of container width the city card becomes a bottom sheet, labels hide until zoomed in, and an A–Z list of cities appears under the map. Segment events (under `consent-analytics`): `map_view`, `map_route_click`, `map_filter`, `map_zoom`, `map_view_switch`, plus the shared `Widget V2 Mount` / `Widget V2 Public Config`.
373
+ Below 560 px of container width the city card becomes a bottom sheet, labels hide until zoomed in, and an A–Z list of cities appears under the map. Segment events (under `consent-analytics`): `map_view`, `map_route_click`, `map_filter`, `map_zoom`, `map_view_switch`, `map_search_click`, plus the shared `Widget V2 Mount` / `Widget V2 Public Config`.
374
374
 
375
- CSS parts: `branded-route-map-container`, `branded-route-map-header`, `branded-route-map-filters`, `branded-route-map-map`, `branded-route-map-legend`, `branded-route-map-city-card`, `branded-route-map-destination-list` and `branded-route-map-footer`.
375
+ CSS parts: `branded-route-map-container`, `branded-route-map-header`, `branded-route-map-filters`, `branded-route-map-search`, `branded-route-map-map`, `branded-route-map-legend`, `branded-route-map-city-card`, `branded-route-map-destination-list` and `branded-route-map-footer`.
376
376
 
377
377
  Demo: `/demo/branded-route-map.html` (`npm run dev`) renders sample ATW, CID, SDF and SFB data from the mockup, plus SMF (insets) and CVG and SJC (edge markers on North America, routes to Europe and Asia on the world view), with controls for every setting, placement width and page background. The dev server serves the geometry layers itself under `/demo-geo`.
378
378