How to locate layers and display them to my screen？
Hi, I have a problem when I want to display my layers.I don't know how to locate layers and display them to my screen.
The range of layers I get is in the form of latitude and longitude.：layer->getExtent();
And I don't know how to set it up viewpoint. like:vp.range();
Do I need to calculate the distance myself?