So a coworker gave me a kml file to display in my disconnected system and that kml file refers to symbols from web icons.
So I modified the sample from https://github.com/Esri/arcgis-runtime-samples-qt/tree/main/ArcGISRuntimeSDKQt_CppSamples/Layers/Dis... and put the kml as the local file to load.
In my disconnected system the icon does not end up being correct, just a red X. I know that the symbols used will be fairly limited and I should be able to pre-cache them somewhere in my system.
Is there a way to have some sort of configuration mapping saying that if it is looking for a certain weburl to actually load a certain local file?
This is on Runtime Qt 100.14,
sample picture:
simplified kml snippet:
<?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:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2">
<Document>
<name>foo</name>
<Folder>
<name>foo Points</name>
<Style id="fooPoint">
<IconStyle>
<scale>0.5</scale>
<Icon>
<href>https://maps.gstatic.com/intl/en_us/mapfiles/markers2/measle_blue.png</href>
</Icon>
<hotspot x=".5" xunits="fraction" y=".5" yunits="fraction"/>
</IconStyle>
</Style>
<Placemark>
<name>Foo</name>
<description><![CDATA[<h1>Hello Esri!</h1>]]></description>
<TimeStamp>
<when>1980-01-01T00:01:01Z</when>
</TimeStamp>
<styleUrl>#fooPoint</styleUrl>
<Point>
<coordinates>-70.000000,30.0000000,0.00000000</coordinates>
<altitudeMode>absolute</altitudeMode>
</Point>
</Placemark>
</Folder>
</Document>
</kml>