[Potlatch-dev] [OpenStreetMap] #4115: Overriding node:selected causes node to be un-selectable
OpenStreetMap
trac at openstreetmap.org
Wed Mar 7 22:45:28 GMT 2012
#4115: Overriding node:selected causes node to be un-selectable
-------------------------+--------------------------------------------------
Reporter: ebwolf | Owner: potlatch-dev@…
Type: defect | Status: closed
Priority: major | Milestone:
Component: potlatch2 | Version:
Resolution: worksforme | Keywords: MapCSS node:selected
-------------------------+--------------------------------------------------
Changes (by Richard):
* status: new => closed
* resolution: => worksforme
Comment:
I think you're using MapCSS 0.1 syntax there.
In MapCSS 0.2 (as currently implemented in Potlatch), if you want to have
two on-screen objects for the same node, you need to create subparts. In
other words, you should put the highlight on a different subpart like this
- node::selectedNode :selected { ... }.
This is how the osm.org Potlatch instance does it - look at
core_interactive.css, and indeed the MapCSS 0.2 spec.
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4115#comment:1>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Potlatch-dev
mailing list