Supermaniac
Supermaniac

Reputation: 87

Bing Maps in ASP.NET MVC web app doesn't show correctly in mobile view

I'm making an Web-App in ASP.NET MVC 5. It has to have a Bing Maps map and pushpins to show locations of some entities I retrieve the location of from a server. Everything works perfectly in a desktop browser, but when I switch over to mobile (iPhone etc.) the view is completely disorted as you can see in the image below:

This is what the map shows...

How is this possible? The view is totally incorrect, as for the zoom and center of the camera. Besides that it looks like the left half of the map is just zoomed in.

Upvotes: 0

Views: 226

Answers (1)

rbrundritt
rbrundritt

Reputation: 17954

Have you added a viewport metatag to your application to prevent the page from scaling? Take a look at these best practices for cross platform apps with Bing Maps V8: https://msdn.microsoft.com/en-US/library/mt793328.aspx

Upvotes: 1

Related Questions