Revision: 51
Author: cphillip
Date: 2006-05-20 16:57:18 -0700 (Sat, 20 May 2006)
ViewCVS: http://svn.sourceforge.net/wnmap/?rev=51&view=rev
Log Message:
-----------
Re-enable keybindings.
* web/js/nodemap.js
(createMap): Re-enable keybindings.
Modified Paths:
--------------
branches/gmap2-port/web/js/nodemap.js
Modified: branches/gmap2-port/web/js/nodemap.js
===================================================================
--- branches/gmap2-port/web/js/nodemap.js 2006-05-20 23:50:57 UTC (rev 50)
+++ branches/gmap2-port/web/js/nodemap.js 2006-05-20 23:57:18 UTC (rev 51)
@@ -23,7 +23,7 @@
map.setCenter(new GLatLng(WNMAP_MAP_START_LAT, WNMAP_MAP_START_LON), parseInt(WNMAP_MAP_START_ZOOM));
map.setMapType (G_NORMAL_MAP);
map.addControl(new GScaleControl());
- // GKeyboardHandler(map); // with this on, "this.lg is not a function"
+ new GKeyboardHandler(map, window);
// // Set default map type to WNMAP_MAP_START_TYPE
// var mapTypes = map.getMapTypes();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|