smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

GetFeature Info - MaxFeatures #381

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The Getfeature Info gets only the "Maxfeatures:8" from Heron-with-ux.js / 
Heron.js.
Userdefinitions in the Panelconfig is ignored.

Original issue reported on code.google.com by fotomich...@web.de on 26 May 2014 at 12:05

GoogleCodeExporter commented 9 years ago

Indeed, thanks for the tip i didn't figure how to resolve this myself.

Original comment by louis.mu...@gmail.com on 13 Jun 2014 at 6:29

GoogleCodeExporter commented 9 years ago
Yes, confirmed, as I encountered yesterday for featureinfopopup. For now a 
quickfix is to also populate 'controlDefaults' in the toolbar:

    {type: "featureinfo", options: {
        controlDefaults: {
            maxFeatures: 1000,
            hover: false,
            drillDown: true,
            infoFormat: "application/vnd.ogc.gml",
            queryVisible: true
        },
        popupWindow: {
            width: 360,
            height: 200,
            featureInfoPanel: {
                showTopToolbar: true,
                displayPanels: ['Table','Detail'],

                // Export to download file. Option values are 'CSV', 'XLS', default is no export (results in no export menu).
                exportFormats: Heron.options.exportFormats,
                // Export to download file. Option values are 'CSV', 'XLS', default is no export (results in no export menu).
                // exportFormats: ['CSV', 'XLS'],
                // IGNORED!!
                maxFeatures: 1000,

                // In case that the same layer would be requested more than once: discard the styles
                discardStylesForDups: true
            }
        }
    }},

Original comment by jus...@gmail.com on 13 Jun 2014 at 8:37

GoogleCodeExporter commented 9 years ago

It's better than modifying the heron.js file directly. Thank you.

Original comment by louis.mu...@gmail.com on 13 Jun 2014 at 12:08

GoogleCodeExporter commented 9 years ago
Issue 392 has been merged into this issue.

Original comment by jus...@gmail.com on 11 Jul 2014 at 1:37