Commit 2574cf6c1b851315c721b52ba34c46b0c22e6cbc
- Diff rendering mode:
- inline
- side by side
main.js
(1 / 2)
  | |||
45 | 45 | m.on('click',function(e){ | |
46 | 46 | e.target.bindPopup("<img src='"+feature.properties.link1_href+"' style='height:200px;width:200px;'>").openPopup(); | |
47 | 47 | }); | |
48 | if(i == wayPointList.length-1){ | ||
48 | if(i == wayPointList.length){ | ||
49 | 49 | this.appendLabels(photos); | |
50 | 50 | } | |
51 | 51 | return m; | |
… | … | ||
56 | 56 | } | |
57 | 57 | } | |
58 | 58 | function appendLabels(x){ | |
59 | console.log("test"); | ||
60 | 59 | x.eachLayer(function(layer){ | |
61 | 60 | layer.showLabel(); | |
62 | 61 | }); |