Displaying KML overlays on BlackBerry Maps
You can use a KML document to overlay an image at specific locations on a map in BlackBerry® Maps.
In the KML document, the <Folder> element organizes the overlay information. You can use the <GroundOverlay> element to place an image, that is contained in the <Icon> element, over location on a map. The <LatLonBox> element specifies where to position the overlay on the map. You can repeat the <GroundOverlay> element block to specify new overlays and associated coordinates on the map.
Code sample: Displaying KML overlays on BlackBerry Maps
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Folder>
<name>Pictures</name>
<visibility>0</visibility>
<open>1</open>
<GroundOverlay>
<name>Glowing</name>
<visibility>1</visibility>
<description>Hot Spot</description>
<Icon>
<href>http://www.example.com/picture.png</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
<north>43.47685828285541</north>
<south>43.47485739086753</south>
<east>-80.53898253546113</east>
<west>-80.54198566880086</west>
</LatLonBox>
</GroundOverlay>
</Folder>
</kml>
Parent topic: Using KML documents with BlackBerry Maps