HTML APIs


  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. 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. Photographic map lies under the map type ____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Photographic map lies under the map type satellite. Default 2D map and normal maps lie under the type roadmap. Photographic + city and roads names include hybrid maps. Maps with rivers, mountains etc. lies under the category terrain.


  1. Which of the following type will support 45 degree perspective view?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Satellite and hybrid type of map support 45 degree perspective imagery view for specified locations. The map will add a compass wheel around Pan control, it allows to rotate the image. There is a toggle control to display 45 degree perspective view.



  1. Which object will represent a Marker icon?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    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.