Strange zoom on rotated map

8 posts, 0 answers
  1. Flemming Rosenbrandt
    Flemming Rosenbrandt avatar
    119 posts
    Member since:
    Mar 2006

    Posted 03 Apr 2010 Link to this post

    Hi

     

    When the map is rotated (rotatetransform) – the mousewheel zoom does not behave correct anymore. It does not zoom towards the mouseposition – but to another strange point (maybe the unrotated point?)

     

    /Flemming Rosenbrandt

  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 06 Apr 2010 Link to this post

    Hello Flemming,

    We're sorry, but unfortunately current implementation of the RadMap control does not suppose  any rotation. The entire math is based on the original position of the map.
    We are planning to add ability to rotate map inside the RadMap control in the future.

    Best wishes,
    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. Flemming Rosenbrandt
    Flemming Rosenbrandt avatar
    119 posts
    Member since:
    Mar 2006

    Posted 06 Apr 2010 Link to this post

    Hi

     

    When implementing the ”internal rotation” – will you support ”external rotation” also?

     

    /Flemming Rosenbrandt

  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 08 Apr 2010 Link to this post

    Hello Flemming,

    Unfortunately, the rotation feature is not in our nearest plans and it does not seem to be a trivial one.
    When we consider the implementation we will take into account all of opinions and requests about this feature.

    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.
  6. Flemming Rosenbrandt
    Flemming Rosenbrandt avatar
    119 posts
    Member since:
    Mar 2006

    Posted 08 Apr 2010 Link to this post

    Thank you for taking this into account.

     

    Will you consider making the control Scale-Aware  – either by detecting the current scale (ScaleTransform) by itself or have a property where one can tell the map under what scale it is currently rendered under?

     

    The reason for this is that when the map is scaled externally – to let’s say twice normal size the map should also load higher resolutions of the map to avoid “large pixels”.

     

    This request should be a bit easier than the other one ;)

     

    /Flemming Rosenbrandt

  7. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 09 Apr 2010 Link to this post

    Hello Flemming,

    If I understand you correctly this would be something like a MiniMap control where same map tiles are shown, but scaled out to a smaller size. If it is so then I should say that we have this kind of control in our plans already.

    All the best,
    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.
  8. Flemming Rosenbrandt
    Flemming Rosenbrandt avatar
    119 posts
    Member since:
    Mar 2006

    Posted 13 Apr 2010 Link to this post

    Hi

     

    I don’t think I explained myself correctly.

     

    My scenario is that I have several radmaps on the screen at the same time. They can be scaled to higher or lower scales (and rotated).

     

    A simplified example:

     

    - I have a RadMap control placed on the screen with the size of 600x400 pixels;

    - I apply a ScaleTransform on the RadMap  – let’s say with ScaleX/Y = 2.0.

     

    This means that the RadMap control now takes up 1200x800 pixels on the screen. However the tiles in radmap control does not change (internally it still thinks that is 600x400 pixels). This means that the map gets a bit blurry and the higher the scale factor the worse the blurring gets.

     

    So what I want is one of the following:

     

    1.       The RadMap controls itself is aware of the current scale that it is rendered under.

    2.       I can tell the RadMap what scale it is rendered under.

     

    What you need to do when the scale changes is to load more tiles.

     

    -

     

    The minimap sounds nice though J

     

    /Flemming Rosenbrandt

  9. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 15 Apr 2010 Link to this post

    Hello Flemming Rosenbrandt,

    It would not be a trivial task to handle any external transformation because of the mathematics which is used to perform calculations on the map. So, unfortunately, this feature is not in our nearest plans. When we  consider implementation of the internal map rotation we will take into account your request and research how the support for external transformations can be done.

    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
DevCraft banner