KML Screen Overlay

In column types like Address, LatLong, XY we can add an Optional Url for KML File.

This can be used also for Screen Overlay. You know the Google Logo in Map View: This is a Screen Overlay.
3X_7_d_7d365911c5647855653fa1c091648ef98bc7d086.png

So why donโ€™t use your own Logo?
(Note: No, we can NOT overlap the Google Logo with our own branding )
Screen Overlay is an Image that will not move, when you move the map.

At first here are some Documentations:
Screen Overlay
KML Tutorial
KML Reference

We can do funny things:

Logo / Info / Legend
3X_8_e_8eac78d97c5bb253b26b0e2d9f4e9af311a14f82.png

Animated GIF
3X_6_4_64588caa1bb42209c78a696392b8e5bea315cace.gif

We can even use a Google Drawing as the Image Source.
This means: If you change the Google Drawing, it will change the KML Screen Overlay.
(This is not working with Animated GIF)

The KML File should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<ScreenOverlay>
	<name>My_Screen_Overlay</name>
	<Icon>
		<href>URL_To_The_Image</href>
	</Icon>
	<overlayXY x="0" y="1" xunits="fraction" yunits="fraction"/>
	<screenXY x="0" y="1" xunits="fraction" yunits="fraction"/>
	<rotationXY x="0" y="0" xunits="fraction" yunits="fraction"/>
	<size x="200" y="200" xunits="pixels" yunits="pixels"/>
</ScreenOverlay>
</kml>

Please read the Documentation above to learn more about overlayXY, screenXY, rotationXY and size.
You can download also a KML Samples File to study.

Here is a Demo Video:

4 3 1,557
3 REPLIES 3

If we could use expressions in โ€œOptional Url for KML Fileโ€, we could use different Screen Overlays.
For example: When a user added 10 Pins, the Map will not allow any more adds, and a Screen Overlay says: โ€œThank you - no you can have a beerโ€.

Awesome! Great find, @Fabian!

Very cool!
I love the legend idea!

Top Labels in this Space