BlurEffect Constructor

Syntax

PP.BlurEffect (settings)

Parameters

settings. The JSON object with the values of the class instance.

Description

The BlurEffect constructor implements an instance of the BlurEffect class.

Example

To execute the example the HTML page must contain the MapChart component named map (see Placing of Map on a HTML Page). To create this map, use the World.svg topobase and the MapData_World.xml file that contains JSON map settings. Add a handler for the MapChart.Loaded event - function for application of scattering effect to a separate map area:

	map.Loaded.add(function () {
	    blurEffect = new PP.BlurEffect({ Radius: 5 })
	    blurEffect.apply(map.getShape("AU"),true)
	});

After executing the example blur effect is applied to the map area with the identifier AU (Australia):

See also:

BlurEffect