HTML APIs
- For single locations on a map, we use the overlay for _______.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Marker specifies the single locations on the map. It can also display custom icon images. A series of straight lines on a map can be specified by Polyline. A series of a straight line with the “closed” shape is defined by Polygon.
- How many kinds of map does Geo support?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Geo supports 3 different kinds of interactive map like OpenStreeMap, Google Maps, a hybrid map that is Google Map with OpenStreetMap tiles placed on it, these maps are loaded in 3 different HTML elements.
- Windowless plug-in will not call ____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Windowless plugin can call Netscape methods like NPN_InvalidateRegion, NPN_ForceRedraw, NPN_InvalidateRect. NPN_InvalidateRegion is used for invalidate an area in windowless plug-in before refreshing or repeating.
- The browser will not call the plug-in _________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Browser calls various plug-in methods like NPP_Print, NPP_SetWindow, NPP_SetValue, NPP_HandleEvent, NPP_GetValue. NPP_SetValue is for setting the browser information, for delivering platform-specific event to instance browser calls NPP_HandleEvent method.
- Which of the following method is not associated to handling the memory ________________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
There are three methods used in memory handling in plug-ins. NPN_MemFree method is used to free memory allocated. NPN_MemAlloc method is used to allocate memory from the browser. NPN_MemFlush is used to free memory in Mac OS only.