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

Pls Help

3 Answers 40 Views
Map
This is a migrated thread and some comments may be shown as answers.
Joebet
Top achievements
Rank 1
Joebet asked on 15 Apr 2014, 11:12 AM
Hi,

May i know how can i accomplish this pls?

http://clip2net.com/s/7e5IEa

Our requirement is to use car icons as MapPinPoint. I already accomplish that using this code

<br> MapPinPoint pinPoint = new MapPinPoint()<br>                {<br>                    Background = new SolidColorBrush(Colors.Transparent),<br>                    Foreground = new SolidColorBrush(Colors.Transparent),<br>                    FontSize = 14,<br>                    Text = "test" + i ,<br>                    ImageSource = new BitmapImage(new Uri(@"https://cdn4.iconfinder.com/data/icons/aiga-symbol-signs/388/aiga_taxi-32.png", UriKind.Absolute))<br>                };<br><br> this.informationLayer.Items.Add(pinPoint);

Our next requirment is to put a tooltip like popup whenever the user clicks on the icon car. It also has some labels or buttons on the bottom. it must trigger an event like click on the backend whenever clicked. example "Send a message" it will trigger click event of that "send message button" to show a form.


May i ask how is this possible? im having a hardtime doing this. can i have a sample project from you?

THanks





















































3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 18 Apr 2014, 11:25 AM
Hi Joebet,


The MapPinPoint is a regular WPF control, so you can handle mouse events on it the same way as for the other WPF controls. You can find more information in MSDN:
http://msdn.microsoft.com/en-us/library/system.windows.controls.control_events(v=vs.110).aspx
http://msdn.microsoft.com/en-us/library/system.windows.uielement.mouseleftbuttondown(v=vs.110).aspx


Regards,
Andrey Murzov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Joebet
Top achievements
Rank 1
answered on 23 Apr 2014, 08:01 AM
posted april 15 still no reply.... damn your support sucks!
0
Martin Ivanov
Telerik team
answered on 23 Apr 2014, 12:22 PM
Hello Joebet,

Excuse us for the inconvenience caused. An answer for your question was sent few days ago but at the moment we had some problems with our database and as it seems the reply wasn't synced with the forum. We fixed the issue and now you should be able to see the reply.

Please let us know if you need any further assistance.

Regards,
Martin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Map
Asked by
Joebet
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Joebet
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or