mirror of
https://github.com/maputnik/editor.git
synced 2025-12-30 18:10:01 +00:00
Improved OpenLayers support
Added support for gejson sources Fix toVectorLayer map callback (this was undefined) Improved ol css; show map controls
This commit is contained in:
22
src/styles/_map.scss
Normal file
22
src/styles/_map.scss
Normal file
@@ -0,0 +1,22 @@
|
||||
//OPENLAYERS
|
||||
.maputnik-layout {
|
||||
.ol-zoom {
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.ol-attribution.ol-logo-only {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.ol-control {
|
||||
button {
|
||||
background-color: rgb(28, 31, 36);
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: rgb(86, 83, 83);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -35,3 +35,4 @@ $toolbar-offset: 0;
|
||||
@import 'filtereditor';
|
||||
@import 'zoomproperty';
|
||||
@import 'popup';
|
||||
@import 'map';
|
||||
|
||||
Reference in New Issue
Block a user