humangeo / leaflet-dvf

Leaflet Data Visualization Framework
MIT License
689 stars 153 forks source link

Utilizing custom panes #92

Closed csxphil closed 8 years ago

csxphil commented 8 years ago

Is there support for using panes in the 1.0dev branch with Chart Layers? Specifying it in options like this: { pane:'fore', layerOptions: {...},chartOptions:{...}}

sfairgrieve commented 8 years ago

This should work if you stick the pane option under layerOptions like so:

{
     layerOptions: {
          pane: 'fore'
     }
}
csxphil commented 8 years ago

Shucks, that worked! Thank you!