Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (48 sloc) 3.32 KB
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="lang" content="en" />
<meta name="author" content="Jorix" />
<meta name="description" content="Example to use FeaturePopups to show a grid of selection using jqGrid" />
<meta name="keywords" content="OpenLayers, FeaturePopups, jqGrid, grid, selection change" />
<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="http://jorix.github.com/OL-Ragbag/examples/github-pages/forkme_banner.css" type="text/css">
<title>Example to use FeaturePopups for Openlayers to show a grid of selection using jqGrid</title>
<!-- OpenLayers -->
<link rel="stylesheet" href="http://dev.openlayers.org/theme/default/style.css" type="text/css">
<link rel="stylesheet" href="http://dev.openlayers.org/examples/style.css" type="text/css">
<script src="http://dev.openlayers.org/OpenLayers.js"></script>
<!-- FeaturePopups control -->
<script src="../lib/FeaturePopups.js"></script>
<script src="../lib/FeaturePopupsExtend.js"></script>
<!-- jQuery -->
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/redmond/jquery-ui.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<!-- jqGrid -->
<link rel="stylesheet" type="text/css" href="http://www.trirand.com/blog/jqgrid/themes/ui.jqgrid.css" />
<script type="text/javascript" src="http://www.trirand.com/blog/jqgrid/js/i18n/grid.locale-en.js"></script>
<script type="text/javascript" src="http://www.trirand.com/blog/jqgrid/js/jquery.jqGrid.min.js"></script>
</head>
<body>
<h1 id="title">&quot;FeaturePopups&quot for Openlayers with jqGrid grid of selection</h1>
<a id="forkme_banner" href="https://github.com/jorix/OL-FeaturePopups">View on GitHub</a>
<div id="tags">Example to use FeaturePopups to show a grid of selection using jqGrid</div>
<p id="shortdesc">
Shows how to bind the <a href="https://github.com/jorix/OL-FeaturePopups">&quot;FeaturePopups&quot; control</a> with a <a href="http://www.trirand.com/jqgridwiki/doku.php">jqGrid</a> grid to show the selection of features on a layer.
</p>
<div id="map" style="float:left; width: 500px; height: 500px;" class="smallmap"></div>
<div id="grid-container" style="float:left; margin-left: 6px">
<table id="grid-data"></table>
<div id="grid-pager"></div>
</div>
<div style="clear:both" id="docs">
<p>&quot;FeaturePopups&quot; control wraps the management of SelectFeature control.</p>
<p>View the <a href="grid-jqGrid-selection.js" target="_blank">grid-jqGrid-selection.js source</a> to see how this is done.</p>
<p>View the <a href="grid-commonOL.js" target="_blank">grid-commonOL.js source</a> to see the definition of the map and layers.</p>
</div>
<script src="grid-commonOL.js"></script>
<script src="grid-jqGrid-selection.js"></script>
</body>
</html>
Something went wrong with that request. Please try again.