Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using the following code to retrieve a list of data layers hosted on a WMS Server:

var store = new{ url: fullUrl });

// Add some callbacks to handle various situations  
store.on('load',      successFunction);
store.on('exception', failureFunction);


function successFunction(store, records) 
    // Generate a nice table or something

That works well enough for retrieving layer data, but while I am connecting to the server, I also want to get the service/title attribute for the server itself. That data is contained in the server's response to the GetCapabilities request, and it must be stored somewhere, but I can't figure out how to retrieve it from the data returned to successFunction.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.