O'Reilly logo

Microsoft® Visual Web Developer™ 2008 Express Edition Step by Step by Eric Griffin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Controlling the Virtual Earth Control with an HTML and a JavaScript Interface

You have taken one step closer to making the Virtual Earth control more useful to the user. However, as stated in the story in Chapter 4, Eric travels a lot as a consultant, so he might not be in Atlanta all the time. Also, he will definitely need to find things, such as a great pizza restaurant, when he is out of town.

You need an interface that enables Eric to find things quickly wherever he is. Before you create the interface, you need a function to help you. You already know that the Find method is a great way to specify what and where. That’s how you specified the default location of the map as Atlanta. Let’s wrap the Find method in a general function that can be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required