Skip to content

Put your route and notes on your website

Draw the path, entrance, or service area you want visitors to see. Copy one iframe to add your interactive map to your website.

Free to draw and share. No account needed.

An embed preview shows how a custom map can appear on a website.
An embed preview shows how a custom map can appear on a website.

Make the map you need.

Show visitors where to go

Find your location and draw the route or area. Add arrows and notes for entrances, stops, or meeting points.

Copy your embed code

Open Embed in the map editor, choose your website platform, and copy the iframe code.

Add the map to your page

Paste the code into an HTML block on your website. Publish, then check the page on a phone.

A standard map embed shows a pin. That does not help a guest find the side entrance, a visitor follow the path from the station, or a customer see where you deliver. Draw on a Map lets you draw those details first and then embed the finished map. You do not need an API key or an account.

Create the map and copy the embed code

  1. Open Draw on a Map and search for your location.
  2. Draw the route, area, arrows, or notes.
  3. Zoom and move the map to the view you want visitors to see first. The embed opens at that view.
  4. Select the Embed button (</>) in the top toolbar.
  5. Choose where you will paste the code: HTML, WordPress, Wix, or Squarespace. The dialog shows the steps for that platform.
  6. Set the height and select Copy code.
  7. Paste the code into your page, publish it, and check the page on a computer and a phone.

For WordPress, paste the code into a Custom HTML block. In Wix, add Embed Code → Embed HTML. In Squarespace, add a Code block set to HTML.

What the code looks like

<iframe
  src="https://drawonamap.com/embed/#..."
  title="Draw on a Map embed"
  width="100%"
  height="420"
  style="border:0;"
  loading="lazy"
  referrerpolicy="no-referrer-when-downgrade"
  allow="geolocation"
  allowfullscreen></iframe>

This is a template. Copy the real code from the Embed dialog, which fills in the src for your map. The width fits the column it sits in. Change height if your page needs a taller or shorter map.

Free embeds show “Powered by Draw on a Map.” To remove it, save the map and upgrade to Pro.

Keep the embed up to date

Save the map to your account before you copy the code. The embed then shows the latest saved version, so you can fix a route or move a marker without touching your website.

Code copied from an unsaved map stores the drawing in the URL. It does not change when you edit the map. After an edit, open Embed again, copy the new code, and replace the old iframe.

Large imported datasets do not fit in a URL. If the Embed dialog asks you to save first, save the map and open Embed again.

If the map does not appear

Use a block that accepts HTML or iframe code. A field that only takes a web address will not work with the full iframe. If the map disappears after you publish, your site builder may be removing iframes. Check its settings for embedded content.

Ideas for website maps

  • Events and weddings: mark the right entrance, the shuttle stop, and parking on one map.
  • Rentals and travel: draw the walk from the station to the apartment, or the shortcut to the beach.
  • Service businesses: draw the area you cover. If visitors need to check their own address, the paid Service Area Widget turns that boundary into an address checker for your site.

Create your website map