use factory
Merge branch 'master' of github.com:jieter/Leaflet.encoded