[Potlatch-dev] [OpenStreetMap] #4115: Overriding node:selected causes node to be un-selectable
OpenStreetMap
trac at openstreetmap.org
Tue Nov 29 22:21:10 GMT 2011
#4115: Overriding node:selected causes node to be un-selectable
----------------------------------+-----------------------------------------
Reporter: ebwolf | Owner: potlatch-dev@…
Type: defect | Status: new
Priority: major | Milestone:
Component: potlatch2 | Version:
Keywords: MapCSS node:selected |
----------------------------------+-----------------------------------------
I am using Potlatch 2.3 Build 2.3-115-gbbacb39 locally, pointed at the
USGS OSM Server (navigator.er.usgs.gov).
In my style .css file, if I have two statements:
node :selected { icon-image: square; icon-width: 30; color: yellow;
interactive: no; z-index: 2; }
node[FCode=82024] { icon-image: usgs/library.png; z-index: 1; }
Then when I select a node with tag FCode=82024, then the selection starts
to happen and then immediately deselects. If I reverse the two statements,
like this:
node[FCode=82024] { icon-image: usgs/library.png; z-index: 1; }
node :selected { icon-image: square; icon-width: 30; color: yellow;
interactive: no; z-index: 2; }
Then when I select the node, the node remains selected and I get a yellow
square (which is another problem).
Should the MapCSS dictate how feature selection works inside Potlatch?
-Eric
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4115>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Potlatch-dev
mailing list