HTML APIs


  1. The plugin resource string 1 is associated with ________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    There are plugin resources. ‘STR#’ 1 is associated with video or quicktime, MIME type is associated with str 128, aiff is associated with string 4, jpg is associated with string 6, image or jpeg is associated with string 5.


  1. OpenStreetMap cannot extend map to implement:











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The openStreetMap and GoogleMap objects extent Map to implement showPOIs, showMap, search and showPosition methods, which make use of Google Maps and OpenLayers library.



  1. Which is not a kind of error?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Examples of error are POSITION_UNAVAIALBLE, PERMISSION_DENIED and TIMEOUT. PositionError is the object returned by Geolocation API in case of error.


  1. getCurrentPosition does not take the argument?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    getCurrentPosition method takes three arguments successCallbaack, errorCallback, options. A successCallback set to GetMap.showMap by MapSwitcher or to GeoMap.showPosition by GeolocationBox.



  1. Which of the following cancels an ongoing watchPosition call?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    clearWatch cancels an ongoing watchPosition call, watchPosition method retrieves periodic updates about a current geographic location of the device, getCurrentPosition retrieves current geographic location.