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
Frequent Contributor
Posts: 118
Registered: ‎10-13-2015

CENTER SELECTED FEATURES

Hi,

 

We need to center the map with all selected features.
Exists a method to do this?

 

Best Regards,
Marti.

Highlighted
Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: CENTER SELECTED FEATURES

Hi,

 

there is a map center method in the API.

 

You could take the features' gometries, calculate the bbox and use map center.

 

Łukasz

Polls
Please register to vote
Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.