diff options
author | Chris Schlaeger <chris@linux.com> | 2014-08-12 21:56:44 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2014-08-12 21:56:44 +0200 |
commit | ea346a785dc1b3f7c156f6fc33da634e1f1a627b (patch) | |
tree | af67530553d20b6e82ad60fd79593e9c4abf5565 /misc/openlayers/examples/wfs-protocol-transactions.html | |
parent | 59741cd535c47f25971bf8c32b25da25ceadc6d5 (diff) | |
download | postrunner-0.0.4.zip |
Adding jquery, flot and openlayers to be included with the GEM.v0.0.4
Diffstat (limited to 'misc/openlayers/examples/wfs-protocol-transactions.html')
-rw-r--r-- | misc/openlayers/examples/wfs-protocol-transactions.html | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/misc/openlayers/examples/wfs-protocol-transactions.html b/misc/openlayers/examples/wfs-protocol-transactions.html new file mode 100644 index 0000000..390c62a --- /dev/null +++ b/misc/openlayers/examples/wfs-protocol-transactions.html @@ -0,0 +1,104 @@ +<!DOCTYPE html> +<html> + <head> + <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"> + <link rel="stylesheet" href="../theme/default/style.css" type="text/css"> + <link rel="stylesheet" href="style.css" type="text/css"> + <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script> + <script src="../lib/OpenLayers.js"></script> + <!--[if lte IE 6]> + <style> + .customEditingToolbar { + width: 200px; + } + </style> + <![endif]--> + <style> + .customEditingToolbar { + float: right; + right: 0px; + height: 30px; + } + .customEditingToolbar div { + float: right; + margin: 5px; + width: 24px; + height: 24px; + } + .olControlNavigationItemActive { + background-image: url("../theme/default/img/editing_tool_bar.png"); + background-repeat: no-repeat; + background-position: -103px -23px; + } + .olControlNavigationItemInactive { + background-image: url("../theme/default/img/editing_tool_bar.png"); + background-repeat: no-repeat; + background-position: -103px -0px; + } + .olControlDrawFeaturePolygonItemInactive { + background-image: url("../theme/default/img/editing_tool_bar.png"); + background-repeat: no-repeat; + background-position: -26px 0px; + } + .olControlDrawFeaturePolygonItemActive { + background-image: url("../theme/default/img/editing_tool_bar.png"); + background-repeat: no-repeat; + background-position: -26px -23px ; + } + .olControlModifyFeatureItemActive { + background-image: url(../theme/default/img/move_feature_on.png); + background-repeat: no-repeat; + background-position: 0px 1px; + } + .olControlModifyFeatureItemInactive { + background-image: url(../theme/default/img/move_feature_off.png); + background-repeat: no-repeat; + background-position: 0px 1px; + } + .olControlDeleteFeatureItemActive { + background-image: url(../theme/default/img/remove_point_on.png); + background-repeat: no-repeat; + background-position: 0px 1px; + } + .olControlDeleteFeatureItemInactive { + background-image: url(../theme/default/img/remove_point_off.png); + background-repeat: no-repeat; + background-position: 0px 1px; + } + </style> + <script src="wfs-protocol-transactions.js"></script> + </head> + <body onload="init()"> + <h1 id="title">WFS Transaction Example</h1> + <div id="tags"> + wfs, wfst, wfs-t, advanced + </div> + <p id="shortdesc"> + Shows the use of the WFS Transactions (WFS-T). + </p> + <div id="map" class="smallmap"></div> + <div id="docs"> + <p> + The WFS protocol allows for creation of new features and + reading, updating, or deleting of existing features. + </p> + <p> + Use the tools to create, modify, and delete (in order from left + to right) features. Use the save tool (picture of a disk) to + save your changes. + </p> + <p> + To deactivate "drawing" or "modifying" depress the + corresponding button. + </p> + <p> + See the <a href="wfs-protocol-transactions.js" target="_blank"> + wfs-protocol-transactions.js source</a> to see how this is done. + </p> + </div> + </body> +</html> + + |