Articles in this section
Category / Section

How to render the Navigation control ?

1 min read

To render the Navigation control, follow the given steps.

Step 1

Create a map sample and include the necessary script files.

Step 2

By using the Navigation control, you can zoom in, zoom out the map and also you can do panning. In order to enable the Navigation control, set the api enableNavigation in the Navigation control.

JS

navigationControl:{enableNavigation:true},

 

JS

<script type="text/javascript">   
                           jQuery(function ($) {                                
                                    $("#container").ejMap({
                                          {
                                                        .  .  .
                                 navigationControl:{ enableNavigation:true },
                                                        .  .  .
                               }
               });
         });
      </script>                   

 

The following screenshot represents the Navigation control.

Sample Links

http://help.syncfusion.com/ug/js/default.htm#!documents/userinteraction1.htm

http://js.syncfusion.com/demos/web/#!/azure/map/datamarkers

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied