Hi Ricardo,
I assumed your issue was fixed. Attached a screenshot of what I
was getting.. Looked fine to me.
On closer inspection, indeed the KML should be:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns=
"http://www.opengis.net/kml/2.2"
xmlns:atom=
"http://www.w3.org/2005/Atom"
xmlns:xal="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"
xmlns:gx=
"http://www.google.com/kml/ext/2.2">
<GroundOverlay>
<name>lis_maxz_0000</name>
<Icon>
<href>lis_maxz_0000.png</href>
</Icon><LatLonBox>
<north>42.52219772338867</north>
<south>35.561622619628906</south>
<east>-4.210102</east>
<west>-11.869027</west>
</LatLonBox>
</GroundOverlay>
</kml>
If I understand you correctly the image is distorted in the
centre? Probably a projection issue.. What projection is your PNG?
The KML is assuming EPSG:4326 (WGS84) which is a geographic system
(an xy on a globe). If your PNG is in a (Portugees national?)
projected (2d representation of a globe) system the centre of the
image will indeed be distorted. In Leaflet you can convert the one
to the other, but you need to define the originally projection
correctly.
See:
http://leafletjs.com/reference.html#iprojection
and
http://leafletjs.com/reference.html#icrs
Cheers,
Olav