Commit 7048c1eb authored by Peter Knoop's avatar Peter Knoop
Browse files

New feature layer has a different ObjectID field name, corrected it to fix popup.

parent d6cac5fd
...@@ -307,7 +307,7 @@ require([ ...@@ -307,7 +307,7 @@ require([
return result.graphic.layer === layer; return result.graphic.layer === layer;
})[0].graphic; })[0].graphic;
feature.popupTemplate = layer.popupTemplate; feature.popupTemplate = layer.popupTemplate;
id = feature.attributes.OBJECTID_12_13; id = feature.attributes.OBJECTID_12;
// Log feature // Log feature
//console.log(feature); //console.log(feature);
highlight = layerView.highlight([id]); highlight = layerView.highlight([id]);
......
Markdown is supported
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