Skip to content
About MapikoAbout the service itself: what Mapiko can do, how to use it and what's new.

Map on your website: how to embed a Mapiko map

How to put a Mapiko map on your site with one iframe code: what visitors see, which maps can be embedded, and how to fill it from CSV or Google Sheets.

Mapiko team

4 min read

Map on your website: how to embed a Mapiko map

A list of addresses in a table on a website is hard to use. A map with pins is clearer: visitors see at once what is where. You can put a Mapiko map on any page and fill it from a spreadsheet you already keep.

What the map widget is

It is the same map with your pins, but without the header, footer and extra buttons, in a frame inside your page. It is embedded with a single iframe code: Mapiko gives you a ready snippet, and you paste it into the HTML of your page or into the "custom code" block of your site builder.

Visitors to your site see:

  • the map with all pins and the "+" and "−" zoom buttons;
  • in the top-left corner, the map name as a "↗" link that opens the full map in a new tab;
  • after clicking a pin, a card at the bottom with the type, text and an "Open on the site" link;
  • a route menu to the pin (Google Maps, Apple Maps, Waze).

Visitors can't vote, report or add pins in the widget: for that there is a link to the full map. Pins in the widget update quietly in the background. When you add or remove a pin, it shows up on your site without any page edits.

You can see how it looks in the widget example: a map of Invincibility Points and drinking water points in Kyiv.

Which maps can be embedded

Only public maps (listed in the catalog) or link only maps. A private map, a map "only for people who saved it", an archived or a blocked one can't be embedded: the widget will show a message that the map is not available for embedding.

Only the person who manages the map can get the code. On the map screen, open the "⋯ More" menu and choose "Embed on a website". Next to the code there is a "Copy code" button. By default it sets the width to 100% and the height to 480 pixels. Change them to fit your design.

What about visitors' privacy

A person who sees the widget on your site stays anonymous: Mapiko doesn't create a session or an anonymous ID for them and doesn't take a browser fingerprint. Cookies from your account are not passed into the embedded frame.

How to fill the map from a spreadsheet

If you already have addresses in Excel or Google Sheets, you don't need to move them by hand. The map owner or editor goes to the studio: settings → "Import" → "Table import (CSV, Google Sheets)".

There are two sources:

  • a CSV file: UTF-8 encoding, up to 500 KB; the separator can be a comma, a semicolon or a tab. In Excel: "Save as" → CSV;
  • a Google Sheets link: first publish the sheet to the web ("File" → "Share" → "Publish to web"), then paste the link into Mapiko.

Then there are three steps:

  1. Match the columns: "Pin text", "Latitude", "Longitude", "Address", "Pin type", "Pin status" and the fields of your type. Mapiko fills in headers like "Latitude", "Address" and "Type" by itself.
  2. Check the preview of the first 20 rows, with errors marked.
  3. Click "Import".

Rows with coordinates become pins right away. If a row has only an address, it is looked up on the map in the background, within your map's area. It takes a little time, but you can close the page: when you come back, you will see a summary. It shows how many pins were created, how many went to review and how many were rejected, and lets you download a CSV with errors by row.

The import goes through the same checks as adding a pin by hand: map area, duplicates, personal data. So if a row is rejected, the errors show the reason.

Who this is useful for

  • A chain of stores or pickup points: a map on the "Where to buy" page.
  • A sports club or school: addresses of branches or halls on the contacts page.
  • A community or initiative: help, collection or rest points.
  • A real estate agency: properties with the statuses "available" and "sold".

For other business uses, see the article Mapiko for business.

Create your own map

вбудувати-картуiframeкарта-на-сайтімпорт-csvgoogle-sheets

Open the map

See what is happening nearby or create your own map on Mapiko.

Go to the map

More in “About Mapiko”