Creating legend from kml

2 posts, 0 answers
  1. Geoffrey
    Geoffrey avatar
    16 posts
    Member since:
    Mar 2011

    Posted 27 Jun 2012 Link to this post

    I'm trying to display this kml file ( on the RadMap. I'm able to display it on the map but there are two additional things I'd like to be able to do. The first is to be able to display the legend (you can see an example if you load that kml in google earth) in the radmap legend. The second is to display the tooltips like they are displayed in google earth. Any idea on how to accomplish this? I tried using the KmlReader class, but other than the points and contours I was unsuccessful.
  2. Andrey
    Andrey avatar
    1681 posts

    Posted 02 Jul 2012 Link to this post

    Hello Geoffrey,

    The RadMap has limited KML support. Currently the map control supports the following KML elements:
    1. Point
    2. LineString
    3. Polygon (including outerBoundaryIs and innerBoundaryIs)
    4. Styles: IconStyle (partial support, including hotspot and scale), LineStyle, PolyStyle
    5. BalloonStyle
    6. ExtendedData
    7. Partial support for MultiGeometry tag.

    Unfortunately your KML has not an information which can be used by RadMap to show tooltips and legend (these features require ExtendedData in the KML).

    Kind regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top