Changeset 805 for flamingo


Ignore:
Timestamp:
23-12-11 15:32:31 (5 months ago)
Author:
rbraam
Message:

Result point also possible in wfs search.

Location:
flamingo/trunk/fmc
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • flamingo/trunk/fmc/LayerOGWMS.as

    r781 r805  
    3636*/ 
    3737 
    38 import roo.FilterLayerLayerOGWMSAdapter; 
    3938 
    4039var version:String = "2.0"; 
  • flamingo/trunk/fmc/LocationFinder.as

    r801 r805  
    634634                                } else if (!isNaN(extent.minx) && !isNaN(extent.maxx) && !isNaN(extent.miny) && !isNaN(extent.maxy)){ 
    635635                                        env = new Envelope(extent.minx, extent.miny, extent.maxx, extent.maxy) ; 
    636                         conn.performGetFeature(serviceLayer, env, whereClauses, null, false, this, reqprops, contextObject); 
    637                                 } else{ 
    638                                         conn.performGetFeature(serviceLayer, null, whereClauses, null, false, this, reqprops); 
    639                                 } 
     636                                        conn.performGetFeature(serviceLayer, env, whereClauses, null, false, this, reqprops, contextObject);                                     
     637                                } else{                                  
     638                                        conn.performGetFeature(serviceLayer, null, whereClauses, null, false, this, reqprops, contextObject); 
     639                                } 
    640640                        } else if (serviceFeatures != null) { 
    641641                                foundlocations = new Array(); 
  • flamingo/trunk/fmc/classes/coremodel/service/wfs/FeatureType.as

    r718 r805  
    1 /*----------------------------------------------------------------------------- 
     1/*----------------------------------------------------------------------------- 
    22* This file is part of Flamingo MapComponents. 
    33* Author: Michiel J. van Heek. 
     
    7878                ||property.getType() == preFix + ":MultiPolygonPropertyType " 
    7979                ||property.getType() == preFix + ":MultiLineStringPropertyType" 
    80                 ||property.getType() == preFix + ":MultiPointPropertyType") { 
     80                ||property.getType() == preFix + ":MultiPointPropertyType" 
     81                                ||property.getType() == preFix + ":PointPropertyType") { 
    8182                geometryProperties.push(property); 
    8283            } 
  • flamingo/trunk/fmc/classes/coremodel/service/wfs/WFSFeature.as

    r718 r805  
    1 /*----------------------------------------------------------------------------- 
     1/*----------------------------------------------------------------------------- 
    22* This file is part of Flamingo MapComponents. 
    33* Author: Michiel J. van Heek. 
     
    5555                                ||property.getType() == preFix + ":MultiPolygonPropertyType " 
    5656                                ||property.getType() == preFix + ":MultiLineStringPropertyType" 
    57                                 ||property.getType() == preFix + ":MultiPointPropertyType") { 
     57                                ||property.getType() == preFix + ":MultiPointPropertyType" 
     58                                                ||property.getType() == preFix + ":PointPropertyType") { 
    5859                                if(!contextObject.parseGeometry){ 
    5960                                        //keep xmlNode as value 
  • flamingo/trunk/fmc/classes/geometrymodel/GeometryTools.as

    r718 r805  
    3838        var preFix:String = geometryNode.getPrefixForNamespace("http://www.opengis.net/gml"); 
    3939                var coordNodes:Array = XMLTools.getElementsByTagName(preFix +":posList", geometryNode); 
     40                if (coordNodes.length==0){ 
     41                        coordNodes = XMLTools.getElementsByTagName(preFix +":pos", geometryNode); 
     42                } 
    4043                for(var i:Number = 0;i<coordNodes.length;i++){ 
    4144                        var coordsStr:String =  Utils.trim(XMLNode(coordNodes[i]).firstChild.nodeValue) 
Note: See TracChangeset for help on using the changeset viewer.