Show Google Maps using Latitude and Longitude in JQuery

I am trying to achieve the graph as per here https://www.aspsnippets.com/Articles/Show-Google-Maps-using-Latitude-and-Longitude-in-ASPNet.aspx can some one help me.

1 Reply

BP Baby Palanidurai Syncfusion Team February 12, 2020 08:52 AM UTC

Hi Dorababu, 
 
Greetings from Syncfusion. 
 
We have analyzed your query. We can achieve your requirement by setting center position and zoom level for maps. Please find the below code snippet, 
 
Code snippet: 
jQuery(function ($) {                      
     $("#container").ejMap({                 
              centerPosition: [38.5000, -98], 
              zoomSettings: { 
                level: 5, 
              }, 
              layers: [{ 
                        layerType: 'osm' 
              }] 
             }); 
         }); 
 
Screenshot: 
 
 
 
Kindly revert us, if you have any concerns. 
 
Regards, 
Baby. 


Loader.
Up arrow icon