SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 290 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"


ShowTileLayer Shows a tile layer from view.
StartContinuousPan Moves the map in the specified direction until the
EndContinuousPan is called.
ZoomIn Increases the map zoom level by 1.
ZoomOut Decreases the map zoom level by 1.
The LoadMap method is responsible for actually initiating the rendering of the map
onto the page. Basically, the latitude and longitude (which will be discussed in greater
detail in the next section) of the Seattle, Washington area (used here as an arbitrary location)
is passed into the method along with a few other display properties such as zoom
level and map view mode. It has six optional parameters without which the default map
of the United States would be rendered. Therefore, the map is loaded with latitude of 48
and longitude of -122 with zoom level 9 in road view. To see a complete list of the LoadMap
method??™s parameters with descriptions, refer to Table 9-2.
Table 9-2. Parameters of the LoadMapMethod
Property Name Description
VELatLong The latitude/longitude value pair (VELatLong object) representing the
center of the map.


Pages:
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302