0.2.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
ProtomapsOptions.RollupAssets
flag to trigger use ofgo-http-rollup
- Remove all
*WithPrefix
methods - Add
ProtomapsOptions.Prefix
option to indicate optional URI prefix for resources and assets - Add
ProtomapsOptions.Logger
flag which is populated by default logger which writes toio.Discard
- Replace
LEAFLET_APPEND_RESOURCES
constant withProtomapsOptions.AppendLeafletResources
flag - Replace
LEAFLET_APPEND_ASSETS
constant withProtomapsOptions.AppendLeafletAssets
flag - Update to use
aaronland/go-http-leaflet
v0.4.0