Where should I host my KML images?

356 views
Skip to first unread message

Henk van Paridon

unread,
Mar 16, 2015, 11:54:06 PM3/16/15
to kml-support-g...@googlegroups.com
Hi,

I have used to have my KML files and the images my KML file links to hosted on my site but Google maps no longer allow this. Where should I host my images so my KML will work accurately in google maps/My maps?

Thanks

barryhunter (KML Guru)

unread,
Mar 17, 2015, 11:47:14 AM3/17/15
to kml-support-g...@googlegroups.com
When you import a KML into Google My Maps, the icon image, is fetched and stored with the map. 

It supports absolute URLs - so any public webserver will do. 

Or relative links to files within the KMZ. 


... so files on your server, its just that the copy happens once, rather than being a 'live link'. 

Henk van Paridon

unread,
Mar 17, 2015, 7:19:18 PM3/17/15
to kml-support-g...@googlegroups.com
Thanks for your help. I tried hosting my file else where as it still isn't working. I was wondering if maybe it has to do with my KML structure. 

This is it:

<?xml version="1.0" encoding="iso-8859-1"?>
<Document>
<name>bowen_north</name>
<Region>
  <LatLonAltBox>
    <north>-20.45815669268679900</north>
    <south>-24.66962595798009500</south>
    <east>150.78763468974617000</east>
    <west>147.28972060043100000</west>
  </LatLonAltBox>
</Region>
<GroundOverlay>
  <name>bowen_north_kml</name>
   <description>Bowen_North</description>
  <Icon>
  </Icon>
  <LatLonBox>
    <north>-20.45815669268679900</north>
    <south>-24.66962595798009500</south>
    <east>150.78763468974617000</east>
    <west>147.28972060043100000</west>
  </LatLonBox>
  <Region>
    <LatLonAltBox>
      <north>-20.45815669268679900</north>
      <south>-24.66962595798009500</south>
      <east>150.78763468974617000</east>
      <west>147.28972060043100000</west>
    </LatLonAltBox>
    <Lod>
      <minLodPixels>64</minLodPixels>
    </Lod>
  </Region>
</GroundOverlay>
</Document>
</kml>


It worked fine until the change over of not allowing kml to be hosted on external server. When I import this kml. layer to My maps it doesnt show up. 

Cheers

barryhunter (KML Guru)

unread,
Mar 18, 2015, 8:15:15 AM3/18/15
to kml-support-g...@googlegroups.com
Ah right. thats a GroundOverlay, assumed you talking about Point icons. 


There is no way to display such on Google Maps now, they've removed the support from Classic, and its never been in new Maps. 

(My Maps have never supported it) 



... however there still is the Google Maps API, that still does support KML files. So can try that. I think it supports GroundOveralys
Reply all
Reply to author
Forward
0 new messages