Rendering Polygon Map

2 posts, 0 answers
  1. VS
    VS avatar
    101 posts
    Member since:
    Jul 2008

    Posted 10 Feb 2012 Link to this post

    Hi,

    I am doing some reasearch on RadMap. My requirement is to display plain shapes based on polygons.
    I will have a collection of polygons,
    Eg:- one of the polygon points are specified below.
    [[22.713864306784661,63.274336283185839],[32.30088495575221,63.274336283185839],[32.30088495575221,76.6961651917404],[22.713864306784661,76.6961651917404]]

    Is it possible to render shapes with polygon values using RadMap as in (http://demos.telerik.com/silverlight/#Map/Stadium).
    I don't want to use any map files or images, but with just polygon values.

    Thanks in advance.

    S

  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 15 Feb 2012 Link to this post

    Hi Sujith,

    There are different ways to show polygons using RadMap. First you should use the Information Layer to show them. You can find the documentation about it using the following link:
    http://www.telerik.com/help/silverlight/radmap-features-information-layer.html
    1. You can use the declarative way to add polygons or other map shapes to the map (http://www.telerik.com/help/silverlight/radmap-features-map-shapes.html)
    2. You can use an MVVM pattern using the MapPolygon in the InformationLayer.ItemTemplate or using the InformationLayer.ItemTemplateSelector properties.
    3. You can read polygons from KML-file, ESRI shape-file and from collections which have a property with geospatial data in WKT or in WKB format. Please take a look to the following documentation topics and the following examples:
    http://www.telerik.com/help/silverlight/radmap-features-kml-data-import.html
    http://www.telerik.com/help/silverlight/radmap-features-information-layer-shape-reder.html
    http://www.telerik.com/help/silverlight/radmap-features-sql-geospatial-data.html
    http://demos.telerik.com/silverlight/#Map/USA
    http://demos.telerik.com/silverlight/#Map/Shapefile/World
    http://demos.telerik.com/silverlight/#Map/WktReader

    Greetings,
    Andrey Murzov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
Back to Top