| c | lat,lng | 18.1096,-77.2975 (Jamaica centroid) | Map centre. Same format the main MapJamaica app uses in its share URLs. c=18.0179,-76.8099 |
| z | number 0–22 | 11 | Zoom level. 9 ≈ island overview, 13 ≈ city, 17 ≈ single building. z=15 |
| sel | layerId:featureId | (none) | Pre-select a feature on load — its PlaceCard opens automatically when the placeCard control is enabled. The builder fills this for you when you pick a business. sel=basemap:lodging:-77.166097,18.431349 |
| mode | default | poi | parish | district | picker | locator | default | Scenario preset. poi = focused single-place view with its own control defaults; picker = taps drop a pin and post picker:point to your page. mode=poi |
| style | streets | satellite | hybrid | streets | Basemap imagery. hybrid layers road labels over satellite. style=satellite |
| controls | CSV of control ids, or "minimal" | per-mode preset | Which UI controls render on the map. Omit for the mode preset; "minimal" = zoom only. See the controls reference below for every id. controls=zoom,recenter,placeCard |
| interactive | boolean | true | false freezes the map (no pan/zoom/rotate) — useful for hero images and static cards. interactive=false |
| layers | CSV of layer ids, or "-" | catalog defaults | Which data layers are on. "-" turns everything off (clean basemap). See the layer reference below for every id. layers=hospital,fuel |
| routes | CSV of route ids | (no filtering) | Restrict transit layers to specific routes — live vehicles and route polylines outside the list are hidden. Use the route picker in the builder to find ids. routes=jutc-900 |
| markers | JSON array | [] | Your own pins: lat, lng, optional label, hex color, and emoji icon. The builder’s stop editor writes this for you. markers=[{"lat":18.01,"lng":-76.8,"label":"HQ","color":"#dc2626","icon":"🏨"}] |
| radius | metres | 500 in poi mode, else none | POI-mode context radius for nearby suggestions around the selected place. radius=800 |
| showNearby | CSV of category ids | poi-mode preset | POI-mode: which categories surface as nearby context for the selected place. showNearby=hospital,fuel |
| origin | CSV of origins | (accept any parent) | Security allowlist: only control messages (setCenter, setLayers, …) from these origins are honoured. Recommended for production embeds. origin=https://yoursite.com |
| — | locked | true | The MapJamaica badge is always shown during the beta. It links to mapjamaica.com. (not settable) |
| w | CSS width | 100% | Snippet hint only — sets the width attribute on the generated iframe tag. w=100%25 |
| h | CSS height | 480 | Snippet hint only — sets the height attribute on the generated iframe tag. h=480 |