add a map getUnits method, r=ahocevar (Closes 1591)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7374 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -86,8 +86,8 @@
|
||||
map.addControl(control);
|
||||
t.eq(control.div.firstChild.style.visibility, "visible", "top scale is present.");
|
||||
t.eq(control.div.lastChild.style.visibility, "visible", "bottom scale is present.");
|
||||
t.eq(control.div.firstChild.innerHTML, "20000 km", "top scale has correct text.");
|
||||
t.eq(control.div.lastChild.innerHTML, "20000 mi", "bottom scale has correct text.");
|
||||
t.eq(control.div.firstChild.innerHTML, "200 m", "top scale has correct text.");
|
||||
t.eq(control.div.lastChild.innerHTML, "1000 ft", "bottom scale has correct text.");
|
||||
map.destroy();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user