This is a migrated thread and some comments may be shown as answers.

How to change HotSpot property corner

1 Answer 41 Views
Map
This is a migrated thread and some comments may be shown as answers.
figueiredorj
Top achievements
Rank 1
figueiredorj asked on 19 Sep 2011, 11:08 AM
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.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 21 Sep 2011, 03:06 PM
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 >>

Tags
Map
Asked by
figueiredorj
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or