Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSWeb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSWeb
Merge requests
!12
feat: Add test page (spatial) with mapserver layer in openlayers map
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: Add test page (spatial) with mapserver layer in openlayers map
feature/gridv-6-mapserver-layer
into
develop
Overview
0
Commits
51
Pipelines
0
Changes
1
Merged
Lene Wasskog
requested to merge
feature/gridv-6-mapserver-layer
into
develop
2 years ago
Overview
0
Commits
51
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
76a1f174
Prev
Next
Show latest version
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
76a1f174
Add method for fetching all weather data sources from IPMD
· 76a1f174
Tor-Einar Skog
authored
1 year ago
ipmd/static/ipmd/js/ipmdlib.js
+
6
−
0
Options
@@ -46,6 +46,12 @@ async function getWeatherDatasource(weatherDatasourceId)
return
await
response
.
json
();
}
async
function
getWeatherDatasources
()
{
const
response
=
await
fetch
(
ipmdWeatherApiURL
+
"
rest/weatherdatasource/
"
);
return
await
response
.
json
();
}
function
getWeatherStationList
(
weatherDatasource
){
geoJson
=
JSON
.
parse
(
weatherDatasource
.
spatial
.
geoJSON
);
let
stationList
=
[];
Loading