Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
street view in kendo ui map mvc
Manoj Maharana
7y
247
1
Reply
How to add street view functionality in kendo ui map in mvc.
here is the code:
@(Html.Kendo().Map()
.Name(
"map"
)
.Center(Convert.ToDouble(Model.Address.StateProvinceAbbreviation), Convert.ToDouble(Model.Address.PhoneNumber))
.Zoom(11)
.Layers(layers =>
{
layers.Add()
.Type(MapLayerType.Tile)
.UrlTemplate(
"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png"
)
.Subdomains(
"a"
,
"b"
,
"c"
)
.Attribution(
"© <a href='http://osm.org/copyright'>OpenStreetMap contributors</a>"
);
})
.Markers(markers =>
{
markers.Add()
.Location(Convert.ToDouble(Model.Address.StateProvinceAbbreviation), Convert.ToDouble(Model.Address.PhoneNumber))
.Shape(MapMarkersShape.PinTarget)
.Tooltip(tooltip => tooltip.Content(
""
));
})
Can anyone tell me how to add street view in kendo ui mvc map???
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
how to create database with in the sqlserver some error
Dapper book Need