code: private static URL createOsmUrl(Envelope geometryEnvelope) {
          try {
              return new URL(OSM_API_URL + "map?bbox=" + geometryEnvelope.getMinX() + ","
                      + geometryEnvelope.getMinY()
                      + "," + geometryEnvelope.getMaxX() + "," + geometryEnvelope.getMaxY());
          } catch (MalformedURLException e) {
              throw new IllegalStateException(e);
          }
      }
docs: Build the OSM URL based on a given envelope
  
  @param geometryEnvelope
  @return