Narrative web: markers incorrectly placed. (#839)
* Narrative web: markers incorrectly placed. In the map pages, the markers are not placed where it should be. reproducible when zoom in/zoom out. Fixes #11208 * Narrative web: background not correctly set. If you use the Web_Basic-Cypress.css, the foreground and background use the same color, so you see nothing. you must hover the fields to see the text
This commit is contained in:
parent
bb8ce0cce6
commit
cdd3177b19
@ -791,7 +791,7 @@ a.familymap {
|
|||||||
/* Overwritten
|
/* Overwritten
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
body#FamilyMap {
|
body#FamilyMap {
|
||||||
background-color: #E0E6E0 ! important;
|
background-color: #454 ! important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Calendar Styles
|
/* Calendar Styles
|
||||||
|
@ -177,6 +177,9 @@ OSM_MARKERS = """
|
|||||||
var tracelife = %s;
|
var tracelife = %s;
|
||||||
var iconStyle = new ol.style.Style({
|
var iconStyle = new ol.style.Style({
|
||||||
image: new ol.style.Icon(({
|
image: new ol.style.Icon(({
|
||||||
|
anchor: [0.2, 48],
|
||||||
|
anchorXUnits: 'fraction',
|
||||||
|
anchorYUnits: 'pixels',
|
||||||
opacity: 1.0,
|
opacity: 1.0,
|
||||||
src: marker_png
|
src: marker_png
|
||||||
}))
|
}))
|
||||||
|
Loading…
Reference in New Issue
Block a user