Android Question AndroidMapUtils and KML File not show my overlay image

mike1967

Active Member
Licensed User
Longtime User
Hello i start using androidmaputils wrapper and load a sample kml file:
KML FILE:
<?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>Level3</name>
    <Icon>
        <href>http://url_to_Overlay_images.png</href>
        <viewBoundScale>0.75</viewBoundScale>
    </Icon>
    <LatLonBox>
        <north>40.81999872809958</north>
        <south>40.81938951299596</south>
        <east>14.17850415150377</east>
        <west>14.17738159771456</west>
        <rotation>-10.47419261932373</rotation>
    </LatLonBox>
</GroundOverlay>
</kml>

But the images not are showed on map
Is possible to show this image on map or i am wronging the procedure ? Thanks In advance
ps loading on google earth the kml , the image is showed correctly.
 

mike1967

Active Member
Licensed User
Longtime User
Hello i start using androidmaputils wrapper and load a sample kml file:
KML FILE:
<?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>Level3</name>
    <Icon>
        <href>http://url_to_Overlay_images.png</href>
        <viewBoundScale>0.75</viewBoundScale>
    </Icon>
    <LatLonBox>
        <north>40.81999872809958</north>
        <south>40.81938951299596</south>
        <east>14.17850415150377</east>
        <west>14.17738159771456</west>
        <rotation>-10.47419261932373</rotation>
    </LatLonBox>
</GroundOverlay>
</kml>

But the images not are showed on map
Is possible to show this image on map or i am wronging the procedure ? Thanks In advance
ps loading on google earth the kml , the image is showed correctly.
Solved Added permission Internet to manifest and https protocol to <href>
 
Upvote 0
Top