Skip to Main Content
Advanced TypeScript Programming Projects
book

Advanced TypeScript Programming Projects

by Peter O'Hanlon
July 2019
Intermediate to advanced content levelIntermediate to advanced
416 pages
10h 6m
English
Packt Publishing
Content preview from Advanced TypeScript Programming Projects

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn TypeScript 3 by Building Web Applications

Learn TypeScript 3 by Building Web Applications

Sebastien Dubois, Alexis Georges

Publisher Resources

ISBN: 9781789133042Supplemental Content