-
Notifications
You must be signed in to change notification settings - Fork 618
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
Use Mapbox GL Inspect for X-Ray View #103
Conversation
Great, thanks for the PR! I believe, some people want to embed the fullscreen viewer with selected style zoomed to a defined place into websites/blog by iframe - just to show a place or map of given region to their web visitors. IMHO It should be applied only for the data preview, if the style is not there. But this is my personal opinion only. We can discuss with @petrsloup and @daliborjanak, if this makes sense in the default style viewer in TileServerGL. BTW did you switch all the colors and name because of the request at maplibre/maputnik#8 (comment)? |
Ah alright. If it is meant to embedd it via iFrame it should be removed from the style page!
Ah alright. If it is meant to embedd it via iFrame it should be removed from the style page!
If think it's fair to not call it X-Ray since Tom asked so politely. Sometimes it's not all about licensing ;) |
+1 on everything - including the switch of colors and the name from X-Ray to Inspect - shown only for raw data. The source of the original color palette (only for reference): |
@lukasmartinelli Look good, thanks! Can you please just remove the last commit from this PR so I can merge this as is? |
Rebased and removed the commit. |
Thanks |
I built all the X-Ray functionality into https://github.com/lukasmartinelli/mapbox-gl-inspect.
I am using this from Maputnik as well so I can share all the x-ray/debug functionality.
For tileserver-gl this has the following advantages:
X-Ray:
Viewer: