2022 iThome 鐵人賽
分享至
此篇要介紹建立圖層和移動圖層時的架構
L.CustomLayer = L.Layer.extend({ onAdd: function() {}, onRemove: function() {}, _update: function() {} });
https://leafletjs.com/examples/extending/extending-2-layers.html
IT邦幫忙