[Chameleon-dev] [Bug 916] symbol picker does not work if MAP file
only has WMS layers
bugzilla-daemon at maptools.org
bugzilla-daemon at maptools.org
Tue Jan 11 10:29:59 EST 2005
http://www.maptools.org/bugzilla/show_bug.cgi?id=916
------- Additional Comments From pspencer at dmsolutions.ca 2005-01-11 10:29 -------
this requires some thinking. It may be sufficient to create a dummy layer,
class and style instead of trying to find an existing one. Can you try
replacing the code after line 136:
//get first layer with class
up to line 155:
if ($nSelectedSymbol == "")
with something like:
$this->m_oDummyLayer = ms_newLayerObj( $this->m_oDummyMap );
$this->m_oDummyClass = ms_newClassObj( $this->m_oDummyLayer );
$this->m_oDummyStyle = ms_newStyleObj( $this->m_oDummyClass );
and give it a try (since I'm not in a position to test this right now)
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Chameleon-dev
mailing list