L.Control.HittaLogo.js is a control that shows the hitta.se logo on a leaflet map
To use, clone this repository and include the L.Control.HittaLogo.js or L.Control.HittaLogo.min.js from the dist/controls/L.Control.HittaLogo folder. Include this file in your project and add this setting when initiating your leaflet map
The logo can be found in the src/images folder
L.map({
// Other leaflet settings here
hittaLogo: {
position: 'topleft',
logoSrc: '/images/hitta-logo.png',
logoSrc2x: '/images/hitta-logo-2x.png'
}
});
Type: String
Decides the position of the control on the map
Type: String
A absolute or relative path to the hitta logo
Type: String
A absolute or relative path to the hitta logo (used only on retina displays)
L.Control.BigMapLink.js is a control that shows the a link to hitta.se
To use, clone this repository and include the L.Control.BigMapLink.js or L.Control.BigMapLink.min.js from the dist/controls/L.Control.BigMapLink folder. Include this file in your project and add this setting when initiating your leaflet map
This control also needs the L.Hitta.BigMapLink.css from the folder dist/controls/L.Hitta.BigMapLink
L.map({
// Other leaflet settings here
hittaBigMapLink: {
position: 'topright'
}
});
Type: String
Decides the position of the control on the map