Comments (7)
from leaflet-dvf.
Thanks for response. Actually, I was trying following things:
-
CSS files in combined mode
Added leaflet.css via html template (I didn't managed how to import it via ES6 import/webpack)
Added leaflet-dvf.css via import -
CSS files in html template:
Added leaflet.css via html template
Added leaflet-dvf via html template straight after leaflet.css -
Chaneged z-index via Leaflet panes:
map.getPane("overlayPane").style.zIndex = 650;
map.getPane("overlayPane").style.position = "relative";When I removed "position:absolute" from leaflet-overlay-pane it will show Choropleth, but incorrect size and with other mismatch.
This didn't help. Hovever, I didn' see in dvf.css anything related to z-index or leaflet-overlay-pane
from leaflet-dvf.
@Zhurzhiu if you inspect element on the leaflet-overlay-pane element, does it have an assigned z-index value of 400? Same with leaflet-tile-pane, does it have an assigned z-index value of 200 from leaflet.css?
from leaflet-dvf.
I added screenshots from three panes:
- leaflet-tile-pane
- leaflet-overlay-pane
- leaflet shadow pane
Changing z-index on any of them didn't make any effect at all.
from leaflet-dvf.
Hmmm. This is definitely a weird one. Any chance you could post a jsfiddle or similar example that I can take a look at? I haven't used React with Leaflet or Leaflet-DVF before, so it's hard for me to fully grasp what the problem could be.
from leaflet-dvf.
Thanks @sfairgrieve for your advice to make and example. I created example and it worked. So I checked other things, and found one CSS conflicting with DVF.
You can close this issue, because it's not issue anymore. Leaflet-dvf is playing really good with React. Thanks for this library!
from leaflet-dvf.
@Zhurzhiu glad to hear it! I'll close this one, but let me know if you run into any other issues.
from leaflet-dvf.
Related Issues (20)
- Div not visible inside popup HOT 1
- Change color line HOT 3
- Compatibilty with leaflet1.2.0 HOT 4
- create PieChartDataLayer use Geojson data HOT 3
- On click on a slice of the pie table should show only the value of that slice, not the values for all the slices HOT 2
- Create 3D pie chart markers HOT 2
- Leaflet 1.2.0 and L.Mixin.Events HOT 4
- PieCharts don't show when using the examples HOT 7
- Flowline using arrays HOT 2
- Create RegularPolygonMarker in featureGroup
- a little mistake about the "_createText" method in the source code HOT 3
- Styling attributes for markers and charts HOT 3
- GeohashLayer leaks layers when being removed
- leaflet version? HOT 2
- flight data arrow becomes a square in ie11 HOT 1
- Compatibility with Leaflet 1.7.0 HOT 1
- how can i add offline map or tile server to it HOT 1
- Demo not working anymore (?) HOT 1
- git protocol dependency - geohash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaflet-dvf.