We are using the Map to display information through an information layer containing shapes for cities.
When we choose a set of cities, and use the BestView(), the map displays what is intended, however there is a large margin around the cities of interest. I would like to make the best use of the screen estate we have and thus avoid this margin.
I have a hand the bounding boxes for the cities and can easily combine them to compute a bounding box for the area of interest.
How can I set the Map/information layer from code so that the view is delimited by those geographical cordinate and that the interesting area fills the view?
Regards,
D.
When we choose a set of cities, and use the BestView(), the map displays what is intended, however there is a large margin around the cities of interest. I would like to make the best use of the screen estate we have and thus avoid this margin.
I have a hand the bounding boxes for the cities and can easily combine them to compute a bounding box for the area of interest.
How can I set the Map/information layer from code so that the view is delimited by those geographical cordinate and that the interesting area fills the view?
Regards,
D.