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:
Torben Barsballe
2017-05-29 13:15:25 -07:00
parent 0555fc48ad
commit df04064e81
3 changed files with 49 additions and 11 deletions

22
src/styles/_map.scss Normal file
View 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);
}
}
}

View File

@@ -35,3 +35,4 @@ $toolbar-offset: 0;
@import 'filtereditor';
@import 'zoomproperty';
@import 'popup';
@import 'map';