[OpenLayers-Commits] r11814 - sandbox/tschaub/canvas/examples
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed Mar 30 18:01:44 EDT 2011
Author: tschaub
Date: 2011-03-30 15:01:43 -0700 (Wed, 30 Mar 2011)
New Revision: 11814
Modified:
sandbox/tschaub/canvas/examples/canvas-hit-detection.html
sandbox/tschaub/canvas/examples/canvas-inspector.html
Log:
Offset calculation with border (and margin and padding) works now.
Modified: sandbox/tschaub/canvas/examples/canvas-hit-detection.html
===================================================================
--- sandbox/tschaub/canvas/examples/canvas-hit-detection.html 2011-03-30 21:55:37 UTC (rev 11813)
+++ sandbox/tschaub/canvas/examples/canvas-hit-detection.html 2011-03-30 22:01:43 UTC (rev 11814)
@@ -6,11 +6,6 @@
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
<script src="../lib/OpenLayers.js"></script>
- <style>
- #map {
- border: none;
- }
- </style>
</head>
<body>
<h1 id="title">Feature Hit Detection with Canvas</h1>
Modified: sandbox/tschaub/canvas/examples/canvas-inspector.html
===================================================================
--- sandbox/tschaub/canvas/examples/canvas-inspector.html 2011-03-30 21:55:37 UTC (rev 11813)
+++ sandbox/tschaub/canvas/examples/canvas-inspector.html 2011-03-30 22:01:43 UTC (rev 11814)
@@ -8,9 +8,6 @@
<script src="../lib/OpenLayers.js"></script>
<script src="Jugl.js"></script>
<style>
- #map {
- border: none;
- }
#template {
display: none;
}
More information about the Commits
mailing list