Rename reserved word variable in googlemaps.js
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/e3472670 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/e3472670 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/e3472670 Branch: refs/pull/1410/head Commit: e34726707e9daecce0bb88b7457e43217d306176 Parents: 9b4c3ff Author: Sam Corbett <sam.corb...@cloudsoftcorp.com> Authored: Thu May 22 16:09:53 2014 +0100 Committer: Sam Corbett <sam.corb...@cloudsoftcorp.com> Committed: Thu May 22 16:09:53 2014 +0100 ---------------------------------------------------------------------- usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/e3472670/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js ---------------------------------------------------------------------- diff --git a/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js b/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js index 2ce8aee..4bc7549 100644 --- a/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js +++ b/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js @@ -6,9 +6,9 @@ define( // meters squared per entity var area_per_entity = 300000000000; var local = { - addMapToCanvas: function( mapCanvas, lat, long, zoom ) { + addMapToCanvas: function( mapCanvas, lat, longitude, zoom ) { var myOptions = { - center: new google.maps.LatLng( lat, long ), + center: new google.maps.LatLng( lat, longitude ), zoom: zoom, mapTypeId: google.maps.MapTypeId.SATELLITE }; @@ -157,4 +157,4 @@ define( return local; } -); \ No newline at end of file +);