z index - Non-react-leaflet overlay on map -


just getting started on react-leaflet , leaflet. after clicking on marker want have full screen overlay above map display graph. no matter how set z-index of , , overlay lies below map. couldn't find answer z-index question apply map layers etc. within component.

.overlay-wrapper { position: fixed; display: block; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(0,0,0,0.5); z-index: 200; cursor: pointer;} 

it should pretty straight forward, please point me in right direction.


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -