public boolean isValid() { return !Strings.isNullOrEmpty(geolocationConfiguration.getTileServerUrl()) && !Strings.isNullOrEmpty(geolocationConfiguration.getOptions().get("attribution")); }
public String getTileLayerAttribution() { return geolocationConfiguration.getOptions().get("attribution"); } }
public String getTileServerUrl() { return geolocationConfiguration.getTileServerUrl(); }
public String getTileLayerAttribution() { return geolocationConfiguration.getOptions().get("attribution"); } }
public String getTileServerUrl() { return geolocationConfiguration.getTileServerUrl(); }
public boolean isValid() { return !Strings.isNullOrEmpty(geolocationConfiguration.getTileServerUrl()) && !Strings.isNullOrEmpty(geolocationConfiguration.getOptions().get("attribution")); }
public List<Option> getOptions() { return geolocationConfiguration.getOptions().entrySet().stream() .map(e -> new Option(e.getKey(), e.getValue())) .collect(Collectors.toList()); }
.withTileLayer(geolocationConfiguration.getTileServerUrl()) .withMarker(markers) .withInitialZoom(10) .withLayerOptions(geolocationConfiguration.getOptions());
public List<Option> getOptions() { return geolocationConfiguration.getOptions().entrySet().stream() .map(e -> new Option(e.getKey(), e.getValue())) .collect(Collectors.toList()); }
.withTileLayer(geolocationConfiguration.getTileServerUrl()) .withMarker(markers) .withInitialZoom(10) .withLayerOptions(geolocationConfiguration.getOptions());