MapQuest Advantage TileMap Toolkit Reference Documentation

Class MQInfoWindow

Object
   |
   +--MQInfoWindow

class MQInfoWindow


MQInfoWindow provides click-to-open popup windows for MQPois on a Mapquest Draggable map.
Defined in infowindow.js


Constructor Summary
MQInfoWindow (<MQTileMap> map)
            Constructs a MQInfoWindow object.
 
Method Summary
 Object getMaxWidth()
           Returns the maxwidth of the infowindow set by the user.
 Object getMinWidth()
           Returns the minwidth of the infowindow set by the user.
 MQPoi or MQTileMap getOpener()
           Returns a reference to the object that opened this info window.
 Object getPixelOffset()
           Returns the offset, in pixels, of the tip of the info window from the point on the map at whose geographical coordinates the info window is anchored.
 Object getPointLL()
           Returns the geographical point at which the info window is anchored.
 Object getPointXY()
           Returns the screen coordinates at which the info window is anchored.
 Object getTitleBackgroundColor()
           Returns the current user-defined background color of the title section of the InfoWindow.
 void hide()
           Hides the info window if it is currently visible .
 Object isHidden()
           Returns true if the info window is hidden.
 void modify(<MQPoint> point, <String> title, <Object> content, <MQPoint> offset)
           Modifies the state of the info window.
 void setMaxWidth(<integer> width)
           Sets the maximum width allowed for the infowindow.
 void setMinWidth(<integer> width)
           Sets the minimum width allowed for the infowindow.
 void setTitleBackgroundColor(<String> color)
           Function to set the background color of the title section of the InfoWindow
 void show()
           Makes the info window visible if it is currently hidden.

Constructor Detail

MQInfoWindow

MQInfoWindow(<MQTileMap> map)

Method Detail

getMaxWidth

Object getMaxWidth()

getMinWidth

Object getMinWidth()

getOpener

MQPoi or MQTileMap getOpener()

getPixelOffset

Object getPixelOffset()

getPointLL

Object getPointLL()

getPointXY

Object getPointXY()

getTitleBackgroundColor

Object getTitleBackgroundColor()

hide

void hide()

isHidden

Object isHidden()

modify

void modify(<MQPoint> point, <String> title, <Object> content, <MQPoint> offset)

setMaxWidth

void setMaxWidth(<integer> width)

setMinWidth

void setMinWidth(<integer> width)

setTitleBackgroundColor

void setTitleBackgroundColor(<String> color)

show

void show()

MapQuest Advantage TileMap Toolkit Reference Documentation

Documentation generated by JSDoc on Tue Oct 16 08:04:28 2007