Zum Hauptinhalt springen

🇧🇸 Bahamas Interactive Map

The Bahamas is an archipelagic country in the Lucayan Archipelago of the Atlantic Ocean, renowned for its stunning turquoise waters, white-sand beaches, and vibrant coral reefs.

🌍 Overview

The Bahamas is an archipelagic country in the Lucayan Archipelago of the Atlantic Ocean, renowned for its stunning turquoise waters, white-sand beaches, and vibrant coral reefs.

🎨 Design & Flag Inspiration

The visual identity of this map pack is inspired by the National Flag of Bahamas.

  • Hover State: We utilize a vibrant translucent color (rgba(0, 123, 167, 0.35)) to represent the national identity and heritage.
  • Borders: Rendered in Deep Navy (#1e293b) to ensure maximum contrast and a modern, premium aesthetic.

🗺️ Interactive Demo

Hover over the Districts to see the highlight and tooltips. Click any district to see how easily you can capture the region's data code.

svg-world-maps / bahamas.svg
AcklinsBerry IslandsBiminisBlack PointCat IslandCentral AbacoCentral AndrosCentral EleutheraCity of FreeportCrooked IslandEast Grand BahamaExumaGrand CayHarbour IslandHope TownInaguaLong IslandMangrove CayMayaguanaMoore's IslandNew ProvidenceNorth AbacoNorth AndrosNorth EleutheraRagged IslandRum CaySan SalvadorSouth AbacoSouth AndrosSouth EleutheraSpanish WellsWest Grand Bahama
How it works

Every <path> element in the generated SVG automatically receives data-code and data-name. You can listen for clicks on the parent container to instantly build drill-down experiences, filtering, or regional detail views.


💻 How to Render It

Implementing the Bahamas map in your project takes just a few lines of code. Since every map is generated as a plain SVG string, the exact same approach works in React, Vue, Angular, Svelte, and vanilla JavaScript.

One pattern, every framework

Generate the SVG with createMap(), inject it into a container, and listen for clicks using the automatic data-code and data-name attributes.

👉 See the full rendering guide for your framework →