Test Series - html

Test Number 58/72

Q: Which of the following is not the property of Map()?
A. mapTypes
B. controls
C. overlayMapTypes
D. zoom
Solution: There are three properties of map namely mapTypes, controls, overlayMapTypes. MapTypes is a registry of MapType which instances by string ID. Additional controls to attach to map is provided by controls.
Q: Which of the following event does not take a MouseEvent argument in Map()?
A. dbclick
B. drag
C. click
D. mouseover
Solution: There are various events of Map() that takes MouseEvent as an argument. Some of them are dbclick, click, mouseout, mousemove, mouseover, rightclick. When a user clicks the map click event is fired and on double clicking on the map dbclick event is fired.
Q: Which of the following event will be fired when a user drags the map?
A. dragend
B. drag
C. dragstart
D. idle
Solution: The drag event will be fired repeatedly while the user drags the map. When the user stops dragging the map dragend event will be fired, dragstart event will be fired when a user starts dragging the map.
Q: Which of the following event will be called when user’s mouse exits map container?
A. mouseout
B. mouseover
C. mousemove
D. resize
Solution: mouseout event will be called when user’s mouse exits mouse container, mouseover event will be called when the user’s mouse enters map container, mousemove event will be called when user’s mouse moves over the map.
Q: Which event will be fired when the map changes size?
A. tilesloaded
B. zoom_changed
C. tilt_changed
D. resize
Solution: resize event will be fired when the map changes the size, zoom_changed event will be fired when map zoom property is changed, tilt_changed event will be fired when map tilt property changes, tilesloaded event will be fired when visible tiles have finished loading.
Q: Which object will represent a Marker icon?
A. Marker
B. MarkerShape
C. MarkerImage
D. Marker
Solution: MarkerImage will represent a structure of a Marker icon or shadow image. The shape of the marker is defined by MarkerShape. Options for rendering the marker are shown by MarkerOptions. Marker object simply creates a Marker.
Q: Which object shows options for rendering of scale control?
A. ScaleControlOptions
B. ScaleControlStyle
C. RotateControlOptions
D. ControlPosition
Solution: ScaleControlOptions provide options for rendering of scale control, ScaleControlStyle specifies kind of the scale control to display, RotateControlOptions shows options for rendering of rotate control, ControlPosition specifies placement of controls of map.
Q: Which of the following will provide options for rendering overview map control?
A. MapTypeControlStyle
B. OverviewMapControlOptions
C. MapTypeControlOptions
D. PanControlOptions
Solution: OverviewMapControlOptions will provide options for rendering of overview map control, MapTypeControlStyle will specify kind of map control to display. MapTypeControlOptions holds options to modify a control. Options for rendering pan control is given by PanControlOptions.
Q: Which will specify placement of controls on map?
A. ControlPosition
B. StreetViewControlOptions
C. ScaleControlStyle
D. ScaleControlOptions
Solution: ControlPosition specifies placement of controls on map, StreetViewControlOptions provides options for rendering of street view control, ScaleControlStyle specifies kind of scale control to display, ScaleControlOptions lsit down options for rendering sacle control.
Q: 
A. 
B. 
C. 
D. 
Solution: 

You Have Score    /10