OpenLayers Blog

All the maps that are fit to blog

Mobile Sprint: Day Five

February 25th, 2011 by Tim Schaub · 10 Comments

We’ve officially wrapped up the OpenLayers Mobile code sprint. This week has brought a very welcome infusion of energy to the project. I think it is safe to say that all involved have felt we have achieved the goals we set out for ourselves at the start of the week. In addition to significantly enhancing the capabilities of the library (and perhaps more importantly), the project got an infusion of new lifeblood. We want to express our gratitude to to Cédric Moullet and Claude Philipona for organizing the event, and thank those who sponsored the event for bringing us together:

Today we were able to able to pull in a number of enhancements that had been cooking for the past few days. In order to improve map navigation performance, OpenLayers now limits the pixel to map translations that occur during dragging. This provides a noticeable gain on both older devices and large display touch devices (iPad). Give one of the mobile specific examples a try on your touch device to see how it feels (and compare to an example from our last release to see how far we’ve come).

While OpenLayers will still not have any dependencies to external libraries, we want to showcase how well OpenLayers works with existing frameworks for mobile application development. The jQuery Mobile and Sencha Touch examples show how mobile specific frameworks can be used in building applications with the newly developed OpenLayers functionality.

A typical OpenLayers application will use a small fraction of the functionality available in the library. In order to build responsive OpenLayers applications, it is important to assemble a limited build of the library – with just the components that your application needs. In the spirit of practicing what we preach, we’ll soon be hosting examples of limited builds for the mobile examples, and the OpenLayers build tool will allow you to use the Google Closure Compiler to create your own minified builds.

As demonstrated in the examples above, we’re also excited about the inclusion of pinch-zoom functionality in OpenLayers. On multi-touch devices, you can now smoothly zoom around in your OpenLayers applications by using the touch navigation control (this will likely be enabled by default in the standard navigation control before the next release).

In addition to the features already in the OpenLayers trunk, this week produced a number of enhancements we’ll be working into the trunk over the upcoming days. Soon (likely before you start work on Monday), we’ll have support for editing vector features on mobile devices. In addition, we bring in a vector layer protocol for local storage of vector features while offline.

I think it is fair to say that for all those involved, this week’s OpenLayers code sprint was a resounding success. Our only regret is that the week has come to an end – and we hope to find another opportunity to come together again. We’re particularly grateful to our sponsors who assumed some risk in bringing us together without any guarantee about what we could deliver. In the end, we’re proud of what we have accomplished, and want to thank the sponsors for helping us bring mobile support to the broader community of OpenLayers users.

Tags: Features · Sprint

10 responses so far ↓

  • 1 reidi // Feb 26, 2011 at 12:02 am

    Wonderful! Major improvements in speed and smoothness. Pinch zoom in iOS Safari but not Android 2.2 browser, at least on my device (Optimus V). Glad you had a good week. Thanks!

  • 2 Christopher Schmidt // Feb 26, 2011 at 6:03 am

    Reidi: Can you try out http://bit.ly/eDZrIw and report back whether the number reported goes to two if you put multiple fingers on the screen? My guess is that it doesn’t on your device.

  • 3 thilo // Feb 28, 2011 at 4:53 am

    @Christopher: My Samsung Galaxy Tab (Android 2.2) reports 1 touch at most at the same time.

    Cheers for doing this great job!

  • 4 Brandon Medenwald // Feb 28, 2011 at 9:45 am

    Simply awesome! Thanks for all your work.

  • 5 OpenLayers Mobile Code Sprint « Geo-Mobile Blog // Mar 3, 2011 at 8:12 am

    [...] Jorge Gustavo Rocha and myself worked on adding support for HTML offline storage. Covering storing maps and feature data on the users local browser using the Web Storage and Web SQL standards. Here is the example sandbox which allows the user to store map tiles for the area they are viewing, which are automatically used instead of downloading the online image when possible.  More details on this and other features added can be found on the OpenLayers blog. [...]

  • 6 Open Layers & Mobile: aggiornamento « Cesare Gerbino GIS Blog // Mar 8, 2011 at 5:07 pm

    [...] http://openlayers.org/blog/2011/02/25/mobile-sprint-day-five/ [...]

  • 7 jQuery Mobile + OpenLayers + NYSDOP « Bryan R. McBride // Mar 10, 2011 at 7:02 pm

    [...] OpenLayers Mobile code sprint in Lausanne appears to have been a huge success. The new Mobile Demos speak to the great progress that was made over a single [...]

  • 8 jQuery Mobile + OpenLayers + NYSDOP « 懒得折腾 // Apr 13, 2011 at 7:10 pm

    [...] OpenLayers Mobile code sprint in Lausanne appears to have been a huge success. The new Mobile Demos speak to the great progress that was made over a single [...]

  • 9 lalit // Sep 11, 2011 at 1:48 pm

    Wonderful!!
    this works with drupal open layers module. enhance the functionality of our website http://www.fosterfort.com
    thanks

  • 10 flat to rent wimbledon // Jan 25, 2013 at 9:03 am

    Hi there, just became alert to your blog through Google, and found that it is truly informative.
    I am going to watch out for brussels. I’ll be grateful if you continue
    this in future. Many people will be benefited from
    your writing. Cheers!

Leave a Comment