Manoj Maharana

Manoj Maharana

  • NA
  • 362
  • 126.7k

street view in kendo ui map mvc

Mar 3 2017 10:49 AM

How to add street view functionality in kendo ui map in mvc.

here is the code:
 
  1. @(Html.Kendo().Map()  
  2. .Name("map")  
  3. .Center(Convert.ToDouble(Model.Address.StateProvinceAbbreviation), Convert.ToDouble(Model.Address.PhoneNumber))  
  4. .Zoom(11)  
  5.   
  6. .Layers(layers =>  
  7. {  
  8.     layers.Add()  
  9.         .Type(MapLayerType.Tile)  
  10.         .UrlTemplate("http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png")  
  11.         .Subdomains("a""b""c")  
  12.         .Attribution("© <a href='http://osm.org/copyright'>OpenStreetMap contributors</a>");  
  13. })  
  14. .Markers(markers =>  
  15. {  
  16.     markers.Add()  
  17.         .Location(Convert.ToDouble(Model.Address.StateProvinceAbbreviation), Convert.ToDouble(Model.Address.PhoneNumber))  
  18.         .Shape(MapMarkersShape.PinTarget)  
  19.         .Tooltip(tooltip => tooltip.Content(""));  
  20. })  
Can anyone tell me how to add street view in kendo ui mvc map??? 

Answers (1)