Create a single-host Metropolitan Area-Perform simple technical analysis on the Metropolitan Area

Source: Internet
Author: User
As far as I know, in China, the panorama of Flash is city8, and 3D modeling is the first in the metropolitan area. It is meaningless to simply build 2D maps.

The basemap of the metropolitan area works fine. For details, see www.o.cn.
Technical Features:
1. the poi is displayed in the form of a hot area, which effectively integrates the poi and the basemap.
2. map gridded, each region has a fixed JS packet, and the front-end directly eval JS object. in this way, you do not need to request server data to generate JS data, which effectively reduces the burden on the server and facilitates data presentation under this JS mesh index. JS data packets are also divided into layers to display different types of content. front-end paging is also implemented using Js.
3. good map architecture with high execution efficiency. the map layer, poi layer, and Ad layer are regarded as a huge basemap with a predefined size. the area we browse is equivalent to moving on the basemap. In this way, you do not need to refresh the entire screen, but only load the unloaded area, that is, partial refresh, which is somewhat Ajax-like. the overall utilization of the cache is faster than what Baidu map is.

The javascript code in the most important metropolitan area is not obfuscated. It is easy to detect and use it with firebug. If you want to save it as a record, the Code is also readable and properly modified, the standalone version of the metropolitan area will be available. including poi, eagleeye, small map, and telescopic lever. almost all functions can be copied. Map Data Directly requests to their servers, and you can even down their maps and data. implement a full standalone version.
As follows:

: Click to download. Note: the code in the file is taken from the metropolitan area, and the copyright belongs to the metropolitan area.

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.