Changeset 2989
- Timestamp:
- 07/07/2008 03:36:07 PM (5 months ago)
- Location:
- trunk/modules/gmaps
- Files:
-
- 2 modified
-
libraries/Gmap.php (modified) (1 diff)
-
views/gmaps/jquery.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/gmaps/libraries/Gmap.php
r2207 r2989 176 176 177 177 // Map 178 $map = ' map = new GMap2(document.getElementById("'.$this->id.'"));';178 $map = 'var map = new GMap2(document.getElementById("'.$this->id.'"));'; 179 179 180 180 // Map controls -
trunk/modules/gmaps/views/gmaps/jquery.php
r2207 r2989 12 12 if (GBrowserIsCompatible()) 13 13 { 14 // Initialize the map .15 map = new GMap(document.getElementById('map'));14 // Initialize the map 15 var map = new GMap(document.getElementById('map')); 16 16 map.addControl(new GLargeMapControl()); 17 17 map.centerAndZoom(new GPoint(0,35), 16);
