Make a map or XY background image lighter or darker

Using this method you can make it brighter or darker a XY Background Image or a Map. In fact this is just a white or black that has transparency used for image overlay.
The Pin would appear better.


Original
3X_4_f_4f667ff13e3a1a3370ff69a583c082b0fb66b5bb.jpeg

Brighter:
3X_2_f_2fe8ee8d3efebf8247841c025baff868ecde12ea.jpeg

Darker:
3X_0_4_0492a5ddeef80e76b348f5c61da1ee5af4f22f7e.jpeg


Original:
3X_1_4_1466a3bbfc378b8d896bfb490d4948d3985d5164.png

Brighter:
3X_3_f_3f10453949baedeadf4d92596e95481211d89806.png

Darker:
3X_8_2_8260dbd5db4ad2b5c2e6b822d527f49dd745242a.png


The KML for the XY would 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">
<GroundOverlay>
	<name>ImageOverlayTransparent</name>
	<Icon>
		<href>https://docs.google.com/drawings/d/e/2PACX-1vTS1qJ7AzOlG4PqDne7oenQKZVCzqlAUV6SkqtJFN8QTxRW4JiOy5K6l1YeuDu-GFOjRyemP4LvOFOZ/pub?w=191&amp;h=179</href>
	</Icon>
	<LatLonBox>
		<north>-45</north>
		<south>45</south>
		<east>90</east>
		<west>-90</west>
	</LatLonBox>
</GroundOverlay>
</kml>

The KML for the Map would 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">
<GroundOverlay>
	<name>ImageOverlayTransparent</name>
	<Icon>
		<href>https://docs.google.com/drawings/d/e/2PACX-1vTS1qJ7AzOlG4PqDne7oenQKZVCzqlAUV6SkqtJFN8QTxRW4JiOy5K6l1YeuDu-GFOjRyemP4LvOFOZ/pub?w=191&amp;h=179</href>
	</Icon>
	<LatLonBox>
		<north>85</north>
		<south>-85</south>
		<east>180</east>
		<west>-180</west>
	</LatLonBox>
</GroundOverlay>
</kml>

So the only difference is in <LatLonBox> because XY and Map requires different coordinates.

<href>https://docs.google.com/drawings/d/e/2PACX-1vTS1qJ7AzOlG4PqDne7oenQKZVCzqlAUV6SkqtJFN8QTxRW4JiOy5K6l1YeuDu-GFOjRyemP4LvOFOZ/pub?w=191&amp;h=179</href>

is a Google Drawing as I explained here.

8 2 656
  • UX
2 REPLIES 2

@Fabian_Weller Can you indicate how you get the brighter XY background image? Is it a parameter in the KML for the map?

I m looking to have a record in card view with an image which I can change dynamically the opacity. 

Thank you!

Top Labels in this Space