Oskari API documentation

Select request

admindown-arrow
frameworkdown-arrow
mappingdown-arrow
uidown-arrow

ShowProgressSpinnerRequest RPC

Allows progress spinner to be shown or hidden on a map.

Use cases

  • Show or hide a progress spinner on a map

Description

Requests a progress spinner to be shown or hidden on a map.

Parameters

(* means the parameter is required)

Name Type Description Default value
\* show Boolean whether to show or hide the spinner

Examples

Start to draw for 'measure' functionality and keep the drawing on the map:

var sb = Oskari.getSandbox();
var isVisible = true;
sb.postRequestByName('ShowProgressSpinnerRequest',[isVisible]);