From version 32.1
edited by Pierre Dubois
on 2015/06/02 16:27
To version 33.1
edited by Pierre Dubois
on 2015/06/02 16:47
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -67,11 +67,14 @@
67 67  
68 68  layer.points = [];
69 69  
70 -layer.icons = [ { url:'/img/img1.png',x:-16,y:-16},
70 +layer.icons = [ { url:'/img/img0.png',x:-16,y:-16},
71 + { url:'img/img1.png',x:-16,y:-16},
71 71   { url:'img/img2.png',x:-16,y:-16},
72 - { url:'img/img3.png',x:-16,y:-16},
73 - { url:'/img/img4.png',x:-16,y:-16}
73 + { url:'/img/img3.png',x:-16,y:-16}
74 74   ];
75 +
76 +icon = 2;
77 +
75 75  layer.points.push({icon:icon, pos:pos,... });
76 76  
77 77  {{/code}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation