M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 89
Registered: ‎11-25-2015
Accepted Solution

Bring to Front Layer

Hi ,

 

 

Bring to front layer does seem to work for me.

 

action="SCRIPT[zoomTo('LAR_NEW',{FORM.ID1});SC.Map.bringToFront()]"

 

My Zoom works fine.

 

Is this correct ?

 

Thanks.

 

Regards

 

Naeem

 

Staff
Posts: 1,128
Registered: ‎10-18-2015

Re: Bring to Front Layer

hi Naeem,

 

bringToFront should put the workflow window behind the Desktop App itself. Is this what you are looking for?

Please consider the API is asynchronous, so make sure you either do it within your zoomTo function implementation or add a callaback to your zoomTo function.

 

Stefano

 

 

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Frequent Contributor
Posts: 89
Registered: ‎11-25-2015

Re: Bring to Front Layer

Hi Stefano,

 

I need to bring my concerned layer on TOP of others layer. It will select the layer , however, still it hides behind other layers.

 

Regards

 

Naeem

Staff
Posts: 1,128
Registered: ‎10-18-2015

Re: Bring to Front Layer

there is no such a function in the API. What you may do is to make the other layers invisible using setLayersInvisible. 

The user can always do it right clicking on the entry in the legend.

 

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Frequent Contributor
Posts: 89
Registered: ‎11-25-2015

Re: Bring to Front Layer

Hi Stefano,

 

Thanks! Got it.

 

Regards

 

Naeem