HTML APIs


  1. MapTypeControlOptions field may not contain _______.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    For modifying control we use mapTypeControlOptions field. google.maps.MapTypeControlStyle.HORZONTAL_BAR displays a single button for each map type. google.maps.MapTypeControlStyle.DEFAULT displays default behavior. google.maps.MapTypeControlStyle.DROPDOWN_MENU helps in selecting map type via dropdown menu.


  1. Which control displays the current map viewport?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The control overview displays a thumbnail overview map which reflects the current map viewport within the wider area. A map scale element is displayed by scale control. Pegman icon that can be dragged to the map for enabling street view is displayed by this control. When a user wants to toggle between the maps (roadmap and satellite), Map Type is used.



  1. Which one of the following is not the default control in google maps?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Google map has a default control set namely Pan, Zoom, Street view, MapType, Rotate, Overview map, scale. A slider or “+/-” buttons for controlling zoom level of the map. For panning the map we use pan control.


  1. The value of fillOpacity lies between __________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The value of fillOpacity lies between 0.0 and 1.0. The value of strokeOpacity also lies between 0.0 and 1.0, E.g path: Trip, strokeOpacity: 0.7, strokeWeight: 3, strokeColor: “#000FFF” .



  1. The property which is not supported by the circle is _________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Circle supports the properties like radius, center, strokeOpacity, strokeCapacity, fillColor, fillOpacity, stokeOpacity, editable, specify google.maps.LatLng of center of circle, the radius of a circle is specified by radius. Opacity of stroke color is specified by strokeOpacity.