Fixed size of the image

2 posts, 0 answers
  1. Savva
    Savva avatar
    5 posts
    Member since:
    Nov 2018

    Posted 11 Jan 2019 Link to this post



    Still working on the app with RadMap control. Now have possibility to place points and provide zones on the map (flag and a square on the screenshot 1)

    While zooming map in and out, the zone size remain same, but the flag icon changes its size realtive to the map (screenshot 2). As I see, the cause is that the zoom changes, but the flag sixe remains the same.

    The question is: is it possible to change the flag picture (or any other picture) absolute size while zooming, so it would cover the same part of map on any zoom level (as square zone does on the screenshots).

    Thank you!

  2. Vladimir Stoyanov
    Vladimir Stoyanov avatar
    633 posts

    Posted 16 Jan 2019 Link to this post

    Hello Savva,

    Thank you for the attached pictures.

    You can check out the MapLayer attached properties such as the MaxScale and MinScale properties and also ZoomRange and BaseZoomLevel. 

    If those don't help, please provide some more information about how the RadMap is defined and how is the flag picture added. This will hopefully allow me to better understand the scenario and further assist you.

    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