From the course: JavaScript for Web Designers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Change the type and zoom level

Change the type and zoom level - JavaScript Tutorial

From the course: JavaScript for Web Designers

Start my 1-month free trial

Change the type and zoom level

- As lovely as the aerial version of this map is, I'd like it to look more like a road map so customers can see the streets and know better how to get to the store. I'd also like to adjust the zoom level of this map so we're a little closer to the actual location and make a couple of other refinements. To do this we're going to continue with the sort of study skills portion of coping with APIs, reading the documentation together but also use the API to help us figure out what the zoom level should be. We'll start out by changing the type of the map. Of course, I can do that here but I want this to load with the right version set and looking at my code it looks like the map TypeId is what I need to change. But what's the value that I want to set? We need to read the documentation to find that out. So back here on the Bing documentation site, I could search or try and filter by title over here but most of the time when you need to…

Contents