Section C.7. Virtual Earth Maps


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

C.7.1. 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 the pop-up

get_popupPositioningMode()

Returns the positioning mode of the pop-up

get_popupTemplate()

Returns the ID of the HTML template for the pop-up

get_pushpinActivation()

Returns the activation mode for pushpins

get_pushpinCssClass()

Returns the CSS class for the pushpin

get_pushpinImageHeight()

Returns the height of the pushpin icon

get_pushpinImageURL()

Returns the URL of the pushpin icon

get_pushpinImageWidth()

Returns the width of the pushpin icon

get_pushpins()

Returns all pushpins on the map

get_width()

Returns the width of the map

get_zoomLevel()

Returns the zoom level of the map

set_data(value)

Binds data to the map

set_dataImageHeightField(value)

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

set_dataImageURLField(value)

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

set_dataImageURLFormatString(value)

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

set_dataImageWidthField(value)

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

set_dataLatitudeField(value)

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

set_dataLongitudeField(value)

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

set_dataTextField(value)

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

set_dataTextFormatString(value)

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

set_dataValueField(value)

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

set_height(value)

Sets the height of the map

set_latitude(value)

Sets the latitude of the map and centers it

set_longitude(value)

Sets the longitude of the map and centers it

set_mapStyle(value)

Returns the style of the map (Aerial, Hybrid, Road)

set_popupCssClass(value)

Sets the CSS class for the pop-up

set_popupPositioningMode(value)

Sets the positioning mode of the pop-up (TopLeft, TopRight, TopLeft, TopRight)

set_popupTemplate(value)

Sets the ID of the HTML template for the pop-up

set_pushpinActivation(value)

Sets the activation mode for pushpins (None, Hover, Click)

set_pushpinCssClass(value)

Sets the CSS class for the pushpin

set_pushpinImageHeight(value)

Sets the height of the pushpin icon

set_pushpinImageURL(value)

Sets the URL of the pushpin icon

set_pushpinImageWidth(value)

Sets the width of the pushpin icon

set_width(value)

Sets the width of the map

set_zoomLevel(value)

Sets the zoom level (117) of the map





Programming Atlas
Programming Atlas
ISBN: 0596526725
EAN: 2147483647
Year: 2006
Pages: 146

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net