Unable to view HTML in balloon text
john_smith
Global Mapper User
I have a KML file that has an attribute stored as HTML which gets displayed on clicking the balloon (i.e. the placemarker). I verified this by opening this KML in Google Earth. However, I am unable to click on this placemarker when I open it in Global Mapper 15.
Can't I render this HTML in Global Mapper just by clicking on the placemarker (like Google Earth)?
Is it a feature not supported or my KML lacks some tags which are needed to render this HTML in Global Mapper?
The KML is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2"><Document>
<Style id="styleNormal">
<IconStyle>
<Icon>
<href>http://maps.google.com/mapfiles/ms/icons/red-dot.png</href>
</Icon>
</IconStyle>
</Style>
<Style id="styleHighlighted">
<IconStyle>
<Icon>
<href>http://maps.google.com/mapfiles/ms/icons/green-dot.png</href>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[Test text]]></name>
<styleUrl>#styleNormal</styleUrl>
<description><![CDATA[<table width="500px" bordercolor="black"> <tr style="font-size:10px;color:#000000;font-family:Verdana;background-color:#d9e6ea;font-weight:bold;" bgcolor="#c9c9c9"> <td style="word-break:break-all;">S.No.</td> <td style="word-break:break-all;">Name</td> <td style="word-break:break-all;">Days open</td> </tr> <tr style="font-size:10px;color:#000000;font-family:Verdana;background-color:#d9e6ea;" bgcolor="#c9c9c9"> <td style="word-break:break-all;white-space:normal;" width="45%">1</td> <td style="word-break:break-all;white-space:normal;" width="20%">Test place #1</td> <td style="word-break:break-all;white-space:normal;" width="30%">M W F</td> </tr></table>]]></description>
<Point>
<coordinates>38.9,23.9</coordinates>
</Point>
</Placemark>
</Document>
</kml>
Can't I render this HTML in Global Mapper just by clicking on the placemarker (like Google Earth)?
Is it a feature not supported or my KML lacks some tags which are needed to render this HTML in Global Mapper?
The KML is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2"><Document>
<Style id="styleNormal">
<IconStyle>
<Icon>
<href>http://maps.google.com/mapfiles/ms/icons/red-dot.png</href>
</Icon>
</IconStyle>
</Style>
<Style id="styleHighlighted">
<IconStyle>
<Icon>
<href>http://maps.google.com/mapfiles/ms/icons/green-dot.png</href>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[Test text]]></name>
<styleUrl>#styleNormal</styleUrl>
<description><![CDATA[<table width="500px" bordercolor="black"> <tr style="font-size:10px;color:#000000;font-family:Verdana;background-color:#d9e6ea;font-weight:bold;" bgcolor="#c9c9c9"> <td style="word-break:break-all;">S.No.</td> <td style="word-break:break-all;">Name</td> <td style="word-break:break-all;">Days open</td> </tr> <tr style="font-size:10px;color:#000000;font-family:Verdana;background-color:#d9e6ea;" bgcolor="#c9c9c9"> <td style="word-break:break-all;white-space:normal;" width="45%">1</td> <td style="word-break:break-all;white-space:normal;" width="20%">Test place #1</td> <td style="word-break:break-all;white-space:normal;" width="30%">M W F</td> </tr></table>]]></description>
<Point>
<coordinates>38.9,23.9</coordinates>
</Point>
</Placemark>
</Document>
</kml>
Comments
-
I have updated the KML importer so that tables like that (i.e. a row of attribute names and a subsequent row of values) will parse into attribute values associated with the feature. There isn't currently a way to display the actual HTML rendering of the table in Global Mapper, just the extracted attribute values. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper15.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v15.xx installation folder to give it a try. If you are using the 64-bit v15 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper15_64bit.zip .
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website