Repository navigation
0.4.0
This release introduces major changes and is not backwards compatible
- Update to optionally use
sfomuseum/go-http-rollup. CSS and JavaScript files are bundled and minified if enabled and if there are more than two files being served. - Add
LeafletOptions.RollupAssetsflag to trigger use ofgo-http-rollup - Remove all
*WithPrefixmethods - Add
LeafletOptions.Prefixoption to indicate optional URI prefix for resources and assets - Add
LeafletOptions.Loggerflag which is populated by default logger which writes toio.Discard - Replace
LEAFLET_APPEND_RESOURCESconstant withLeafletOptions.AppendLeafletResourcesflag - Replace
LEAFLET_APPEND_ASSETSconstant withLeafletOptions.AppendLeafletAssetsflag