Radmap ClientEvents Doesn´t fire

7 posts, 2 answers
  1. jcquinteiro
    jcquinteiro avatar
    4 posts
    Member since:
    Feb 2009

    Posted 03 Nov 2014 Link to this post

    Hi,
        1 -  I am trying to work with radmap. I want to call a another page by clicking the marker.
         2 - When I pass the mouse on the marker I show the information of the register but I also want to show the image.

         Please, see the examples of site: http://moving.com.br/mapa

    I've attach my files. 

    Thanks.
  2. Answer
    Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 06 Nov 2014 Link to this post

    Hi,

    I am unable to directly investigate the scenario via the snapshots.

    If you need help on configuring the RadMap control or handling the client-side events, please provide specific details on what troubles you on achieving the expected results.

    On a side note, you can find useful details on the RadMap clienti-side events in the online documentation.

    Regards,
    Ianko
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. jcquinteiro
    jcquinteiro avatar
    4 posts
    Member since:
    Feb 2009

    Posted 09 Nov 2014 in reply to Ianko Link to this post

    Hi,
        As I show you before, I am trying to reproduce the scenario similar to the map shown in site "moving.com.br".
        When I use radmap to show information lilke this map. the clientevent "OnShapeClick=AbreSiteDetalhesConstrutora"(Construtora_AspNet03.gif) it doesn't fire. Another dificult is that the map layOut presentation is very diferent from them. I think that they are using google maps.
        So, dont´t you have a good example that simulates the scenario like this sites: http://www.moving.com.br,
                                                                                                                                     http://www.epungo.com.br/
                                                                                                                                     http://imovelvip.com.br/
    Thank you.
  5. Answer
    Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 10 Nov 2014 Link to this post

    Hi,

    The RadMap control enables you to built an application with a Map. The results shown in these sites are built upon specific requirements and the RadMap can be used, although, the configuration and implementation of such application should be built according specific requirements by the developer of the application. Also, such applications use more than a Map control/widget to achieve the desired results.

    As for the client-side events, from the description provided I am unable to exactly determine how  they are handled and what exactly is the client-side logic implemented in the OnShapeClick handler method.

    On a side node, I cannot firmly define what tile layers has been used in the map widget used in the mentioned application. Moreover, when it comes to integration of Google services with non-google map controls/widgets, I suggest examining their Terms of Service for more information.

    Regards,
    Ianko
    Telerik
  6. jcquinteiro
    jcquinteiro avatar
    4 posts
    Member since:
    Feb 2009

    Posted 10 Nov 2014 in reply to Ianko Link to this post

    Lanko ,Thanks a lot for your explanations.
           I really have difficulties to finish my project. So, I will study a little more and probably I will use the google maps controls.
    By the way, Don´t you have any example or any idea how can I do that ?
    Thank you again.
  7. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 12 Nov 2014 Link to this post

    Hi,

    If you need to handle the clicking on marker, you should use the OnMarkerClick event:
    <telerik:RadMap runat="server" ID="RadMap1">
        <ClientEvents OnMarkerClick="OnMarkerClick" />
        <MarkersCollection>
            <telerik:MapMarker Shape="pin" Title="Site">
            </telerik:MapMarker>
        </MarkersCollection>
    </telerik:RadMap>
     
    <script type="text/javascript">
        function OnMarkerClick(evt) {
            window.location.replace('http://www.telerik.com');
        }
    </script>


    Regards,
    Ianko
    Telerik
  8. jcquinteiro
    jcquinteiro avatar
    4 posts
    Member since:
    Feb 2009

    Posted 12 Nov 2014 in reply to Ianko Link to this post

    Hi,Ianko.
         Thanks a lot again for your GOOD EXAMPLE !
         I will really use it when I need to change 6 for "six".

    FINISHED!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017