- // Return an exact copy of this object
- // ** this needs some benchmarking - may be quicker to iterate over .properties, copying each one
+ /** Is the style active (properties have been set)? */
+ public var edited:Boolean=false;
+
+ /** The sublayer is the z-index property _within_ an OSM layer.
+ It enables (for example) trunk roads to be rendered above primary roads within that OSM layer,
+ and so on. "OSM layer 1 / sublayer 5" will render above "OSM layer 1 / sublayer 4", but below
+ "OSM layer 2 / sublayer 4". */
+ public var sublayer:Number=5;
+
+ /** Does this style permit mouse interaction?
+ (Some styling, such as P2's back-level yellow highlight for selected ways, should not respond
+ to mouse events.) */
+ public var interactive:Boolean=true;