Binding question

5 posts, 0 answers
  1. Jason D
    Jason D avatar
    116 posts
    Member since:
    Jan 2011

    Posted 18 Jan Link to this post

    This may be more of a WPF question. I updated our app to support multiple maps on the screen. I want each map to share the items used for the VisualizationLayer. This seems to work for custom items, but not for MapShapeData items. I tried using a different collection for each map to hold the items, but it didn't help. Details:

    Add PolygonData objects. They show up fine but when zooming, they don't scale. If I change to use two maps, everything works perfectly. If I switch back to one map, the objects again stop scaling when zooming.

    If I replace the PolygonData with a custom object that holds a LocationCollection and apply a MapPolygonView to the object, everything works perfectly, even with just one map.

    What is it about PolygonData that causes this not to work?

    Using PolygonData with a VirtualizationSource also works.

  2. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    480 posts

    Posted 23 Jan Link to this post

    Hello Jason,

    May I ask you some questions in order to better assist you? Can you share a video/picture of the observed behavior on your end? Can you also let me know how you are sharing the objects between the maps - some sample code will be helpful?

    If possible, you can open a new support ticket and attach a sample project demonstrating the setup on your end. This will hopefully allow me to better understand the scenario and further assist you.

    Thank you in advance for any help you can provide.

    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. Jason D
    Jason D avatar
    116 posts
    Member since:
    Jan 2011

    Posted 23 Jan in reply to Vladimir Stoyanov Link to this post

    Thanks for the reply. Will try, but will be awhile.
  4. Jason D
    Jason D avatar
    116 posts
    Member since:
    Jan 2011

    Posted 25 Jan Link to this post

    Amazingly, I was able to reproduce this:
    https://feedback.telerik.com/wpf/1384820-sharing-items-between-maps
  5. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    480 posts

    Posted 25 Jan Link to this post

    Hello Jason,

    Thank you for the logged feedback item and the attached project. We will review the project and will get back to you with a reply in the feedback item next week.

    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.
Back to Top