Documentation
¶
Overview ¶
Package geotag provides HTTP middleware for the Leaflet.GeotagPhoto plugin.
Index ¶
- Variables
- func AppendAssetHandlers(mux *http.ServeMux) error
- func AppendAssetHandlersWithPrefix(mux *http.ServeMux, prefix string) error
- func AppendResourcesHandler(next http.Handler, opts *LeafletGeotagOptions) http.Handler
- func AppendResourcesHandlerWithPrefix(next http.Handler, opts *LeafletGeotagOptions, prefix string) http.Handler
- type LeafletGeotagOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var INCLUDE_LEAFLET = true
Functions ¶
func AppendAssetHandlers ¶
func AppendResourcesHandler ¶
func AppendResourcesHandler(next http.Handler, opts *LeafletGeotagOptions) http.Handler
Types ¶
type LeafletGeotagOptions ¶
type LeafletGeotagOptions struct {
JS []string
CSS []string
// AppendJavaScriptAtEOF is a boolean flag to append JavaScript markup at the end of an HTML document
// rather than in the <head> HTML element. Default is false
AppendJavaScriptAtEOF bool
}
func DefaultLeafletGeotagOptions ¶
func DefaultLeafletGeotagOptions() *LeafletGeotagOptions
Click to show internal directories.
Click to hide internal directories.
