Pls Help

4 posts, 0 answers
  1. Joebet
    Joebet avatar
    23 posts
    Member since:
    Jun 2010

    Posted 15 Apr 2014 Link to this post

    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





















































  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 18 Apr 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Joebet
    Joebet avatar
    23 posts
    Member since:
    Jun 2010

    Posted 23 Apr 2014 in reply to Joebet Link to this post

    posted april 15 still no reply.... damn your support sucks!
  5. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 23 Apr 2014 Link to this post

    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.
     
Back to Top