Laravel 11, Vuexy Admin 10.3, by admin@koneko.mx
This commit is contained in:
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/layers-2x.png
vendored
Normal file
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/layers-2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/layers.png
vendored
Normal file
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/layers.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 696 B |
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/marker-icon-2x.png
vendored
Normal file
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/marker-icon-2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/marker-icon.png
vendored
Normal file
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/marker-icon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/marker-shadow.png
vendored
Normal file
BIN
modules/Admin/Resources/assets/vendor/libs/leaflet/images/marker-shadow.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 618 B |
19
modules/Admin/Resources/assets/vendor/libs/leaflet/leaflet.js
vendored
Normal file
19
modules/Admin/Resources/assets/vendor/libs/leaflet/leaflet.js
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
import leaFlet from 'leaflet';
|
||||
|
||||
import markerIcon2x from 'leaflet/dist/images/marker-icon-2x.png';
|
||||
import markerIcon from 'leaflet/dist/images/marker-icon.png';
|
||||
import markerShadow from 'leaflet/dist/images/marker-shadow.png';
|
||||
|
||||
delete leaFlet.Icon.Default.prototype._getIconUrl;
|
||||
|
||||
leaFlet.Icon.Default.mergeOptions({
|
||||
iconRetinaUrl: markerIcon2x,
|
||||
iconUrl: markerIcon,
|
||||
shadowUrl: markerShadow
|
||||
});
|
||||
|
||||
try {
|
||||
window.leaFlet = leaFlet;
|
||||
} catch (e) {}
|
||||
|
||||
export { leaFlet };
|
46
modules/Admin/Resources/assets/vendor/libs/leaflet/leaflet.scss
vendored
Normal file
46
modules/Admin/Resources/assets/vendor/libs/leaflet/leaflet.scss
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
@import '../../scss/_bootstrap-extended/include';
|
||||
@import '../../scss/_custom-variables/libs';
|
||||
@import 'leaflet/dist/leaflet';
|
||||
|
||||
.leaflet-map {
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.leaflet-pane {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
// RTL
|
||||
|
||||
@include app-rtl(false) {
|
||||
.leaflet-map {
|
||||
.leaflet-control-container {
|
||||
.leaflet-left {
|
||||
right: 0;
|
||||
left: unset;
|
||||
.leaflet-control-zoom,
|
||||
.leaflet-control-layers {
|
||||
margin-left: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
.leaflet-right {
|
||||
left: 0;
|
||||
right: unset;
|
||||
.leaflet-control-zoom,
|
||||
.leaflet-control-layers {
|
||||
margin-left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Map tooltip border radius
|
||||
|
||||
.leaflet-popup {
|
||||
.leaflet-popup-content-wrapper {
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user