From 2fdee6eabdc6d9a5a7a47d8b3642a083a2453b0f Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 24 Jun 2008 19:13:47 +0000 Subject: [PATCH] Adding an example of StyleMap use. git-svn-id: http://svn.openlayers.org/trunk/openlayers@7447 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/stylemap.html | 85 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 examples/stylemap.html diff --git a/examples/stylemap.html b/examples/stylemap.html new file mode 100644 index 0000000000..99cb2bc34d --- /dev/null +++ b/examples/stylemap.html @@ -0,0 +1,85 @@ + + + OpenLayers StyleMap + + + + + + +

StyleMap Example

+ +
+ +

+ Shows how to use a StyleMap. +

+ +
+ +
+

A style map is used with vector layers to define styles for various + rendering intents. The style map used here has styles defined for the + "default" and "select" rendering intents. This map also has an active + select feature control. When you hover over features, they are selected + and drawn with the style corresponding the the "select" render intent. +

+
+ + \ No newline at end of file