MapPath Visualization Layer doesn't drawing

7 posts, 0 answers
  1. Pavel
    Pavel avatar
    5 posts
    Member since:
    Aug 2019

    Posted 26 Aug Link to this post

    Hello there, i have a Information layer with MapPath curves and the items are drawing fine, but i can't select that, but when i change the Information Layer on Visualization Layer, i can select the objects but there are not drawing.

    Pls help.

  2. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    494 posts

    Posted 29 Aug Link to this post

    Hello Pavel,

    Speaking generally, the VisualizationLayer is the newest visualization engine of the RadMap and we recommend using it over the other layers. 

    That said, I am uncertain what you mean by " i can select the objects but there are not drawing.". Can you check out the Items Selection article in our documentation and also the VisualizationLayerItemsSelection SDK example? 

    If the mentioned resources prove unhelpful, can you share some sample code of how the RadMap is setup and how the layer is populated with items?

    Regards,
    Vladimir Stoyanov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Pavel
    Pavel avatar
    5 posts
    Member since:
    Aug 2019

    Posted 29 Aug in reply to Vladimir Stoyanov Link to this post

    The main problem: i draw a curves on information layer with mappath, but i cant make it on visualization layer, the curves are not drawing.
  4. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    494 posts

    Posted 02 Sep Link to this post

    Hello Pavel,

    I will need some more information in order to help you out further. Can you share some sample code showing how the RadMap is defined and also the way that the VisualizationLayer is populated? Additionally, you can elaborate on which Map Shape Data objects you are using. This will hopefully allow me to reproduce the same result on my end and investigate it.

    For the time being, you can compare your approach with the one demonstrated in the VisualizationLayerItemsSelection SDK example.

    Regards,
    Vladimir Stoyanov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  5. Pavel
    Pavel avatar
    5 posts
    Member since:
    Aug 2019

    Posted 04 Sep in reply to Vladimir Stoyanov Link to this post

    I commit the my test project on guthub.

    https://github.com/lapinosore/TelerikMapPractice

     

    (The MapPath curves are not drawing, but i need select them, need solution for that)

  6. Martin Ivanov
    Admin
    Martin Ivanov avatar
    2237 posts

    Posted 06 Sep Link to this post

    Hello Pavel,

    I will check the project and get back to you later.

    Regards,
    Martin Ivanov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  7. Martin Ivanov
    Admin
    Martin Ivanov avatar
    2237 posts

    Posted 06 Sep Link to this post

    Hello Pavel,

    The VisualizationLayer doesn't draw the TechMapPath shapes because they inherit the MapShape (MapPath) object. VisualizationLayer doesn't work with MapShape objects. Instead, you will need to use MapShapeData. You can read more about this in the Map Shape Data article.

    In your case, you can replace the MapPath with PathData. I've  updated your project to show this approach. I hope it helps.

    As a side note, I would ask you to remove the Telerik dlls from the GitHub repository or replace them with a trial version, because the repo is public and the dlls are licensed.

    Regards,
    Martin Ivanov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top