Skip to content

Commit

Permalink
testing 5
Browse files Browse the repository at this point in the history
  • Loading branch information
apex2060 committed Mar 13, 2013
1 parent 2fa3ecb commit 76a52cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/geolocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ maps.newMarker = function(canvasId, lat, lng, onMarkerUpdate){
else
var dragable=true;

console.log(lat+' -> '+lng);
var geo = new google.maps.LatLng(lat,lng);
maps.openMaps[canvasId].setCenter(geo);
if(maps.marker[canvasId]==undefined)
Expand Down
2 changes: 1 addition & 1 deletion partials/org/institute/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h3>Map Of Institutes</h3>
// t.name=a.name;
// return t;
// });
console.log(list);
it.list = list;
for(var i=0; i<list.length; i++){
maps.newMarker('map_canvas', list[i].attributes.geo.lat, list[i].attributes.geo.lat, function(event, canvasId, markerId){
alert(list[i].attributes.name);
Expand Down

0 comments on commit 76a52cd

Please sign in to comment.