Changeset 12698 for extensions/rv_gmaps/trunk/map_data.php
- Timestamp:
- Dec 6, 2011, 5:42:24 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_gmaps/trunk/map_data.php
r7388 r12698 63 63 function jsgm_position( $position ) 64 64 { 65 return 'new GLatLng(' . $position['lat'] . ',' . $position['lon'] . ')';65 return 'new google.maps.LatLng(' . $position['lat'] . ',' . $position['lon'] . ')'; 66 66 } 67 67 68 68 function jsgm_bounds( $bounds ) 69 69 { 70 return 'new GLatLngBounds(' . jsgm_position(bounds_sw($bounds)) . ',' . jsgm_position(bounds_ne($bounds)) . ')';70 return 'new google.maps.LatLngBounds(' . jsgm_position(bounds_sw($bounds)) . ',' . jsgm_position(bounds_ne($bounds)) . ')'; 71 71 } 72 72
Note: See TracChangeset
for help on using the changeset viewer.