Skip to content

Commit

Permalink
Adding some explanatory comments
Browse files Browse the repository at this point in the history
  • Loading branch information
herrtunante committed Nov 7, 2024
1 parent 2975f2e commit fc6df0f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public void planetTileUrl(HttpServletRequest request, HttpServletResponse respon

PlanetImagery planetImagery = new PlanetImagery(localPropertiesService.getPlanetMapsKey());
String tileUrl = planetImagery.getLayerUrl(params);

// If the API Key is not valid there will be a 401 exception
// If the API Key has no permissions to use the tiles there will be a 401 exception
setJsonResponse(response, tileUrl == null ? "" : tileUrl);
}

Expand Down

0 comments on commit fc6df0f

Please sign in to comment.