Discussion Board

Results 1 to 2 of 2
  1. #1
    Nokia Developer Expert
    Join Date
    Aug 2012

    Custom icons for KML file

    HI All, I'm playing with the maps API and I'm trying to get some custom icons displayed when parsing a KML file.

    I tried setting Styles in the KML file but somehow they will not parse correctly.

    Does anybody has an example KML file with custom icons that works correctly with the KML pareser?
    Or does someone has an other solution?



  2. #2
    Regular Contributor
    Join Date
    Aug 2011

    Re: Custom icons for KML file

    The English Premiership Football example: here uses <Style> and <IconStyle> as well as inline styles.

    You want something like:
    <Style id='LINKED_STYLE_ID'>
    <IconStyle><Icon><href>URL GOES HERE ....</href></Icon>
    <hotSpot x="16" y="32" xunits="pixels" yunits="pixels"/>
    <description><![CDATA[<div >HTML Description</div>]]></description>
    The HTML and JavaScript are basically a copy of the Playground Example

Similar Threads

  1. How to add icons to custom buttons ?????
    By deepak4u2006 in forum Symbian Media (Closed)
    Replies: 7
    Last Post: 2011-05-05, 10:37
  2. How to draw custom icons?
    By jennie in forum Symbian User Interface
    Replies: 6
    Last Post: 2007-10-20, 09:44
  3. Can custom folders have diffferent icons?
    By e_prakhar in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2007-01-13, 04:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts