We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Sample for a Map based on Latitude and longitude

Trying to find a sample in which I can use the map control and drop a pin based on latitude and longitude provided via a model/viewbag

don't need the controls on the map, really the user should not be able to zoom or scroll, just need to say here is where you are. Do you have a sample of something like that?

1 Reply

DR Dhanasekar R Syncfusion Team November 12, 2014 01:12 PM UTC

Hi Fabio,


Query 1: Trying to find a sample in which I can use the map control and drop a pin based on latitude and longitude provided via a model/viewbag


We can able to achieve your requirement by adding Markers in maps which is illustrated in the following sample link.


http://mvc.syncfusion.com/demos/web/Maps/DataMarkers


Also you can refer the following documentation for more details about Markers


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


Query 2: user should not be able to zoom or scroll.Do you have a sample of something like that?


Refer the following link to enable/disable the zoom functionality.


http://www.syncfusion.com/kb/2627/how-we-can-enable-disable-zoom-functionality-in-maps


Please let us know if any further assistance.


Regards,

Dhanasekar


Loader.
Live Chat Icon For mobile
Up arrow icon