Commit 512b97b2 authored by Antonella Giachino's avatar Antonella Giachino
Browse files

Fixed bug about map refresh

parent 703f343c
......@@ -363,8 +363,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
for (f in columnsForData){
var tmpField = columnsForData[f];
if (tmpField.fieldType == "SPATIAL_ATTRIBUTE")
if (tmpField && tmpField.fieldType == "SPATIAL_ATTRIBUTE"){
geoColumn = tmpField.name;
break;
}
}
layerDef.layerID = layerID;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment