OpenLayers Blog

All the maps that are fit to blog

More work on mobile and 2.11

April 2nd, 2011 by Eric Lemoine · 31 Comments

Three of us, here at Camptocamp, sprinted three days on OpenLayers. Our goal was two-fold: close tickets for the upcoming 2.11 release, and improve our mobile story, following up on the work done during the mobile sprint (see the previous posts on this blog).

Day #1

We started out by reviewing patches, and closing tickets, for 2.11. We closed a dozen tickets, getting us much closer to the 2.11 release. Some of the new features now in trunk include:

  • New icons for the navigation toolbar, see the navigation toolbar example (patch from Xavier Mamano).
  • Support for OpenLS (Location Service Utility), see the OpenLS example (patch from Bart van den Eijnden).
  • Remove dependencies between scripts to be able to produce smaller single file builds (patch from Frédéric Junod.

Day #2

On Day #2 we spent some more time on bug fixing (and ticket closing) for 2.11, and then switched to improving our mobile support.

  • We spent a great deal of time on many (not so) small Android WebKit-specific issues. The browser often reacts to user actions, causing nasty effects like flashes if no proper action is taken in the JavaScript code.
  • We started reviewing Tim Schaub’s Canvas Hit Detection patch. This patch will give us feature selection on Android, it isn’t committed into trunk at time of this writing but Tim will certainly do it in the coming days.
  • We worked on feature drawing, refactoring code and tests, making feature drawing more solid in every supported mobile browser. See the draw feature example.

Day #3

Day #3 was mainly about mobile again.

  • And mainly about Android again… we committed patches preventing Android’s default behavior, and researched why Android “flashed” the map when two quick taps, apart from one another, occur. There’s stil some work left for a perfect Android story, but code and knowledge have improved a lot.
  • We finished reviewing Tim’s Canvas Hit Detection patch, and reviewed and committed other patches for 2.11.
  • We completed “select feature” support, and added support for “drag feature” and “modify feature”. We modified the mobile drawing example to be able to demo these new features. Go check out the mobile drawing example. (in Android or iOS)!

So, overall, lots of progress on the mobile front, and just a few tickets away from OpenLayers 2.11!

Tags: Uncategorized

31 responses so far ↓

  • 1 NS // Apr 3, 2011 at 12:29 am

    I hope you have saving strategy for mobile drawing. I think using sqlite3 / spatialite would be the best thing to do.

    Implementing a direct connection using a file protocol (SQL query without server) to sqlite / spatialite database would make this endeavor useful for offline mobile GIS mapping.


  • 2 Tim Schaub // Apr 3, 2011 at 12:46 am

    Thanks for the additional work toward 2.11 – it’s exciting to see it coming together.

    Note that I did get the canvas hit detection patch in a couple days ago.

  • 3 M // Apr 3, 2011 at 1:43 pm

    I’d be interested to know if the mobile development/examples will also account for non-touch mobile devices. For example, many blackberries without touch screens lack the ability to click-and-drag. In the absence of this, default keys and/or extra buttons to compensate for this would be needed.

  • 4 Open Layers & Mobile: quasi pronta la release 2.11? « Cesare Gerbino GIS Blog // Apr 4, 2011 at 5:36 pm

    [...] blog ufficiale di Open Layers è apparso un post nel quale si annunciano ulteriori miglioramenti nella versione in [...]

  • 5 T // Apr 6, 2011 at 2:40 am

    As a person who likes to look at your demos page lots and see what’s new, it’d be great if you could add a date tag to them (and possibly allow the user to arrange them by date?). Also, some of the demos use a more advanced revision than currently you give out via the standard js link or download. Again, a tag with the revision number that the demo uses would be handy!
    Keep up the good work!

  • 6 GIS-Lab Blog» Архив блога » Новости вокруг 60 // Apr 8, 2011 at 6:26 am

    [...] сведений о развитии OpenLayers. Комментарии [...]

  • 7 Frank // Apr 12, 2011 at 7:19 pm

    Thanks for advancing the cause of OpenLayers mobile. My mobile map customers have commented favorably on the performance improvements from the code sprint. Looking forward to the 2.11.

  • 8 Otto Krauth // Nov 28, 2011 at 5:18 pm

    I noticed that markers popups examples in OL examples for 2.11 don’t work on iOS moblie browsers.

  • 9 Ward Mundell // Jan 10, 2012 at 10:37 pm

    I just want to mention I am just very new to blogging and site-building and honestly liked your blog. Likely I’m going to bookmark your website . You surely have excellent articles. Thanks a bunch for revealing your web-site.

  • 10 Bad planen // Feb 15, 2012 at 5:54 am

    That is the fitting weblog for anybody who desires to seek out about this topic. You notice a lot its nearly exhausting to argue with you (not that I really would want…HaHa). You undoubtedly put a new spin on a topic thats been written about for years. Great stuff, just nice! King Regards Lars

  • 11 Immobilien // Feb 15, 2012 at 4:11 pm

    There are actually plenty of particulars like that to take into consideration. That is a nice point to carry up. I supply the thoughts above as basic inspiration however clearly there are questions just like the one you bring up where the most important factor shall be working in trustworthy good faith. I don?t know if finest practices have emerged round things like that, however I am positive that your job is clearly identified as a fair game. Both boys and girls really feel the impression of only a moment’s pleasure, for the remainder of their lives.

  • 12 Ace Live Casino Bonus Code // Feb 17, 2012 at 1:36 am

    I like this web site very much so much great information. “Our national flower is the concrete cloverleaf.” by Lewis Mumford.

  • 13 Pamila // Feb 27, 2012 at 11:30 pm

    I simply want to say I am just beginner to blogs and truly enjoyed your web page. Most likely I’m going to bookmark your blog post . You amazingly have wonderful writings. Appreciate it for revealing your blog site.

  • 14 // Feb 29, 2012 at 12:34 am

    Some truly interesting info, well written and generally user genial.

  • 15 Erfolg // Mar 6, 2012 at 6:32 pm

    Aw, this was a really nice post. In idea I would like to put in writing like this moreover – taking time and precise effort to make an excellent article… however what can I say… I procrastinate alot and on no account seem to get something done. King Regards Helmut

  • 16 Vekoslava // Mar 14, 2012 at 9:58 am

    I know this if off matter but I am hunting into starting my very own website and was pondering what all is needed to have set up? I’m assuming possessing a blog like yours would expenditure a rather penny? I am not especially online savvy so I am not 100% favourable. Any options or recommendation could well be greatly appreciated. Cheers

  • 17 Suni // Mar 16, 2012 at 6:17 am

    This is often quite practical, many thanks for revealing. I will be self-confident many people will view goods this similar model

  • 18 Bob // Mar 16, 2012 at 5:22 pm

    I just could not depart your site in advance of suggesting that I really loved the conforme info a person offer you for ones prospects? Will probably be back more often than not in an effort to take a look at up on new posts

  • 19 Chat für Senioren // Mar 19, 2012 at 6:48 am

    Nice post. I study one thing more challenging on totally different blogs everyday. It is going to all the time be stimulating to read content material from other writers and practice somewhat one thing from their store. I’d want to make use of some with the content on my weblog whether or not you don’t mind. Natually I’ll offer you a hyperlink on your net blog. Thanks for sharing.

  • 20 Pankrati // Mar 19, 2012 at 12:46 pm

    That is highly valuable, many thanks for revealing. I’ll be assured other folks will see products this identical type

  • 21 Dalmacio // Mar 21, 2012 at 3:24 am

    Hi there most people. I used to be just browsing the online world for entertaining and came upon your site. Wonderful submit. Thanks an awful lot for sharing your knowledge! It is wonderful to grasp that a number of people still set in an hard work into managing their websites. I am going to make sure you check back

  • 22 Iddun // Mar 23, 2012 at 7:27 pm

    Hey There. I found your webpage browsing with yahoo. This can be a particularly effectively prepared post. I will you’ll want to bookmark it and return to browse extra of the practical information. Thank you for sharing it. I will really be back all over again.

  • 23 Dvoire // Mar 24, 2012 at 7:50 am

    I just prefer to tell you that I am really new to blogging and definitely savored you are site. Probable I’m probable to bookmark your web site . You most certainly have incredible content pieces. Thanks a bunch for sharing with us your webpage.

  • 24 Piercing // Mar 24, 2012 at 11:32 am

    I discovered your weblog site on google and check a few of your early posts. Continue to keep up the superb operate. I just further up your RSS feed to my MSN Information Reader. Searching for forward to reading extra from you in a while!…

  • 25 Miquela // Mar 24, 2012 at 6:00 pm

    ome really nice things on this web page , I appreciate it.

  • 26 Suzette // Mar 27, 2012 at 5:59 am

    I really hope you never ever put a stop to! It is among the list of top weblogs Ive ever before go through. Youve received some mad skill here, man. I just hope you dont get rid of your model because youre surely amongst the coolest bloggers these days. Be sure to keep it up as the the web requirements someone like you spreading the term.

  • 27 Rainfreda // Mar 27, 2012 at 7:24 pm

    Kinds web page is certainly especially worthwhile for myself. I bookmarked your internet site!

  • 28 Waveboard Test // Apr 12, 2012 at 4:47 am

    I am no longer certain where you’re getting your information, however good topic. I needs to spend some time finding out much more or figuring out more. Thank you for excellent info I used to be on the lookout for this info for my mission. King Regards Tim

  • 29 Bobbie Alatosse // Apr 22, 2012 at 12:29 am

    Another great post! Can’t wait to read more of your articles in the future.

  • 30 Gexialer Uwevsila // Jun 17, 2012 at 10:43 pm

    What is a good free blogging website that I can respond to blogs and others will respond to me?

  • 31 Visit This Link // Jul 30, 2012 at 2:58 am

    Hello there, You have performed an incredible job. I will definitely digg it and in my opinion suggest to my friends.
    I’m confident they will be benefited from this web-site.