An iOS China map administrative component (including level I and level two)

Source: Internet
Author: User

An ipad project needs to select the province and city functions, initially designed to use pop-up text floating layer, later the boss felt not beautiful enough, let UE design as follows. This component can support dragging, zooming, and the selection of provinces and municipalities across the country. Because it is the company's code, so open source needs to be audited by the company, the current code has some performance issues, to follow the performance improvement and through the audit will be uploaded to GitHub, please look forward to.

The map component is not difficult to implement, the data network is also available (http://download.csdn.net/download/awen1983/7167979), the implementation principle is to read from the JSON to each administrative region of the border latitude and longitude, Add it as path to the view, and redraw each time you drag and click.

An iOS China map administrative component (including level I and level two)

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.