All iframe URL parameters for Maps embeds.
All parameters are passed as query strings in the iframe src URL:
https://www.stay22.com/embed/gm?aid=<AID>&address=Bell+Centre+Montreal&checkin=2026-08-15
Toggle parameters on and off to see how they affect the map in real time.
At least one location parameter is needed. Coordinates are the most precise.
Parameter Type Required Default Description addressstring No — Destination address or place name. URL-encode spaces as + or %20. latnumber No — Latitude. Use with lng. Takes priority over address. lngnumber No — Longitude. Use with lat.
Parameter Type Required Default Description checkinstring No — Check-in date in YYYY-MM-DD format. checkoutstring No — Check-out date in YYYY-MM-DD format.
Parameter Type Required Default Description adultsnumber No — Number of adult guests. childrennumber No — Number of children. infantsnumber No — Number of infants. roomsnumber No — Number of rooms. Defaults to 1. bedroomsnumber No — Number of bedrooms. bedsnumber No — Number of beds. bathroomsnumber No — Number of bathrooms.
Parameter Type Required Default Description campaignstring No — Campaign ID for tracking. To know where this map is being embedded, and where the booking came from. gclidstring No — Google Click ID for AdWords attribution.
Control the map viewport, zoom level, and visible area.
Parameter Type Required Default Description zoomnumber No — Force a specific map zoom level. Higher numbers = more zoomed in. Typical range: 1 (world) to 18 (street level). Defaults to 16. freezeviewportboolean No — Lock the map viewport. Prevents automatic adjustments when filters change or results load. nelatnumber No — Northeast latitude of a bounding box. Use with nelng, swlat, swlng. nelngnumber No — Northeast longitude of a bounding box. swlatnumber No — Southwest latitude of a bounding box. swlngnumber No — Southwest longitude of a bounding box. scrollstring No — Scroll/zoom behavior on the map. Options: enabled, disabled.
Render a route or trail on the map from a GPX file.
Parameter Type Required Default Description gpxstring No — URL to a GPX file. Renders the trail as a polyline on the map. Must be hosted on HTTPS. You may need to configure CORS headers on the hosting server to allow the iframe to fetch it. gpxlinecolorstring No — Trail line color. Hex without #. Defaults to 45aaf2. gpxlineopacitynumber No — Trail line opacity from 0 to 1. Defaults to 1. gpxlinethicknessnumber No — Trail line thickness in pixels. Defaults to 4.
Parameter Type Required Default Description minnumber No — Minimum price filter. maxnumber No — Maximum price filter. priceperstring No — Price display mode. Options: nightly, total. minstarratingnumber No — Minimum star rating filter. minguestratingnumber No — Minimum guest rating filter. limitnumber No — Maximum number of results to display. Min 5, max 99.
These change how the map looks. Toggle them in the playground above to see what each one does.
Parameter Type Required Default Description mapstylestring No — Map visual style. Options: dark, light, satellite. Defaults to standard. maincolorstring No — Primary accent color. Hex value without the # (e.g. ff5a5f). invmodestring No — Inventory mode. Options: accommodation (default), experience. listviewexpandboolean No — Show list view alongside the map. The iframe must be wider than 400px for the list to appear. viewmodestring No — Initial view. Options: map, listview, all. markerimagestring No — URL for a custom marker icon on the destination pin. navimagestring No — URL for a custom navigation icon. dotlistingsboolean No — Show listings as dots on the map instead of price markers.
All hex values, without the # prefix.
Parameter Type Required Default Description fontcolorstring No — Primary font color. fontcolorsubstring No — Secondary font color. hotelscolorstring No — Hotel marker color. hotelsfontcolorstring No — Hotel marker font color. rentalscolorstring No — Rental marker color. poibgcolorstring No — POI background color. bordercolorstring No — Border color. loadingbarcolorstring No — Loading bar color. chpincolorstring No — Custom pin color. chpinfontcolorstring No — Custom pin font color.
Parameter Type Required Default Description poistring No — Custom points of interest as a URL-encoded JSON array. Each object supports: lat, lng (position), name (pin label), desc (hover text), url (click destination), img (icon URL), size (1-5), disablehover (skip hover card). Typically set programmatically. fitmaptopoiboolean No — Fit the map bounds to include all POI positions. hotelsstring No — Custom hotel listings as a URL-encoded JSON array passed in the query string. Typically set programmatically rather than by hand. titlestring No — Widget title override. Pass null to remove. customfontlinkstring No — URL to a custom font (e.g. Google Fonts link). customfontstring No — Custom font name. Requires customfontlink.
Parameter Type Required Default Description hotelsapistring No — Hotel API provider override (e.g. booking, expedia). rentalsapistring No — Rental API provider override (e.g. vrbo, airbnb).
Show, hide, or feature specific listings by their provider IDs. All ID lists are comma-separated.
Parameter Type Required Default Description showhotelsboolean No — Show hotel listings. showothersboolean No — Show other accommodation types. skiphcidsstring No — Hotel IDs to exclude (comma-separated). onlyhcidsstring No — Only show these hotel IDs (comma-separated).
Hide specific UI elements. All are boolean — set to true to hide.
Parameter Type Required Default Description hideenlargemapboolean No — Hide the fullscreen/enlarge button. hidesettingsboolean No — Hide the settings button. hidecurrencyboolean No — Hide the currency selector. hidelanguageboolean No — Hide the language selector. hidesearchbarboolean No — Hide the search bar. hidefiltersboolean No — Hide all filters. hidepricefilterboolean No — Hide the price filter. hidecheckinoutboolean No — Hide the check-in/check-out controls. hideguestpickerboolean No — Hide the guest picker. hideadultsboolean No — Hide the adults selector. hidechildrenboolean No — Hide the children selector. hideroomsboolean No — Hide the rooms selector. hidemodeswitcherboolean No — Hide the accommodation/experience mode switcher. hidemainmarkerboolean No — Hide the main center marker. hidestarratingboolean No — Hide star ratings. hideguestratingboolean No — Hide guest ratings. hidepriceperboolean No — Hide the per-night price label. hideroomtypefilterboolean No — Hide the room type filter. hidenavbuttonsboolean No — Hide navigation buttons. hidebrandlogoboolean No — Hide the Stay22 brand logo. hidefooterboolean No — Hide the footer. hidenavimageboolean No — Hide the navigation image. hideallezbuttonboolean No — Hide the Allez redirect button.
Parameter Type Required Default Description currencystring No — Currency code (e.g. USD, EUR). Auto-detected by default. supportedcurrenciesstring No — Restrict available currencies to this comma-separated list. supportedlangstring No — Restrict available languages to this comma-separated list. unitsystemstring No — Unit system. Options: metric, imperial.
< iframe
src = "https://www.stay22.com/embed/gm?aid= < AID>&lat=45.4960&lng=-73.5693&checkin=2026-08-15&checkout=2026-08-17&adults=2&campaign=bell_centre_concert"
style = "width: 100%; height: 380px; border: none;"
loading = "lazy"
></ iframe >
The iframe is responsive by default. Recommended dimensions:
Width: 100% of the container
Height: 380px is a good default; adjust to fit your layout
Border: none for a clean look
iframe {
width : 100 % ;
height : 380 px ;
border : none ;
border-radius : 8 px ; /* optional */
}