Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 209
Registered: ‎07-27-2016
Accepted Solution

Geospatial Portal SDK:Visible Map Area

[ Edited ]

Hi All,

 

Is there a way to get the visible map extends in portal sdk?

I would like to use the extends as a geometry filter.

 

Thanks in advance.

 

Kind Regards

Jacques

Technical Evangelist
Posts: 1,118
Registered: ‎09-11-2015

Re: Geospatial Portal SDK:Visible Map Area

Hi Jacques,

 

Surely there is, check $GP.map.info() function.

 

For instance:

var bbox = $GP.map.info().bbox;
console.log(bbox);

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Regular Contributor
Posts: 209
Registered: ‎07-27-2016

compleRe: Geospatial Portal SDK:Visible Map Area

Ha ha ha,

Thanks Jan,completly forgot that I was busy with that!

 

FYI:Works perfect!

 

Thanks

 

Kind Regards

Jacques

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.