Interactive Mapping Blog

Mapping Solutions News

Archive for December, 2009

Mapping APIs – Google Maps vs Bing Maps: Part 3 Download sizes and delivery speeds

Thursday, December 31st, 2009

For the third blog post in our series comparing Google Maps and Bing Maps we are focusing on the size of download users require to use these platforms and the speed which the core code and map imagery to delivered.

Download size

Both mapping platforms use a large amount of javascript and css that is required to get the actual base mapping working before the user even gets to the code you as a developer write for your application. Below you can see a comparison of the download size in kb (when gzipped) required for each platform, slightly complicated by the fact Google Maps currently have two current APIs ver 2 and ver 3 (as ver 3 still has features missing that are available in ver 2).

bingvsgoogledownloadsizes

As you can see Bing Map’s javascript is considerably larger. This is, in our opinion, due to Bing Maps having a lot more of its features built into the main javascript file (e.g. client side clustering, drag-zoom, labelled markers, speed optimized marker addition) rather than in optional community based js files like Google’s GMap Utility Library.

We have deliberately not compared (or included in our calculations above) the image tiles used to show the actual maps in both api’s as both use the same formats for these and they are entirely dependent on the imagery at each location.

Delivery speeds

As the vast majority of data used in your mapping applications is the image tiles used to create the map the speed which these image files are delivered to your users worldwide is arguably more important than the initial javascript download size. For example one 256×256 pixel square road map tile is typically ~20kb so these very quickly become the biggest data download for your application.

Bing Maps have openly discussed their recent implementation of a Content Delivery Network (CDN) for Bing Maps which means all the Bing Maps files are delivered by a network of servers worldwide and will be delivered by the server closest to your users therefore increasing the delivery speeds. We cannot find any official word from Google about whether Google Maps is doing the same but we would be surprised if they are not.

Help us test delivery speeds

As we promised to try and use objective measurements when comparing mapping API’s we need your help to test delivery speeds all over the world. If you can add your location and the speed of delivery you get from both Google Maps and Bing Maps (see how to do this below) to the comments on this article we will update the article and add the results for everyone to see. Obviously the delivery speed will vary on your connection speed but we will still be able to compare the difference between loading a Google Maps tile and loading a Bing Maps tile on the same connection.

How to test delivery speeds

To take part in this experiment you will need to download Firefox and the Firebug plug-in. Follow the steps below and post your location and results in the comments below.

  1. Open a new browser tab and then open firebug (tools->firebug->open firebug)
  2. Click on the “Net” tab in firebug
  3. Load the following url in the tab:
    http://mt1.google.com/vt/v=ap.115&x=233&y=154&z=8
  4. You should see a graph like the one below showing you the filesize (16kb) and how long it took to load (191ms in our case).

    As suggested by readers in the comments we recommend you take the average time taken of at least three tests, for each test ensure you hold down the SHIFT key and click Firefox’s refresh button so that it does not read the tile from the browser cache (ensure firebug does not say 16kb from cache).

    firebugspeed

  5. Now to get the download speed in kb/s simply divide the filesize (16kb) by the download time then multiple by 1000, giving in our example a download speed of: (16 / 191) * 1000 = 83.7 kb/s
  6. Now repeat for this Bing url:
    http://ecn.t3.tiles.virtualearth.net/tiles/r0231113.png?g=392
  7. Finally post your results and location below.

Conclusions

We will have to wait until we have a number of results in from around the world until we can draw some useful conclusions to this blog post. Until then we can say if initial filesize is really important to your users (for example those on mobile connections) then you may wish to look at the Google Maps ver 3, however initial file size is far from the whole picture so it would be best to wait to see the results of the delivery speed tests before reading much more into this.

Mapping APIs – Google Maps vs Bing Maps: Part 2 Licensing

Thursday, December 31st, 2009

For our blog series on comparing the two mapping developer API’s we thought we should start with one of the most important aspects, licensing. This is going to be tricky to compare as we are not allowed to publish the exact commercial pricing for either platform. We will try and give as much information as we can to still be a useful and valid comparison.

Licensing is a tricky subject and the terms for each API are written in pure legalese. We will try to identify and compare the key points using our understanding of each licensing agreement.

When comparing the APIs we will highlight key differences with green highlighting.

UPDATED: We have updated some information about the differences in SLA, thanks for the feedback readers

Free Usage

Often the first question asked is “can we use them for free”, well since November the quick answer for both platforms is yes, as long as you don’t use too much.

Google Maps

  • free for use on “public facing” websites (i.e. a site that doesn’t charge for access to the maps). There is limit on how many map loads you can use but its not published and said to be at Google’s discretion
  • can be used for commercial usage (where the site makes money)
  • free on the understanding advertising may be shown on your map (with 90 days notice)
  • free on the understanding any data you display on the maps, Google has the right to re-use in marketing etc as shown in the terms; “you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive license to reproduce, adapt, modify, translate, publicly perform, publicly display and distribute Your Content through the Service and as search results through Google Services.”
  • No Service Level Agreement – if it goes offline you have no comeback
  • The terms of the agreement can change at any time without warning, meaning it might not be free tomorrow
  • Gives you access to both the ajax mapping api and mapping related web services
  • Cannot be used for real time navigation (sat-nav) due to 3rd party license agreements
  • Can we used for asset tracking but only for a service that is free to end users

Bing Maps

  • Free for use on “public facing” websites for up to 125,000 map page loads per year or 500,000 map transactions (1 transaction is 8 map 256 pixel square map tiles or one address lookup) per annum
  • Free to use if you can prove that you are a not for profit organisation or educational organisation (we would strongly suggest you check the terms and conditions to ensure that your organisation qualifies)
  • can be used for commercial usage (where the site makes money)
  • No Service Level Agreement – if it goes offline you have no comeback
  • The terms of the agreement can change at any time without warning, meaning it might not be free tomorrow
  • Gives you access to both the ajax mapping api and mapping related web services
  • Any data you “submit” to bing maps you give a license to Microsoft to re-use, however this does not cover data etc hosted by yourself or a thrid party, only data hosted by Microsoft on your behalf.
  • free on the understanding advertising or search box may be shown on your map at some point in the future
  • Does not include Bings “birds eye imagery” due to the licensing agreement between Microsoft and its birds eye imagery suppliers
  • Cannot be used at all for fleet or asset tracking without a commercial license (see below)
  • Cannot be used for real time navigation (sat-nav) due to 3rd party license agreements

Commercial Licensing

If you want to use the maps more than is offered by the free licensing, or want to use a feature no available under the free license you will need to pay for a license. Although we cannot give the pricing details for either API we can compare a few features and comment generally about how the licensing works.. Should you wish to enquire about commercial usage in the UK you may want to contact Grey Matter who organize licensing for Microsoft in the UK (or call us but we generally offer advice and are not a licensing reseller).

One important question often asked is does commercial licensing mean you get better imagery or a faster service than the free offerings? For both API’s the answer is no, whether free or commercial you are using the exact same service.

Google Maps

  • Covered by an uptime Service Level Agreement (SLA) but only of the map and imagery, not the geocoding services etc
  • Available on a sliding price scale with each level including a maximum number of map page loads per annum for a fixed cost
  • Available for use on private websites
  • Guaranteed no adverts added to the maps without your permission

Bing Maps

  • Covered by an uptime Service Level Agreement (SLA) for all services
  • Lots of ways of licensing including pricing scale for maximum number of map page loads (same as Google), PayAsYouGo useful for sites with initially unknown usage or very low volume sites.
  • From Earthware’s experience the entry price for maximum map page load bundles is considerably lower for Bing than Google
  • Guaranteed no adverts added to the maps without your permission

Conclusion

“Enough waffling” I here you cry “just tell us which ones better!”. As we said in our introduction to this series we will not be declaring a winner for each comparison we will leave that up to you.

So in conclusion both API’s now have very similar free offering, although Google’s has no published usage limits so if you want to use it free and have over 125,000 map transactions a year then you might want to consider using Google over Bing however there is no clear guidelines from Google on what their free limit actually is. On the commercial side if you are looking for a lot of flexibility to met your specific projects licensing requirements then give Bing Maps a try as they appear to be more flexible.

One last observation is to be careful when using the free licensing. Free is unlikely to be free forever without some changes. Google have a world leading advertising network but so far have not tried too hard to make advertising really work on all their mapping platforms, however its anyone’s guess how long that will last, Bing maps has never really tried any map advertising at all, but that doesn’t mean they won’t in future. Either way if you are planning a business model for your site that relies on free mapping for the medium to long term be very careful as we have no doubt free won’t be free forever (or at least not as it is currently).

You can check out all the licensing information at the following links:

Mapping APIs – Google Maps vs Bing Maps: Part 1 Introduction

Thursday, December 31st, 2009

Over the last few months there has been a large increase in the interest in mapping API’s for developers to use on their own websites. The two major worldwide players in this battle are Google with their Google Maps API and Microsoft with their Bing Maps API (formally Virtual Earth). We often read articles and tweets from people claiming that one or the other is clearly better, and we are tired of reading one-sided ill-informed debate on these comparison issues.

bingvsgoogle

So today we start a new blog series on comparing the two mapping APIs as objectively as possible and hopefully with a number of you readers contributing your own information and opinions. Let’s start by openly saying that although here at Earthware we are API agnostic and try to use the best API for each individual project. However, mainly due to a focus on property in the UK where Bird’s Eye is often a clear differentiator in deciding on the best API, we definitely have more experience and involvement in the Bing Maps API.

We will try and evaluate various parts of the mapping APIs on mostly objective measures with some clearly marked opinions from us and you the reader (via comments). We WILL NOT be declaring an overall winner because it’s neither possible nor helpful to do so (we believe the right API depends on a lot of variables specific to each client and project), we will leave that up to you.

What will we be comparing?

Just so it’s clear from the outset, we will be comparing:

  1. The ajax / javascript developer APIs for Google Maps and Bing Maps
  2. Each platforms’ overall performance
  3. Developer support with documentation and communities
  4. Licensing
  5. The state of the platforms right now (Jan 2010) not their historical features and performance

What we won’t be comparing:

  1. Google Earth or Bing Maps 3d
  2. The main Google maps or Bing maps websites (these are developer APIs)
  3. Aerial coverage in one location or during one time period (more on that later)
  4. Unreleased or road-mapped features

How to get involved

We are really keen to get you our readers involved and to collect and add your ideas, information and informed opinions to the debate. If you have any feedback you wish to make, or ideas for what you’d like to see compared please add your comments below.

Bings Maps Launch Streetside, Enhanced Bird’s Eye and many more new features

Thursday, December 3rd, 2009

After months of biting their tongues, Bing have finally announced their latest additions to Bing Maps by releasing the beta version of Silverlight Bing Maps which features two new map modes (Streetside View and Enhanced Bird’s Eye) plus an Application Gallery and also Photosynth to name just a few.

The entire site is built in Silverlight (although the Bing Maps AJAX site is still available  if for some reason you don’t want to see the amazing new features). Features include:

Streetside: ground level, fully stitched together high res photographs giving a seamless 360 degree panorama.

Enhanced Bird’s Eye: In urban areas: Bing have used high resolution photography and stereo data to create 3D models of locations and placed them into the 2D interface of a webpage but with 3D aspect ratio from Silverlight 3. In non-urban areas: Bing have used their satellite imagery and aerial photos and re-projected the Earth to give a better perspective of the world.

Application Gallery: a catalogue of all the Bing Maps applications creating a simplified search and bookmarking function.

Photosynth: now fully integrated into the maps so you can fly in from space straight into your next door neighbours lounge(!) (but only if they have created a synth of course).

Simultaneous Multiple Searches: perform multiple searches within one map to discover all you can (tweets, blogs articles, local businesses, imagery etc)about a location without leaving the map.

Local Search Integration: Bing Local Search fully integrated into Bing Maps (the opposite has been available for a while).

Simplified Navigation: The navigation buttons have been moved to the bottom of the page and you can select Automatic (based on user feedback), Road, Aerial or Bird’s Eye or Streetside (our new friend ‘Blue Man’) views.

Integrated 1-Click Directions: if you know where you’re trying to get to, search for the location and select directions to get there approaching from the north, south, east or west.

Route Query Parsing: if you are planning to drive from, for example, Seattle to San Diego just enter “Seattle to San Diego” in the search box and get point to point driving directions.

Auto-Location Detection: when you load Bing Maps in Silverlight the site will automatically detect where you are located and centre the map to show your current position.

Weather: weather information has been embedded into the maps allowing you to view the latest weather conditions at your current location (using the auto-location detection) or for the location you are searching for.

Images: Bing Image Search has been integrated into Bing Maps giving you instant access to images of the location you are searching for.

Defined Regions Query Parsing: search for a neighbourhood within a city, for example, “San Diego Gaslamp,” and the map will centre on that neighbourhood and highlight the area on the map.

For a full list and description of the new features read Chris Pendleton’s blog or if you would rather watch a demo click here.

The Earthware team has been eagerly awaiting this latest offering from Bing Maps. The enhanced functionality is set to make displaying and searching for location based information much more simple. We know the Bing Maps team have been working very hard to develop this and we congratulate them on what they have achieved.

If you are interested in creating a map using Silverlight (or any other mapping API) to display your information then please drop us a line at info@earthware.co.uk.