How to change HotSpot property corner

2 posts, 0 answers
  1. figueiredorj
    figueiredorj avatar
    68 posts
    Member since:
    Mar 2011

    Posted 19 Sep 2011 Link to this post

    Hi.

    I would like to change behaviour of hotspot on mappinpoint so I could set reference corner on left side.
    I will explain:
    I am setting a mappinpoint with a icon and a label. When I was using only an icon I just defined hotspot unit as HotSpotUnit.Fraction with 50% and it was ok.
    However now I added a label and I still want to center mappinpoint on Icon Image center. Unless i define a private method (how can i do that?) so I can get the Wdith of object, the best way was having hotspot reference corner on left and not on right. 

    This can also be a hint to Telerik to improve features since I believe that more ppl rather than me would like to set center of composed object based on right instead of left border.
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 21 Sep 2011 Link to this post

    Hi Figueiredorj,

    There are several ways to set the location of the HotSpot inside the complex object. I would recommend you to take a look into the following sample:

    http://demos.telerik.com/silverlight/#Map/HotSpot

    Regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top