Class: XSDAttributes

gmf.editing.XSDAttributes

new XSDAttributes($http, gmfLayersUrl)

An service used to fetch the XSD attribute definition of layers using their id from a GeoMapFish server.

Parameters:
Name Type Description
$http angular.$http

Angular http service.

gmfLayersUrl string

Url to the GeoMapFish layers service.

Members

(static, non-null) module: angular.Module

Methods

getAttributes(id)

Parameters:
Name Type Description
id number

Layer id.

Returns:

handleGetAttributes_(resp)

Parameters:
Name Type Description
resp angular.$http.Response

Ajax response.

Returns:
Array.

List of attributes.