KML performance

4 posts, 0 answers
  1. Volkmar
    Volkmar avatar
    6 posts
    Member since:
    Oct 2010

    Posted 28 Oct 2010 Link to this post

    We are loading several Layers (InformationLayer) in the Map. One is KML the others images. The KML layer is a KMZ which is decompressed on the client side. It works but the image does not zoom in/out smoothly anymore. There are only 86 Polygons (the kmz is 46 KB) - which is really not big. Wedo want to load bigger files with up to 500 Polygons.
    Without the KML the image zooms in/out all right. It looks like the client is busy during the zoom event to redisplay the kml items gradually. It does work again if the KML layer’s visibility is switched off during zoom start and on again once the zoom is finished – but this is also not an option.

    Would it help to use dynamic layer – but how can I implement it on a KML?

  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 02 Nov 2010 Link to this post

    Hi Volkmar,

    The performance of the information layer depends not on the number of the polygons only, but on the complexity of the polygons theirselves (number of the points yields a big influence). The performance issue was one of the major tasks we've addressed for the 2010.Q3 release. Could you, please, provide us with your KML so we could compare performance with new engine of the information layer?

    The DynamicLayer can help. For the KML case you could preload all polygons from the KML and store them in the list. Then, when dynamic layer ask you for the items you can select polygons which correspond to the request parameters and pass them to the DynamicLayer.

    Kind regards,
    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Volkmar
    Volkmar avatar
    6 posts
    Member since:
    Oct 2010

    Posted 02 Nov 2010 Link to this post

    Hi Andrey,

    I reckoned that the number of vertices are important so I have a cleared and original version of the KMZ file which I could not attach (only gif/pngallowed?). However the result is still a bit the same. Is there an extended property (as proposed) for passing some attribute info from KML to Shapes (MapPolygon) in Q3? That is also important to us. To explain:
    We use two forms of Layers: KML (more simple elements without many detail) and images which we get from a customized IMS (Manifold Map server). For very complex and highly classified layers we go for the image/raster option anyway. But some basic layers we do want to have as KML because of the refreshing issue during Zoom/Pan necessary for the raster images.

    Thanks for your help.

    Volkmar

  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 05 Nov 2010 Link to this post

    Hi Volkmar,

    The RadMap in the 2010.Q3 release will allow accessing the ExtendedData from the KML from the map shapes. You will be able to use it in your application.

    You can open a formal support ticket and attach the .zip file there.

    Regards,
    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top