diff --git a/ipmd/templates/ipmd/saddlegallmidgeform.html b/ipmd/templates/ipmd/saddlegallmidgeform.html index 8252456c85d2e2dae25cb2b8267313d79fd30d7c..e2aa940f84630fbca5504fc3117f35573937476d 100644 --- a/ipmd/templates/ipmd/saddlegallmidgeform.html +++ b/ipmd/templates/ipmd/saddlegallmidgeform.html @@ -262,9 +262,11 @@ sourceInfo.innerHTML = currentForecastWeatherDatasource.description; sourceInfoPanel.style.display="block"; // Does the forecast data source cover the point in question? - console.info("In geoJson? " + await isPointCoveredByDatasource(getLatLon(), currentForecastWeatherDatasource)); + if(! await isPointCoveredByDatasource(getLatLon(), currentForecastWeatherDatasource)) + { + alert("The selected forecast datasource does not cover the selected location."); + } - } function handleWeatherStationSelected(weatherStationSelectList)