From the course: JavaScript for Web Designers
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Making a real API request with Bing Maps Locations API - JavaScript Tutorial
From the course: JavaScript for Web Designers
Making a real API request with Bing Maps Locations API
- [Instructor] In this video we'll finalize the API request to use Bing Maps. So we'll get back the real data that we want. In order for this to work, you'll need the Bing Map's API key you set up in the previous chapter. If you haven't made one yet, refer back to that chapter and get a key that you can use. Bing Maps has a lot of ways to answer location requests, which are also called Geocoding. The one we're interested in is finding locations by address since we're trying to use part of an address to turn it into a full location whose city and state we can extract. So that's here on the final location by address page. Let's scroll down and take a look at this documentation. Here is a sample URL. And I can see that we pass in the country region and potentially a whole bunch of other stuff. And right at the end here is a Bing Maps key. That's the API key that we'll need to fill in. We're going to need this, so we'll…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.