Commit 2574cf6c1b851315c721b52ba34c46b0c22e6cbc

  • avatar
  • arvind
  • Tue Jan 29 21:19:43 IST 2013
Fixing a logical error in pointToLayer
main.js
(1 / 2)
  
4545 m.on('click',function(e){
4646 e.target.bindPopup("<img src='"+feature.properties.link1_href+"' style='height:200px;width:200px;'>").openPopup();
4747 });
48 if(i == wayPointList.length-1){
48 if(i == wayPointList.length){
4949 this.appendLabels(photos);
5050 }
5151 return m;
5656 }
5757}
5858function appendLabels(x){
59 console.log("test");
6059 x.eachLayer(function(layer){
6160 layer.showLabel();
6261 });