From d8d475a1869ddc286ac481d87b99480b07d36b48 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Wed, 23 Oct 2019 16:26:00 -0600
Subject: [PATCH] changed markerColor style hint to stroke

---
 src/gov/usgs/earthquake/nshmp/site/NshmpSiteFiles.java | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/gov/usgs/earthquake/nshmp/site/NshmpSiteFiles.java b/src/gov/usgs/earthquake/nshmp/site/NshmpSiteFiles.java
index a8e52c018..9e6ce0c55 100644
--- a/src/gov/usgs/earthquake/nshmp/site/NshmpSiteFiles.java
+++ b/src/gov/usgs/earthquake/nshmp/site/NshmpSiteFiles.java
@@ -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)
-- 
GitLab