You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried reproducing the problem with data provided by Gordon. It turns out that the layer properties I'm selecting to show does not match the generated XML in terms of display order.
The text was updated successfully, but these errors were encountered:
Actually the Ajax Viewer has the same LayerMetadata with the same order that the data connection configuration XML has, but under Feature ... it responded the correct order of both label names, and values.
However, it's able to displayed the correct feature info.
Also, it's the correct order of the label and value under Feature response by using Fusion too.
Any codes that I may change in order to display the content with the order under Feature????
Temporary solution here for this problem with Fusion users:
under FusionSF.js:
convertExtendedFeatureInfo: function (efi) {
...
var layerMeta = selLayer.LayerMetadata[0];
//add this
var layerFeature = selLayer.Feature[0];
...
var metaProp = layerMeta.Property[j];
//add this
var featureProp = layerFeature.Property[j]
...
//change metaProp.DisplayName[0] to following code
pvals.push(featureProp.Name[0]);
...
}
Original Link: https://trac.osgeo.org/mapguide/ticket/2747
Per this thread: http://osgeo-org.1560.x6.nabble.com/Out-of-Order-SelectionPanel-js-td5288902.html
I tried reproducing the problem with data provided by Gordon. It turns out that the layer properties I'm selecting to show does not match the generated XML in terms of display order.
The text was updated successfully, but these errors were encountered: