Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-haz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-haz
Commits
d8d475a1
Commit
d8d475a1
authored
5 years ago
by
Powers, Peter M.
Browse files
Options
Downloads
Patches
Plain Diff
changed markerColor style hint to stroke
parent
cbcf6b36
No related branches found
No related tags found
1 merge request
!446
Site file generator updates
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/gov/usgs/earthquake/nshmp/site/NshmpSiteFiles.java
+7
-2
7 additions, 2 deletions
src/gov/usgs/earthquake/nshmp/site/NshmpSiteFiles.java
with
7 additions
and
2 deletions
src/gov/usgs/earthquake/nshmp/site/NshmpSiteFiles.java
+
7
−
2
View file @
d8d475a1
...
...
@@ -54,10 +54,15 @@ import gov.usgs.earthquake.nshmp.NamedLocation;
* @author Peter Powers
*/
final
class
NshmpSiteFiles
{
// TODO consider removing this to nshm-model-dev
// keeping the outputs in nshmp-haz
/*
* Developer note: Disable GeoJSON.GSON_DEFAULT serializeNulls() to skip 'id'
* serialization when null.
*/
private
static
final
Path
EXPORT_DIR
=
Paths
.
get
(
"etc"
,
"nshm"
);
private
static
final
String
EXTENTS_COLOR
=
"#AA0078"
;
...
...
@@ -221,7 +226,7 @@ final class NshmpSiteFiles {
if
(
bounds
!=
null
)
{
Map
<
String
,
Object
>
boundsProps
=
Properties
.
builder
()
.
put
(
Style
.
FILL
,
EXTENTS_COLOR
)
.
put
(
Style
.
MARKER_COLOR
,
EXTENTS_COLOR
)
.
put
(
Style
.
STROKE
,
EXTENTS_COLOR
)
.
put
(
Style
.
TITLE
,
name
+
" Map Extents"
)
.
build
();
b
.
add
(
Feature
.
polygon
(
bounds
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment