Active
Project:
Openlayers
Version:
7.x-2.0-beta3
Component:
OL Styles
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
27 Mar 2013 at 10:56 UTC
Updated:
25 May 2015 at 10:07 UTC
Hello,
I would like to display a map as background.
My idea is to use z-index for displaying content above the map and set position:absolute on
The problem is that each time I set position:absolute the map disappears and let a blank place instead.
Can you help me ?
Thanks.
Comments
Comment #1
augustus.kling commentedEnsure width and height of the map is defined, too. If changing the position after map initialization, call
updateSizeon the map object in JavaScript afterwards.