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:
Serge Noiraud 2019-08-11 21:57:01 +02:00 committed by GitHub
parent bb8ce0cce6
commit cdd3177b19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -791,7 +791,7 @@ a.familymap {
/* Overwritten /* Overwritten
----------------------------------------------------- */ ----------------------------------------------------- */
body#FamilyMap { body#FamilyMap {
background-color: #E0E6E0 ! important; background-color: #454 ! important;
} }
/* Calendar Styles /* Calendar Styles

View File

@ -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
})) }))