ResourceStatus Plugin - geosolutions-it/MapStore GitHub Wiki

This plugin can be used in order to manage imported resources in MapStore. This listen the 'ready' event fired from the AddLayer plugin in order to show the imported resources in an ExtJs TreePanel. This plugin interacts with the layer tree in order to show layers in the map and to show any error message reported during the WMS source loading from the AddLayer.

Configuration

    {
		"ptype": "gxp_resourcestatus",
		"id": "resourcetree_plugin",
		"outputConfig": {
			"id": "resourcetree"
		},
		"outputTarget": "west",
		"expandServices": true,
		"showAllLayers": false,
		"disableAddLayerNotifications": true			
    }
  • ptype: The type name of the plugin.
  • id: The plugin's identifier.
  • outputConfig: The output configuration options for the plugin's GUI.
  • outputTarget: The target element in which render the plugin.
  • expandServices: Default false. Use it to true in order to expand WSM services showing his layers.
  • showAllLayers: Default false. Set this to true if you want to visualize all imported layers (also for imported services) in the map. Is suggested to maintain this to false if there is a large ammount of layers to show.
  • disableAddLayerNotifications: Default to true. Used in order to disable any user notification reported from the AddLayer plugin during the resource loading.