summaryrefslogtreecommitdiff
path: root/libs/js/jquery-geo-1.0a4/docs/examples/image.html
diff options
context:
space:
mode:
Diffstat (limited to 'libs/js/jquery-geo-1.0a4/docs/examples/image.html')
-rwxr-xr-xlibs/js/jquery-geo-1.0a4/docs/examples/image.html93
1 files changed, 0 insertions, 93 deletions
diff --git a/libs/js/jquery-geo-1.0a4/docs/examples/image.html b/libs/js/jquery-geo-1.0a4/docs/examples/image.html
deleted file mode 100755
index 1d2c9117..00000000
--- a/libs/js/jquery-geo-1.0a4/docs/examples/image.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <title>image example</title>
- <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
- <meta name="description" content="An example of image display">
- <meta name="author" content="Ryan Westphal">
- <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/blitzer/jquery-ui.css" />
- <link rel="stylesheet" type="text/css" href="css/style.css" />
- <style type="text/css">
- #map
- {
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- }
- </style>
-</head>
-<body>
- <div>
- <div id="map">
- </div>
- <div class="info">
- <div class="links">
- <a href="../" class="docLink">&lt; docs</a>
- <a href="http://jsfiddle.net/ryanttb/==JSFIDDLE==/embedded/" class="fiddleLink"><img src="img/jsfiddle.png" alt="" /> jsFiddle &gt;</a>
- </div>
- <h1>image</h1>
- <p></p>
- <button id="cmdZoom" type="button">zoom in</button>
- </div>
- </div>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
- <script src="http://code.jquerygeo.com/jquery.geo-1.0a4.min.js"></script>
- <script>
- $(function () {
- // set $.geo.proj to null because images don't have a projection
- $.geo.proj = null;
-
- // create a map
- var map = $("#map").geomap({
- center: [ 5616/2, 3744/2 ],
- zoom: 4,
- axisLayout: "image",
- services: [
- {
- type: "tiled",
- src: function (view) {
- return "http://localhost:36426/ObliqueViewer/tiles/RightImage/000230-101708154420-cam5/" + (10 - view.zoom) + "/" + view.tile.column + "/" + view.tile.row;
- },
- attr: "&copy; Sanborn"
- }
- ],
- tilingScheme: {
- tileWidth: 256,
- tileHeight: 256,
- pixelSizes: [
- 32,
- 22.6274166,
- 16,
- 11.3137083,
- 8,
- 5.656854,
- 4,
- 2.828427,
- 2,
- 1.414213547,
- 1
- ],
- origin: [ 0, 0 ]
- },
- });
-
- $("#cmdZoom").button().click(function() {
- map.geomap("zoom", +1);
- });
- });
- </script>
-
- <script>
- var _gaq = [['_setAccount', 'UA-26084853-1'], ['_trackPageview']];
- (function (d, t) {
- var g = d.createElement(t), s = d.getElementsByTagName(t)[0]; g.async = 1;
- g.src = ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js';
- s.parentNode.insertBefore(g, s);
- } (document, 'script'));
- </script>
-</body>
-</html>