# KML with .png images scaling issue

**URL:** <https://community.thinkgeo.com/t/kml-with-png-images-scaling-issue/9007>\
**Category:** WinForms\
**Created:** [March 14, 2018, 1:57pm UTC](https://community.thinkgeo.com/t/kml-with-png-images-scaling-issue/9007 "2018-03-14T13:57:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dib](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/dib/32/19493_2.png) [@Dib](https://community.thinkgeo.com/u/Dib)\
**Post date:** [March 14, 2018, 1:57pm UTC](https://community.thinkgeo.com/t/kml-with-png-images-scaling-issue/9007/1 "2018-03-14T13:57:00Z")

</div>

Hello,

I am testing out a KML file that includes some .png images. The lines described in the data are showing up correctly, but the png files, witch are the day/time labels, are wildly off. If I open the KML file in Google Earth, they scale correctly. How can I get them doing the same?

[AL112017\_earliest\_reasonable\_toa\_34.zip](https://community.thinkgeo.com/uploads/default/original/3X/9/8/98f62b868d2bf881754e6cc3979d7566b5deec1f.zip) (15.0 KB)

Thanks,  
Dib

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [March 15, 2018, 8:38am UTC](https://community.thinkgeo.com/t/kml-with-png-images-scaling-issue/9007/2 "2018-03-15T08:38:11Z")

</div>

Hi Dib,

I think for image our KML class cannot support so well, because it focus on support the shapes.

But the first problem is we cannot parse the KMZ file, if you can make it works could you please upload a simple sample or paste your code here?

 ![](https://community.thinkgeo.com/uploads/default/original/3X/4/e/4ecdd07d78d2d455e7fc369a2e77e524e563249d.png)

Regards,

Ethan

---

<div class="post-metadata">

**Author:** ![Dib](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/dib/32/19493_2.png) [@Dib](https://community.thinkgeo.com/u/Dib)\
**Post date:** [March 15, 2018, 11:49am UTC](https://community.thinkgeo.com/t/kml-with-png-images-scaling-issue/9007/3 "2018-03-15T11:49:27Z")

</div>

The KMZ is like a zipped KML file. Open the file with something like 7-Zip. The KML file and the folder with the .PNG files are inside it. The ‘labels’ folder needs to be in the same directory as the KML file.

Looking at the text of the KML file, for the .PNG images, there are two properties, scale and heading, that should size and place the images properly. It looks like the ThinkGeo layers are not interacting with those properties.

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [March 16, 2018, 9:25am UTC](https://community.thinkgeo.com/t/kml-with-png-images-scaling-issue/9007/4 "2018-03-16T09:25:12Z")

</div>

Hi Dib,

It looks our map render the image labels but it don’t render correct, I will let our developer know it and see whether they can work for it.

 ![](https://community.thinkgeo.com/uploads/default/original/3X/0/1/011a1263b04afde9ab843dbfc710ccfa6d497985.png)

Regards,

Ethan

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [March 26, 2018, 10:13am UTC](https://community.thinkgeo.com/t/kml-with-png-images-scaling-issue/9007/5 "2018-03-26T10:13:39Z")

</div>

Hi Dib,

I asked our developer about the status, and the update is it’s a complex task, we maybe cannot enhancement it to support the image well just like GoogleEarth in near future.

Regards,

Ethan
