The quest for the perfect map

(Cross posted from the Official Google Blog)

For the last decade we’ve obsessed over building great maps for our users—maps that are totally comprehensive (we’re shooting for literally the whole world), ever more accurate and incredibly easy to navigate.

Comprehensiveness

It’s a pretty limited search engine that only draws from a subset of sources. In the same way, it’s not much of a map that leaves you stranded the moment you step off the highway or visit a new country. Over the last few years we’ve been building a comprehensive base map of the entire globe—based on public and commercial data, imagery from every level (satellite, aerial and street level) and the collective knowledge of our millions of users.

Today, we’re taking another step forward with our Street View Trekker. You’ve seen our cars, trikes, snowmobiles and trolleys—but wheels only get you so far. There’s a whole wilderness out there that is only accessible by foot. Trekker solves that problem by enabling us to photograph beautiful places such as the Grand Canyon so anyone can explore them. All the equipment fits in this one backpack, and we’ve already taken it out on the slopes.

Luc Vincent, engineering director, taking the Street View Trekker for a trial run in Tahoe

Accuracy

The next attribute map makers obsess over is accuracy. We still have a way to go because the world is constantly changing—with new houses, cities and parks appearing all the time—it’s a never ending job. But by cross-checking the data we have, we can significantly improve the accuracy of our maps. Turns out our users are as passionate about the quality of Google Maps as we are, and they give us great feedback on where we can do better. We make thousands of edits a day based on user feedback through our Report a Problem tool and via Map Maker, which we launched in 2008. Today we’re announcing the expansion of Map Maker to South Africa and Egypt, and to 10 more countries in the next few weeks: Australia, Austria, Belgium, Denmark, Finland, Liechtenstein, Luxembourg, New Zealand, Norway and Switzerland.

Usability

The final element of the perfect map is usability. It’s hard to remember what digital maps were like before Google Maps went live in 2005, and the huge technological breakthroughs that transformed clicking on arrows and waiting, to simply dragging a map with a mouse and watching it render smoothly and quickly. Plus, we added one single search box. Today we have thousands of data sources that feed into our maps making them a rich and interactive experience on any device—from driving directions to transit and indoor maps to restaurant reviews.

People have been asking for the ability to use our maps offline on their mobile phones. So today we’re announcing that offline Google Maps for Android are coming in the next few weeks. Users will be able to take maps offline from more than 100 countries. This means that the next time you are on the subway, or don’t have a data connection, you can still use our maps.

The next dimension

An important next step in improving all of these areas—comprehensiveness, accuracy, and usability of our maps—is the ability to model the world in 3D. Since 2006, we’ve had textured 3D buildings in Google Earth, and today we are excited to announce that we will begin adding 3D models to entire metropolitan areas to Google Earth on mobile devices. This is possible thanks to a combination of our new imagery rendering techniques and computer vision that let us automatically create 3D cityscapes, complete with buildings, terrain and even landscaping, from 45-degree aerial imagery. By the end of the year we aim to have 3D coverage for metropolitan areas with a combined population of 300 million people.

I have been working on mapping technology most of my life. We’ve made more progress, more quickly as an industry than I ever imagined possible. And we expect innovation to speed-up even more over the next few years. While we may never create the perfect map … we’re going to get much, much closer than we are today.

Finding the right maps for your Garmin Nuvi

Learn more about Garmin Garage, how to get our voices on your Nuvi with the Voice Studio and how to load European maps to your device. To see your question featured on Ask Garmin, send response to garminblogs@garmin.com.

http://www.youtube.com/v/wgOineH_Cao?version=3&f=videos&app=youtube_gdata

Custom content for Google Earth on Android

One of the most powerful features of Google Earth is the ability to view custom maps or overlays, which are also commonly known as KML files. Ever since we introduced Google Earth on mobile devices, users have requested support for custom content. Today, we are proud to announce Google Earth 6.2 for Android and iOS, which includes support for KMLs. Now anywhere you find a “Google Earth file” (KML file) while you’re browsing the mobile web, just click on the link and the Google Earth app will automatically launch and load the custom map.

With this release, the Google Earth Gallery is also now available in the mobile app, enabling you to easily explore some of the best maps from around the web directly within Google Earth. For example, not sure if that was an earthquake? Go to the Earth Gallery and click on the USGS’ real-time earthquake map to see recent earthquakes from around the world.

Maybe you’re interested in finding hiking trails on your next vacation. Check out Everytrail to find a hike wherever you might be.

If you’re a basketball fan, be sure to check out the new College Basketball Tournament map, which takes you on a virtual trip to the school and stadiums of this year’s competing teams.

For Google Earth for Android users, we’ve also added a new “Share” feature, which allows you to share a screenshot of your current view with people in your Google+ circles, via Gmail, or on other applications. Now you can share your favorite places with friends and family from your desktop computer, mobile phone or tablet. And, if you follow the Google Earth +Page, you can see what others are sharing and discover new locations around the world.

The 6.2 release of Google Earth for Android and iOS also includes improvements in navigation, which make it even easier to fly to your favorite spots on the globe.

To check out the latest version of Google Earth for Android phones and tablets, download it now from Google Play.

Android Apps Over the 50MB Barrier

 

Android applications have historically been limited to a maximum size of 50MB. This works for most apps, and smaller is usually better — every megabyte you add makes it harder for your users to download and get started. However, some types of apps, like high-quality 3D interactive games, require more local resources.

So today, we’re expanding the Android app size limit to 4GB.

The size of your APK file will still be limited to 50MB to ensure secure on-device storage, but you can now attach expansion files to your APK.

  • Each app can have two expansion files, each one up to 2GB, in whatever format you choose.
  • Android Market will host the files to save you the hassle and cost of file serving.
  • Users will see the total size of your app and all of the downloads before they install/purchase.

On most newer devices, when users download your app from Android Market, the expansion files will be downloaded automatically, and the refund period won’t start until the expansion files are downloaded. On older devices, your app will download the expansion files the first time it runs, via a downloader library which we’ve provided below.

While you can use the two expansion files any way you wish, we recommend that one serve as the initial download and be rarely if ever updated; the second can be smaller and serve as a “patch carrier,” getting versioned with each major release.

Helpful Resources

In order to make expansion file downloading as easy as possible for developers, we’re providing sample code and libraries in the Android SDK Manager.

  • In the Google Market Licensing package, an updated License Verification Library (LVL). This minor update mostly adds the ability to obtain expansion file details from the licensing server.
  • From the Google Market APK Expansion package, the downloader service example. The library makes it relatively simple to implement a downloader service in your application that follows many of our best practices, including resuming downloads and displaying a progress notification.

Because many developers may not be used to working with one or two large files for all of their secondary content, the example code also includes support for using a Zip file as the secondary file. The Zip example implements a reasonable patching strategy that allows for the main expansion file to “patch” the APK and the patch file to “patch” both the APK and the main expansion file by searching for asset files in all three places, in the order patch->main->APK.

Expansion File Basics

Expansion files have a specific naming convention and are located in a specific place for each app. As expansion files are uploaded to the publisher site, they are assigned a version code based upon the version of the APK that they are associated with. The naming convention and location are as follows:

Location: /Android/obb//
Filename: [main|patch]...obb
Example: /sdcard/Android/obb/com.example.myapp/main.5.com.example.myapp.obb

Expansion files are stored in shared storage. Unlike APK files, they can be read by any application.

Downloading and Using the Expansion Files

When the primary activity for the app is created, it should check to make sure the expansion files are available. The downloader library provides helper functions (for example the “Helpers” class in the code below) to make this easy.

boolean expansionFilesDelivered() {
    // get filename where main == true and version == 3
    String fileName = Helpers.getExpansionAPKFileName(this, true, 3);
    // does the file exist with FILE_SIZE?
    if (!Helpers.doesFileExist(this, fileName, FILE_SIZE, false)) {
        return false;
    }
    return true;
}

If the file does not exist, fire up the downloader service with DownloaderClientMarshaller.startDownloadServiceIfRequired(). The downloader will perform an LVL check against the server. This check will deliver the names of the files, file sizes, and the file URLs.

Once that check has been completed, it will begin downloading the files. You don’t have to use our download solution, but you might want to because we:

  • Include a notification UI that provides progress and estimated completion time in layouts customized for ICS and pre-ICS devices
  • Resume large files safely
  • Handle redirection with appropriate limits
  • Run in the background as a service
  • Pause and resume downloads when WiFi is not available

Enjoy! We can’t wait to see what kinds of things developers do with this! For more information about how to use expansion files with your app, read the APK Expansion Files developer guide.

Indoor maps of Las Vegas Casinos and more

At the 2012 Consumer Electronic Show (CES) in Las Vegas, NV, attendees will now be able to use Google Maps on their Android devices to help them find their way in the sea of exhibitors and attractions throughout the Las Vegas Convention Center, select resorts and casinos along the Las Vegas strip, as well as the Las Vegas McCarran International Airport.

Las Vegas Convention Center with CES Exhibitors

Since November of last year, you’ve been able to use Google Maps in select places to get detailed floor plans and indoor location information within a few meters, as well as an accurate floor level location. Today, we’ve expanded the list of places with indoor maps by partnering with MGM Resorts International, Caesars Entertainment and others, to provide indoor maps for Caesars Palace, Bellagio, The Venetian, The Palazzo, MGM Grand and many more.

We hope that these indoor maps will come in handy when finding your way through the slots and to the shops. And for those of you who catch gadget-fever with CES in town, we’ve also partnered with a number of Best Buy stores in the Las Vegas area. For more detailed list of indoor maps partners, go to our help center or to see a demo, start here

Left: MGM Grand Hotel and Casino, Right: Caesars Palace
Starting today, we’re also releasing some of the first floor plans in Google Maps that were uploaded through the Google Maps Floor Plans tool. From malls to convention centers, museums and educational institutions from California to New York you will now be able to see these floor plans in Google Maps for Android

So the next time you are looking for the perfect table to win the jackpot or can’t find the nearest restroom, simply open Google Maps on your Android device and let indoor maps show you the way. If you’re attending CES, please come by the the Google Maps booth to learn more and preview our upcoming Google Maps game!