-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to OpenLayers for the main view #112
Conversation
0470388
to
90751d1
Compare
407c1a0
to
a9744c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this! It's quite a huge PR 🚀
- I think we're missing an
@import url('ol/ol.css');
in our CSS, maybe inpackages/base/style/base.css
. OpenLayers is not styled properly. - The brush icon in the toolbar is mal-positioned I believe. Because for now this button only makes sense for Geotiff layers (or does it not?). I would put it in the properties panel for the geotiff layer when clicking on the layer.
- When selecting the geotiff layer in
geotiff.jGIS
file, the properties panel seems confused about the form being generated and show lots of errors - the
pmtiles-vector.jGIS
example does not show the vector pmtiles layer anymore - I would remove the
console.log
calls here and there (mostly inpackages/base/src/dialogs/colorExpressionDialog.tsx
)
ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-2-linux.png
Outdated
Show resolved
Hide resolved
I'm not sure how to handle this, I tried hiding the color field, but the errors still show up. |
Yes, let's handle this in a follow-up PR with a new fancy color widget |
bot please update snapshots!! pretty please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Greg! Let's go with this and iterate.
We'll need to rework the color selection widgets in the properties panel
* Remove the lat/long from options and use the extent instead * update python test * Use extent in open layer (after merging #112) * Update examples with extent option * Fix python test * Set the extent as optionnal, use the lat/long by default * lint
Super rough draft of adding an OpenLayers viewer and fancy color things.
Some notes, and things for future PRs:
Issues: