Giter VIP home page Giter VIP logo

Comments (4)

jumpinjackie avatar jumpinjackie commented on August 17, 2024

I can't reproduce this anymore

from mapguide-maestro.

RenoSun avatar RenoSun commented on August 17, 2024

Hi Jackie,

Are there any ways to fix the same problem with AIMS 2017 (MapGuide 3.1.1.4601)?

http://osgeo-org.1560.x6.nabble.com/AIMS-2014-to-AIMS-2017-Selection-Panel-Display-Order-Issues-td5346401.html

Mapguide-Rest, and Ajax Viewer (Basic Layout) will return the right order of labels and values, but Fusion will not ...

The "QUERYMAPFEATURE" is getting the values with the right order, but not the order or the label
names...
image

image

image

However, there is another request came with the DisplayName(s) under LayerMetadata was replied with the wrong order of the DisplayName(s)...
image

image

image

Thank you very much!

from mapguide-maestro.

RenoSun avatar RenoSun commented on August 17, 2024

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.
image

image

image

image

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????

from mapguide-maestro.

RenoSun avatar RenoSun commented on August 17, 2024

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]);
...
}

from mapguide-maestro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.