How to Use InexMaps

Complete guide to building, styling, and sharing your interactive USA map.

1. Getting Started

Open the Map Builder. The interactive USA map loads automatically in the centre of the screen. The left sidebar contains all the customisation panels — each one can be expanded by clicking its header.

To begin, simply click any state on the map to select it. A chip appears at the top of the sidebar showing the selected state and its current fill colour. From there you can set a colour, add information, or configure what happens when a visitor clicks that state in the final published map.

Tip: Use the Search box in the top toolbar to quickly jump to any state by name or abbreviation instead of clicking the map.

2. Toolbar

The top bar gives you quick access to global actions.

ControlWhat it does
Search boxType a state name or two-letter code (e.g. CA or California) to select that state without clicking the map.
Undo Ctrl+ZReverses your last action. Multiple levels of history are kept.
Redo Ctrl+YRe-applies an undone action.
ResetResets all states to their default colours and clears all customisations. You will be asked to confirm before anything is wiped.
PreviewOpens a full-screen preview of how the map will look and behave for an end user — hover effects, tooltips, and click actions all work in Preview mode.
ExportOpens the Export pricing modal so you can download your finished map.

3. State Info Panel

This panel appears automatically when a state is selected. It lets you attach rich data to each state that will be shown inside the interactive tooltip or detail card when a visitor interacts with the map.

Available fields

FieldDescription
CapitalThe state capital city, shown in the tooltip and detail card.
PopulationAny population figure or statistic you want to display.
Custom fieldsClick + Add custom field to add any number of key/value pairs (e.g. "GDP", "Governor", "Unemployment rate"). They appear in both the tooltip and the state card.
NotesA free-text description or any note about the state.
Image URLA URL to any image (state flag, photo, chart). Displayed at the top of the detail card and optionally in the tooltip.
Link URLA URL that the detail card's "Learn more" button will point to.
Link textThe label for the link button (defaults to "Learn more").

On-click action

The On click radio buttons control what happens when a visitor clicks this state in the published map:

Click View state card at the bottom of the panel to preview exactly what the detail modal will look like for the selected state.

Auto-saved: All state info is kept in memory as you work. Use the Project panel to save your work to a file so you can reload it later.

4. Colour Panel

The Colour panel controls the fill colour of the currently selected state (or all states at once).

Quick Themes

A row of preset swatches is shown for instant one-click styling. Click All themes › to open the full Themes panel, which contains a larger library of curated colour schemes — clicking any theme applies it to every state at once.

Palette

A grid of preset colours for quick individual state colouring. Click any swatch to apply it to the selected state immediately.

Preferred Colours

As you use the custom colour picker, your most recently used colours appear here for quick reuse.

Custom Colour

Use the colour wheel or type a hex value directly (e.g. #e63946), then click Apply to set the colour on the selected state.

Fill Pattern

In addition to a solid fill you can apply a repeating pattern over the state's colour:

Use the Size slider to control the density of the pattern.

Apply to all / Reset all

Apply to all sets every state to the currently active colour and pattern. Reset all removes any custom colour from every state, returning them to the default fill.

5. Tooltip Panel

The tooltip is the small pop-up that appears when a visitor hovers over a state in the published map.

Enabling / disabling

Uncheck Show tooltip to hide it entirely for all states.

Style options

SettingDescription
BackgroundThe tooltip background colour.
TextThe text colour inside the tooltip.
BorderToggle the border on/off and set its colour.
OpacityHow transparent the tooltip is (0 = invisible, 100 = fully opaque).
RadiusCorner rounding of the tooltip box in pixels.
ShadowDrop shadow size in pixels.

Fields shown

Toggle individual checkboxes to control which pieces of state information appear inside the tooltip: Capital, Population, Notes, Custom fields, and Image / Flag.

6. Hover State Panel

Controls the visual effect applied to a state when the user's cursor moves over it.

SettingDescription
FillThe highlight colour on hover. Enable Auto to have the builder calculate a slightly lighter or darker shade of each state's current colour automatically.
BorderColour of the state outline that appears on hover.
Border widthThickness of the hover border in pixels.
ShadowDrop shadow distance, X offset, Y offset, blur radius, and colour — combine these for a glow or lift effect.

7. Map Background Panel

Sets the colour and appearance of the area behind the map SVG itself.

SettingDescription
ColourThe background fill colour of the map container.
OpacitySet to 0 to make the background fully transparent — useful if you want the map to sit on top of a coloured section of your page.
Map shadowA soft drop shadow cast by the entire map area, giving it a floating appearance.
Shadow colourThe colour of that outer shadow.

8. Map Title Panel

Adds a title and optional subtitle displayed directly on the map, above the states.

SettingDescription
TitleMain heading text (e.g. "US Election Results 2024").
SubtitleSmaller secondary line below the title, useful for a source credit or date.
AlignLeft, Center, or Right alignment of the title block.
ColourText colour of both title and subtitle.
VisibleToggle to show or hide the title overlay without deleting the text.

9. Border Panel

Controls the thin lines drawn between states (the state borders on the SVG map).

SettingDescription
ColourColour of all state border lines.
WidthStroke thickness from 0 (invisible) to 3. Use 0 to remove borders entirely for a borderless look.

10. Labels Panel

Overlays text labels directly on each state shape. Labels can show the state abbreviation, the full name, or any custom value you choose.

Basic controls

SettingDescription
Show labelsTick to enable labels on all states.
TypeCode shows the two-letter abbreviation (CA, TX…). Full name shows the complete state name.
ValueOverride the label for the currently selected state with any custom text (e.g. a percentage, a number, or any short string). Click Clear to remove the override for that state.
SizeFont size of the labels in pixels.
ColorText colour for all labels.
FontFont family: Sans-serif, Arial, Helvetica, Georgia (serif), or Courier (mono).
Bold / OutlineToggle bold weight or a thin outline stroke around the letters for legibility on dark backgrounds.

Importing label values in bulk

Instead of typing values one state at a time, paste a CSV or JSON block into the Import Values text area and click Apply. The format is a two-column CSV where the first column is the two-letter state code and the second column is the label value:

NJ,56%
MA,45%
CA,38%
TX,61%

Or as a JSON object:

{"NJ":"56%","MA":"45%","CA":"38%","TX":"61%"}

You can also click Example › to load a pre-filled sample, or use Load file to import a .csv, .json, or .txt file from your computer. Click Clear all to remove all custom label values at once.

11. Data Input Panel

Automatically colours all states based on a dataset — ideal for choropleth maps (e.g. election results, population density, unemployment rates).

Pasting or uploading data

Paste a two-column CSV or a JSON object mapping state codes to numeric values, then click Parse:

AL,5
CA,120
TX,98
NY,87

Or as JSON:

{"AL":5,"CA":120,"TX":98,"NY":87}

You can also click Load file to read a file from your computer. Click Example › to see sample data in both numeric and percentage formats.

Colour scale

After parsing data, set your gradient scale:

Click Apply Scale to colour every state according to its data value and the gradient you have defined. Click Clear to remove the imported data.

12. Project Panel (Save & Load)

Your work is held in memory while the page is open. To preserve it across sessions, use the Project panel.

History controls are also described here: use Ctrl+Z / Ctrl+Y or the arrow buttons in the toolbar to step backwards and forwards through your recent changes.

Tip: Save your project file before exporting. That way you can return to the builder at any time, reload your project, make edits, and export again — without starting from scratch.

13. Exporting Your Map

When your map is ready, open the Export Map panel in the sidebar and click Export Map ›. A modal appears with three export options:

FormatPriceBest for
Interactive HTML Map $5 Embedding a fully interactive map (hover, tooltips, click actions) on any website.
3 Interactive HTML Maps $10 If you need to export multiple different maps — credits never expire.
Static Map Image $1 A high-quality PNG & JPEG snapshot for presentations, reports, or print. No interactivity.

Checkout is handled securely by Lemon Squeezy. After payment you will receive your download link directly from them.

14. Embedding the HTML File

The exported .html file is fully self-contained. All map data, styles, and JavaScript are baked into that single file — it makes no external network requests and requires no server-side processing. You can host or embed it anywhere.

Method A — Direct iframe embed (recommended)

Upload the file to any web host, then drop an <iframe> into your page pointing to its URL:

<iframe
  src="https://yourdomain.com/my-map.html"
  width="100%"
  height="600"
  style="border:none; border-radius:8px;"
  loading="lazy"
  title="Interactive USA Map"
></iframe>

Adjust height to suit your layout. The map is fully responsive and will scale to fill the iframe's width.

Method B — Inline the file directly

Because the file is self-contained, you can also paste its entire contents directly into a page's HTML instead of using an iframe. Open the .html file in a text editor, copy everything inside the <body> tag, and paste it into your page where you want the map to appear. Make sure your page does not already define conflicting CSS variable names.

Hosting options

Any static file host will work. Some free and easy options:

  1. GitHub Pages — Push the .html file to a GitHub repository, enable Pages in the repository settings, and share the generated URL (e.g. https://yourusername.github.io/my-repo/my-map.html).
  2. Netlify Drop — Go to app.netlify.com/drop and drag the file into the browser window. Netlify gives you a public URL instantly with no account required.
  3. Cloudflare Pages / Vercel — Similar drag-and-drop or Git-based deployment. Both provide fast global CDN delivery.
  4. Your own server — Copy the file to any web-accessible directory via FTP, SFTP, or your hosting control panel. No special server configuration is needed.
  5. WordPress / CMS — Upload the file to your media library or a custom uploads folder, then embed it using the iframe code in Method A above. Many page builders (Elementor, Divi, etc.) have an HTML or iframe widget you can paste the code into.

Setting a responsive height

To make the iframe fill its container while preserving the map's aspect ratio, use a CSS aspect-ratio wrapper:

<div style="position:relative; width:100%; aspect-ratio:16/10;">
  <iframe
    src="https://yourdomain.com/my-map.html"
    style="position:absolute; inset:0; width:100%; height:100%; border:none;"
    title="Interactive USA Map"
  ></iframe>
</div>
Tip: The map SVG uses a 3566 × 2469 coordinate space (roughly 16:11 ratio). An aspect ratio of 16/11 or 3 / 2 in CSS will give a near-perfect fit without letterboxing.

Local testing (opening the file directly)

You can also open the .html file directly in a browser from your desktop (no server needed) by double-clicking it. This is useful for a quick check before uploading. All interactivity works in this mode.