Changes between Version 3 and Version 4 of NamedStylesProposal
- Timestamp:
- Mar 10, 2009, 7:31:56 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NamedStylesProposal
v3 v4 6 6 MAP 7 7 STYLE 8 # define a named style with global visibility 8 9 NAME "some_style" 9 10 ... … … 13 14 NAME "uses_a_style" 14 15 CLASS 15 # use a name instead of a block16 # a name instead of a block means 'use the named style directly' 16 17 STYLE "some_style" 17 18 ... … … 50 51 * Add a "shared" property to styleObj 51 52 * Exporting a map file would emit all styleObjs with style.shared set to true at the top level 53 * Programmatic changes to shared styles *would* affect all classes using that style 54 * If you don't want that behavior, use cloneStyle/EXTENDS 52 55 * Add a "cloneStyle" function to mapfile.c 53 56 * This would be the programmatic interface for `EXTENDS`