---
title: "Google Maps and KML files"
description: "My Maps. A couple of years ago we told you in How do you insert a customised Google Maps map on our website? how to insert a KML file in Google Maps and in that way manage to create a"
url: https://artprojectgroup.com/google-maps-and-kml-files
date: 2014-11-17
modified: 2026-10-02
author: "Art Project Group"
image: https://artprojectgroup.com/wp-content/uploads/2023/02/google.webp
categories: ["Tutorials"]
tags: ["Google Maps", "HTML", "KML", "Web programming"]
type: post
lang: en-US
---

# Google Maps and KML files

![My Maps](https://artprojectgroup.com/wp-content/uploads/2014/11/my-maps.webp)My Maps

A couple of years ago we told you in [How do you insert a customised Google Maps map on our website?](/insert-a-customised-google-maps-map) how to insert a KML file in Google Maps and in that way manage to create a customised map on our own website.

Well then, it seems that from 2015 onwards Google Maps is no longer going to allow the technique described in that post to be used, so we are going to take a quick look at what we have to do so that our customised maps go on being functional from the start of next year.

### First step

The first thing we are going to do is visit our [My Maps](https://www.google.com/mymaps), the new section Google Maps has created to manage our customised maps, and create a new map.

To do so we must log in with our Google Maps account or create a new one.

[![Name and description of the map](https://artprojectgroup.com/wp-content/uploads/2014/11/nombre-y-descripcion-del-mapa.webp)](https://artprojectgroup.com/wp-content/uploads/2014/11/nombre-y-descripcion-del-mapa.webp)Name and description of the map

Once the new map has been opened, we will add the name and the description we want to it.

### Second step

We now have the map created; now it is time to import the KML file we had created following the instructions described in [How do you insert a customised Google Maps map on our website?](/insert-a-customised-google-maps-map).

Once imported, the customised map containing the KML file will open with our own marker, our own image and with all the contact details we added to it, but the latter have to be edited, since they have not loaded correctly.

### Third step

[KML file import](https://artprojectgroup.com/wp-content/uploads/2014/11/importacion-de-archivo-marcador-de-google-maps.webp)KML file import

Once we have carried out the actions described above, we need to edit the contact details and the image correctly, since the formats have changed and additional data appears that should not be visible.

> It should be borne in mind that now, thanks to My Maps, we can add more than one image to the contact details we have added to our marker, so you can upload as many as you need and as My Maps allows you.

> It should also be borne in mind that My Maps does not allow HTML to be inserted into the contact details, or at least we have not yet found the way.

[![Imported KML file](https://artprojectgroup.com/wp-content/uploads/2014/11/archivo-kml-importado.webp)](https://artprojectgroup.com/wp-content/uploads/2014/11/archivo-kml-importado.webp)Imported KML file

We can also change the type of map to be shown by choosing in *Base map* between any of the nine options available.

### Fourth step

Once the image and the contact details have been edited, and to finish the map off, we must save it as public. To do so we will click the *Share* button that appears in the top right-hand side of the screen, and we will change Private to Public on the Web.

Finally, and in order to be able to insert the customised map on our own website, we are going to generate the HTML code that we must insert. To do so we will click on the button that has an icon with an open folder, to the left of the *Add layer* button, and we will select, from the context menu, the Embed on my site option, which should show us code similar to this:

Copy to clipboardSyntax Highlighter
[![Embed map on my website](https://artprojectgroup.com/wp-content/uploads/2014/11/insertar-mapa-en-mi-sitio-web.webp)](https://artprojectgroup.com/wp-content/uploads/2014/11/insertar-mapa-en-mi-sitio-web.webp)Embed map on my website

With this simple and straightforward code, we can now insert it anywhere on our website.

If you want to see the code in action, you can see it right now on our [Contact](/contact) page.

We look forward to your opinions and comments on this new way of inserting customised maps on your websites.
