-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add layer browser icon for geotiff #321
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,12 +78,14 @@ const iconObject = { | |
ImageSource: { iconClass: 'fa fa-image' }, | ||
VideoSource: { iconClass: 'fa fa-video' }, | ||
ShapefileSource: { iconClass: 'fa fa-file' }, | ||
GeoTiffSource: { iconClass: 'fa fa-gear' }, | ||
|
||
RasterLayer: { icon: rasterIcon }, | ||
VectorLayer: { iconClass: 'fa fa-vector-square' }, | ||
HillshadeLayer: { icon: moundIcon }, | ||
ImageLayer: { iconClass: 'fa fa-image' }, | ||
VideoLayer: { iconClass: 'fa fa-video' }, | ||
WebGlLayer: { iconClass: 'fa fa-gear' }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it make sense to have a dedicated icon for webGL layer? As a user, I don't think this is a meaningful classification. A webGL layer in openlayers can be a raster tile layer or a vector layer. What about showing the raster or vector icons depending on which? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 for a distinct icon for better identification. Since we have a dedicated handling for a webGL layer maybe using this icon could make more sense? |
||
|
||
[CommandIDs.redo]: { icon: redoIcon }, | ||
[CommandIDs.undo]: { icon: undoIcon }, | ||
|
@@ -95,7 +97,7 @@ const iconObject = { | |
[CommandIDs.newImageEntry]: { iconClass: 'fa fa-image' }, | ||
[CommandIDs.newVideoEntry]: { iconClass: 'fa fa-video' }, | ||
[CommandIDs.newShapefileLayer]: { iconClass: 'fa fa-file' }, | ||
[CommandIDs.newGeoTiffEntry]: { iconClass: 'fa fa-image' }, | ||
[CommandIDs.newGeoTiffEntry]: { iconClass: 'fa fa-gear' }, | ||
[CommandIDs.symbology]: { iconClass: 'fa fa-brush' }, | ||
[CommandIDs.identify]: { iconClass: 'fa fa-info' } | ||
}; | ||
|
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.
Gear, as in "cog"? Excellent choice ;)