IOS Baidu Map Settings Display Regional Center points and ranges

Source: Internet
Author: User
Tags ranges

In the development of Baidu map when there will be such a demand, need to set up a map display in a place, although the problem is relatively small, or to record.

And with a moving effect.

Solution:

Bmkcoordinateregion region;//Represents the structure of the range        region.center = coordinate;//Center point        region.span.latitudeDelta = 0.1;// The Longitude range (set to 0.1 indicates the latitude range for the display range 0.2)        Region.span.longitudeDelta = 0.1;//latitude range        [_mapview setregion:region animated: YES];

Problem solving

IOS Baidu Map Settings Display Regional Center points and ranges

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.