src/gm3/actions/mapSource.js
/** Convert app the <property> tages of <properties> in <map-source>
 *  into an object.
 *
 *  @param msXml The MapSource XML
 *
 *  @returns Object containing the propeties
 */
Convert app the  tages of  in 
into an object.

@param msXml The MapSource XML

@returns Object containing the propeties
Convert app the tages of in into an object . @param msXml The MapSource XML @returns Object containing the propeties
function parseProperties(msXml) {
    const props = [];
    const propsParent = msXml.getElementsByTagName('properties')[0];
    if (propsParent) {
        const propXmls = propsParent
            .getElementsByTagName('property');
        for (let i = 0, ii = propXmls.length; i < ii; i++) {
            const prop = propXmls[i];
            props.push({
                name: prop.getAttribute('name'),
                label: prop.getAttribute('label'),
                type: prop.getAttribute('type'),
                default: prop.getAttribute('default'),
            });
        }
    }
    return props;
}
function parseProperties ( msXml ) { const props = [ ] ; const propsParent = msXml . getElementsByTagName ( 'properties' ) [ 0 ] ; if ( propsParent ) { const propXmls = propsParent . getElementsByTagName ( 'property' ) ; for ( let i = 0 , ii = propXmls . length ; i < ii ; i ++ ) { const prop = propXmls [ i ] ; props . push ( { name : prop . getAttribute ( 'name' ) , label : prop . getAttribute ( 'label' ) , type : prop . getAttribute ( 'type' ) , default : prop . getAttribute ( 'default' ) , } ) ; } } return props ; }
Convert app the <property> tages of <properties> in <map-source>
  into an object.
Convert app the <property > tages of <properties > in <map - source > into an object .