Hexagon Geospatial
MENU

Who Me Too'd this topic

Discuss topics with other Hexagon Geospatial Product pioneers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Occasional Contributor
Posts: 18
Registered: ‎11-08-2016
Geospatial Portal SDK - Order of WMS/WFS Layers Inconsistent

Hi

 

Using the Geospatial Portal SDK to add WFS and WMS layers with $GP.legend.add. Problem is that the first time the session is run, the layers are not added in the same order as specified in the script. As a result the layers can cover each other in an undesirable manner (e.g. air photo on top of WFS). Is there a way to ensure that the layers will be added in the correct order as specified in the script? I can do a page refresh and the layers come in as expected, but that is a waste of time.

 

Thanks

 

Brad

Who Me Too'd this topic