[Chameleon-dev] [Bug 1370] New: [chameleon-phpwms] No way to
override LAYER_STYLE without changing Chameleon code
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Mon Mar 20 03:30:31 EST 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1370
Summary: [chameleon-phpwms] No way to override LAYER_STYLE
without changing Chameleon code
Product: Chameleon
Version: 2.2
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
Currently there is no way to override LAYER_STYLE (common/phpwms, determines
whether or not style info is parsed and used from WMS Capabilities) without
changing the code of:
chameleon\htdocs\common\phpwms\phpwms.default.php
I propose the following change to make it possible to override this without
changing Chameleon code:
if (isset($_SESSION['gbLayerStyle']))
{
define("LAYER_STYLE", $_SESSION['gbLayerStyle']);
}
else
{
define("LAYER_STYLE", false);
}
Any objections to getting this into 2.4?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list