summaryrefslogtreecommitdiff
path: root/misc/openlayers/tests/Layer/OSM.html
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openlayers/tests/Layer/OSM.html')
-rw-r--r--misc/openlayers/tests/Layer/OSM.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/openlayers/tests/Layer/OSM.html b/misc/openlayers/tests/Layer/OSM.html
new file mode 100644
index 0000000..fac471c
--- /dev/null
+++ b/misc/openlayers/tests/Layer/OSM.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+ <script src="../OLLoader.js"></script>
+ <script type="text/javascript">
+ function test_clone(t) {
+ t.plan(1);
+ var layer = new OpenLayers.Layer.OSM();
+ var clone = layer.clone();
+ t.ok(clone instanceof OpenLayers.Layer.OSM, "clone is a Layer.OSM instance");
+ }
+ </script>
+</head>
+<body>
+<div id="map" style="width:500px;height:550px"></div>
+</body>
+</html>