| 36 | | * intent |
|---|
| | 37 | * intent. If only a style hash or a style object is passed, the |
|---|
| | 38 | * select and temporary intents will inherit all symbolizer |
|---|
| | 39 | * properties except fillColor and strokeColor from the default |
|---|
| | 40 | * intent, if <extendDefault> is set to true (which it is by |
|---|
| | 41 | * default). With the <extendDefault> property set to true, it |
|---|
| | 42 | * is also possible to define a rich style object for the |
|---|
| | 43 | * default intent, and just slim symbolizer hashes with a few |
|---|
| | 44 | * properties that should override the default intent's |
|---|
| | 45 | * symbolizer for other intents. |
|---|
| 42 | | "default": new OpenLayers.Style( |
|---|
| 43 | | OpenLayers.Feature.Vector.style["default"]), |
|---|
| 44 | | "select": new OpenLayers.Style( |
|---|
| 45 | | OpenLayers.Feature.Vector.style["select"]), |
|---|
| 46 | | "temporary": new OpenLayers.Style( |
|---|
| 47 | | OpenLayers.Feature.Vector.style["temporary"]) |
|---|
| | 52 | "default": new OpenLayers.Style(defaultStyle["default"]), |
|---|
| | 53 | "select": new OpenLayers.Style({ |
|---|
| | 54 | fillColor: defaultStyle["select"].fillColor, |
|---|
| | 55 | strokeColor: defaultStyle["select"].strokeColor}), |
|---|
| | 56 | "temporary": new OpenLayers.Style({ |
|---|
| | 57 | fillColor: defaultStyle["temporary"].fillColor, |
|---|
| | 58 | strokeColor: defaultStyle["temporary"].strokeColor}) |
|---|