1 | <!DOCTYPE html> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
---|
6 | <meta name="apple-mobile-web-app-capable" content="yes"> |
---|
7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
8 | <title>OpenLayers Graphic Names</title> |
---|
9 | <link rel="stylesheet" href="../theme/default/style.css" type="text/css"> |
---|
10 | <link rel="stylesheet" href="style.css" type="text/css"> |
---|
11 | <script src="../lib/OpenLayers.js" type="text/javascript"></script> |
---|
12 | <script src="./graphic-name.js" type="text/javascript"></script> |
---|
13 | </head> |
---|
14 | <body onload="init();"> |
---|
15 | <h1 id="title">Named Graphics Example</h1> |
---|
16 | <div id="tags"> |
---|
17 | vector, named graphic, star, cross, x, square, triangle, circle, style, light |
---|
18 | </div> |
---|
19 | <p id="shortdesc"> |
---|
20 | Shows how to use well-known graphic names. |
---|
21 | </p> |
---|
22 | <div id="map" class="smallmap"> |
---|
23 | </div> |
---|
24 | <div id="docs"> |
---|
25 | <p> |
---|
26 | OpenLayers supports well-known names for a few graphics. You |
---|
27 | can use the names "star", "cross", |
---|
28 | "x", "square", "triangle", and |
---|
29 | "circle" as value for the graphicName property of a |
---|
30 | symbolizer. |
---|
31 | </p> |
---|
32 | <p> |
---|
33 | The named symbols "lightning", "rectangle" |
---|
34 | and "church" are user defined. |
---|
35 | </p> |
---|
36 | <p> |
---|
37 | See <a href="./graphic-name.js">graphic-name.js</a> |
---|
38 | for the source code of this example. |
---|
39 | </p> |
---|
40 | </div> |
---|
41 | </body> |
---|
42 | </html> |
---|