8
Views
0
Comments
[Google Maps Library] KML Rendering Issue - Horizonal lines
Forge component by Labs
26
Published on 26 Feb 2020

I am having an issue where a KML file renders with horizontal lines. 

See screenshot below:

When I load the KML file into google maps directly it renders fine, so it doesn't seem to be an issue with the KML data itself.


I have attached the OML that has my simple map.  On map initialize, I load the KML into google maps using JavaScript.


var map = osGoogleMap.OSMaps[ $parameters.MapId ].gMap;

var src = 'https://alexbath.outsystemscloud.com/KMLMap/icepackkml.xml';

var kmlLayer = new google.maps.KmlLayer(src, {

  suppressInfoWindows: false,

  preserveViewport: true,

  map: map

});



Has anyone experienced a similar issue when loading KML into google maps?

Thanks,

Alex

KMLMap.oml