Trying interesting things with map searches

When it comes to getting the name of the location where the user has placed the pin, or moved it to, we want this to happen automatically. We really don't want the user to have to type in this value when mapping can pick this for us automatically. This means that we are going to have to use mapping features to get this information for us.

Bing mapping has a number of optional modules, which we can opt into using, that give us the ability to do things such as searches based on location. In order to do this, we are going to create a class called MapGeocode that will do the searching for us:

export class MapGeocode {}

You may notice that, for some of our classes, we are creating them without creating ...

Get Advanced TypeScript Programming Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.