Fix the examples that used our '$' method.

This commit is contained in:
Marc Jansen
2012-03-05 22:27:43 +01:00
parent de2eeaab0b
commit 5c2c39c9dd
12 changed files with 20 additions and 3 deletions
+1
View File
@@ -33,6 +33,7 @@
vlayer.drawFeature(feature);
}
function init() {
var $ = OpenLayers.Util.getElement;
map = new OpenLayers.Map( 'map',
{
'maxExtent': new OpenLayers.Bounds(0, 0, $("map").clientWidth, $("map").clientHeight),