"Baidu Map API" multiple map API File size comparison

Source: Internet
Author: User

Original: "Baidu Map API" multiple map API File size comparison

Updated Baidu Map API file size in 2011.6.9. Update the picture at the same time.

Task Description:

Tomorrow is the Lantern Festival ~ this is a round and round of the festival, so, again want to put the API together "open assembly." Ha ha. This time the main statistic is the size of the API JS.

How to achieve:

This article investigates the current main JS map API initial load JS file size. That is, in the API is fully available (here is the use of programming can be programmed, but do not guarantee that the map is complete) when the size of those JS files necessary. They block the browser from rendering other elements of the page, because the API is usually displayed on a third-party page, so the API should ensure that the other elements of the page do not block rendering while also ensuring that the map display is completed as soon as possible and the user code is executed early. In summary, the initial file size is an important metric for measuring the API.

Research data:

API Provider File Size Number of files .
Google V3 13K 2 .
Google V2 66.4K 2 .
51ditu (Core only) 52.8K 5 .
51ditu (including search) 55K 6 .
51ditu (including driving) 55.3K 6 .
51ditu (including search drive) 57.5KB 7 .
Mapbar 70.8K 1 .
Mapbar (includes service) 113.7K 1 .
Mapabc 178K 8 .
Baidu 32.1K 1 .
Baidu (including services) 50k 1

Figure 1: API file size for each home

Figure 2: number of files loaded by each API

"Baidu Map API" multiple map API File size comparison

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.