use HTML5 in all examples, and some minor example improvements (pullup #3333)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12032 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<title>Snapping & Splitting</title>
|
||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<title>Snapping & Splitting</title>
|
||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||
<!--[if lte IE 6]>
|
||||
<link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
|
||||
<![endif]-->
|
||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<style type="text/css">
|
||||
.olControlEditingToolbar .olControlModifyFeatureItemInactive {
|
||||
background-position: -1px -1px;
|
||||
@@ -18,7 +20,7 @@
|
||||
label.head {
|
||||
font-weight: bold;
|
||||
padding: 1em 0 0.1em 0;
|
||||
border-bottom: 1px solid grey;
|
||||
border-bottom: 1px solid gray;
|
||||
}
|
||||
td {
|
||||
padding: 0.25em 1em;
|
||||
@@ -247,7 +249,7 @@
|
||||
</div>
|
||||
<div id="shortdesc">A demonstration snapping and splitting while editing vector features.</div>
|
||||
<div id="map" class="smallmap"></div>
|
||||
<br/>
|
||||
<br>
|
||||
<input type="checkbox" id="snap_toggle" />
|
||||
<label for="snap_toggle" class="head">Enable Snapping</label>
|
||||
<table id="snap_options">
|
||||
@@ -263,7 +265,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<br>
|
||||
<input type="checkbox" id="split_toggle" />
|
||||
<label for="split_toggle" class="head">Enable Splitting</label>
|
||||
<table id="split_options">
|
||||
@@ -274,7 +276,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<br>
|
||||
<button id="clear">clear</button> Clear all features.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user