From 97510ba0be665c3431b3f2f0fdafef2130909323 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 7 May 2013 17:33:33 +0200 Subject: [PATCH] Use className in mouse position example --- examples/mouse-position.html | 6 ------ examples/mouse-position.js | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/examples/mouse-position.html b/examples/mouse-position.html index 4bcd30b47f..74f85c76f1 100644 --- a/examples/mouse-position.html +++ b/examples/mouse-position.html @@ -8,12 +8,6 @@ Mouse position example - diff --git a/examples/mouse-position.js b/examples/mouse-position.js index dc3a2163f7..36d6615ec4 100644 --- a/examples/mouse-position.js +++ b/examples/mouse-position.js @@ -13,8 +13,9 @@ var map = new ol.Map({ new ol.control.MousePosition({ coordinateFormat: ol.coordinate.toStringHDMS, projection: 'EPSG:4326', - // comment the following line to have the mouse position + // comment the following two lines to have the mouse position // be placed within the map. + className: 'custom-mouse-position', target: document.getElementById('mouse-position'), undefinedHTML: ' ' })