O'Reilly logo

Programming Atlas by Christian Wenz

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

Virtual Earth Maps

The AtlasUIMap.js library provides a framework for accessing the Virtual Earth API that has been covered in greater detail in Chapter 2.

Sys.UI.VirtualEarthMap

Method

Description

get_data()

Returns the data bound to the map

get_dataImageHeightField()

Returns the name of the data field that contains the height of the pushpin image

get_dataImageURLField()

Returns the name of the data field that contains the URL of the pushpin image

get_dataImageURLFormatString()

Returns the String.Format() parameter to use when formatting the pushpin image URL

get_dataImageWidthField()

Returns the name of the data field that contains the width of the pushpin image

get_dataLatitudeField()

Returns the name of the data field that contains the latitude of the pushpin

get_dataLongitudeField()

Returns the name of the data field that contains the longitude of the pushpin

get_dataTextField()

Returns the name of the data field that contains the text of the pushpin

get_dataTextFormatString()

Returns the String.Format() parameter to use when formatting the pushpin text

get_dataValueField()

Returns the name of the data field that contains the ID of the pushpin

get_height()

Returns the height of the map

get_latitude()

Returns the latitude of the map’s center

get_longitude()

Returns the longitude of the map’s center

get_mapStyle()

Returns the style of the map

get_popupCssClass()

Returns the CSS class for ...

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