Hi All,
<br> <br>At Camptocamp, we talked a lot, internally and with our customers, about what would be expected from a mobile version of OpenLayers.
<br>Let me share our thoughts and feel free to comment. and discuss them:<br> <br>- Pan performance enhancement
<br>In mobile devices, resources (network bandwidth, CPU, memory) are very limited and pan performances is an important part of the user experience.
<br> <br>- Touch Screen Interface
<br>Most mobile devices are touch enabled. There are different levels of touche support, which are mostly vendor dependant.
<br>Depending on the device OS/browser capabilities, different level of touch support could be provided.
<br> 1. Monotouch (these should work on all touch enable devices):
<br> 1. Pan by sliding the finger on the screen
<br> 2. Zoom In by double taping
<br> 3. Zoom Out ?by triple taping? (triple taping seems bad, but what else?)
<br> 2. Multitouch Simple
<br> 1. Zoom In by taping with two fingers
<br> 2. Zoom Out by double clicking with two fingers
<br> 3. Multitouch Gesture
<br> 1. Pinch to zoom out and zoom in
<br> <br>(In most of the current Android phones, multitouch is not supported in the browser)
<br> <br> <br>- Use of Mobile Device Hardware
<br>Access to the mobile device hardware is described by some w3c proposal specifications. <br> <br> 1. Localisation API: access the device position. (giving a way to easyliy update it while the user is moving would be interesting)
<br> 2. Orientation API: keep the north up (ref: Proposal for orientation API (from magnetometer): <a href="http://dev.w3.org/geo/api/spec-source-orientation.html">http://dev.w3.org/geo/api/spec-source-orientation.html</a> )
<br> <br> <br>- Use of HTML5 offline storage capabilities
<br> <br> 1. Local storage of part of the map for offline use
<br> (2. Offline edition of features for later synchronisation (dependant on the above point)
<br> <br> <br>Camptocamp already did work on the pan performance enhancement, touch navigation and basic use of the localisation API.
<br>Our work is published on the osgeo trac: <a href="http://trac.osgeo.org/openlayers/ticket/3000">http://trac.osgeo.org/openlayers/ticket/3000</a>; it can hopefully serve as a basis for further development.
<br>@Jennie Fletcher: do you plan to publish your work on offline mode?<br>I also read on the list that someone did implement “gesture zoom” on Apple devices; is there any plan to make this work public?<br><br>Benoît<br>
<br><div class="gmail_quote">2011/2/8 Cédric MOULLET <span dir="ltr"><<a href="mailto:cedric.moullet@gmail.com">cedric.moullet@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>I forward an email that Jennie Fletcher, who will attend the mobile code sprint, tried to send to this list.<br>Cédric<br><br><i>As this is my first mail I should probably introduce myself, I'm Jennie
and I'm a Software Engineer for Edina and have been making use of
OpenLayers for many years, along with MapFish, ExtJS etc.<br><br>
Recently I have been working on a mobile mapping application, adapting
the HTML5 local browser caching in the TouchMapLite Framework (using
PanoJS for animation) and was wondering if this functionality might be
useful for OpenLayers.<br><br>
The ability to be able to access mapping offline is really important for
some of the use cases we support, for example school field trips in
areas where 3G connectivity is poor. Given the cost and unreliability of
mobile networks I think offline access is a compelling feature to
include. It also increases the kinds of device that the application can
run on, for example, wifi devices such as iPod and non 3G iPad models.<br><br>
I have implemented examples using Web SQL Database (<a href="http://dev.w3.org/html5/webdatabase/" target="_blank">http://dev.w3.org/html5/webdatabase/</a>) and Web Storage (<a href="http://dev.w3.org/html5/webstorage/" target="_blank">http://dev.w3.org/html5/webstorage/</a>).
There are advantages and disadvantages to both these. My overall
impression was that the Web SQL Database provided more flexibility and
greater functionality and better mobile browser support (but is
unsupported in ie and ff for example), while Web Storage was more
restrictive but had better support in non-mobile browsers.<br><br>
For mobile application development we have decided to go with Web SQL
Database, however the spec for this is no longer being maintained and it
looks likely that the IndexedDB standard will take it's place in future
versions, however there isn't currently any support for this in current
browsers.<br><br>
I'll be coming to the code sprint in Lausanne and I'm keen to discuss where I might be able to help.<br><font color="#888888">
<br>
Jennie <span>Fletcher</span>.<br>
</font></i>
<br><br><div class="gmail_quote">2011/2/3 Cédric MOULLET <span dir="ltr"><<a href="mailto:cedric.moullet@gmail.com" target="_blank">cedric.moullet@gmail.com</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>I collected the requirements of various swiss OpenLayers users and I created a "wish" feature list here: <a href="http://trac.osgeo.org/openlayers/wiki/mobile" target="_blank">http://trac.osgeo.org/openlayers/wiki/mobile</a>.<br>
Some aspects are directly related to OpenLayers and other are related
more to UI components. So, this will be probably necessary to also
discuss the usage of mobile UI libraries like Sencha Touch or JQuery
Mobile.<br>All these points have not the same priority and I consider as mandatory the points Map Navigation, Map Layers, Geolocate, Layer Selector, Multilingual
and Multiple coordinate system.<br>Swisstopo will deliver before the code sprint a mockup describing the future mobile version of <a href="http://map.geo.admin.ch/" target="_blank">http://map.geo.admin.ch/</a> in order to give an idea of what we would like to reach.<br>
I'm happy to discuss these points and don't hesitate other points or your point of view.<br>Best regards.<br>Cédric<div><div></div><div><br><br><br><div class="gmail_quote">On Thu, Jan 27, 2011 at 7:45 PM, Bob Basques <span dir="ltr"><<a href="mailto:Bob.Basques@ci.stpaul.mn.us" target="_blank">Bob.Basques@ci.stpaul.mn.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="font-weight: normal; font-size: 12pt; margin: 4px 4px 1px; font-family: Comic Sans MS; font-variant: normal; font-style: normal; line-height: normal;">
<p style="margin-top: 0pt; margin-bottom: 0pt;">
<font face="Comic Sans MS" size="3">All,</font> </p>
<br>
<p style="margin-top: 0pt; margin-bottom: 0pt;">
<font face="Comic Sans MS" size="3">I'm sure there are folks already thinking like this, but I just wanted to make sure that HTML5 and CSS3 are looked at hard for making things that will be compatible. There are some interesting capabilities there already. Lot's of new and potentially very interesting products to come out of all this.</font> </p>
<br>
<p style="margin-top: 0pt; margin-bottom: 0pt;">
<font face="Comic Sans MS" size="3">bobb</font> </p><div><div></div><div>
<br>
<p style="margin-top: 0pt; margin-bottom: 0pt;">
<br>
<br>
>>> Tim Schaub <<a href="mailto:tschaub@opengeo.org" target="_blank">tschaub@opengeo.org</a>> wrote:<br> </p>
<table style="font-size: 1em; margin: 0pt 0pt 0pt 15px;" bgcolor="#f3f3f3" border="0">
<tbody><tr>
<td>
<div style="border-left: 1px solid rgb(5, 5, 5); padding-left: 7px;">
<p style="margin-top: 0pt; margin-bottom: 0pt;">
Hi<br><br>As you may already know a code sprint on mobile development will take<br>place in Lausanne Switzerland from feb 21 to feb 25 [1].<br><br>Lots of people have shown interest in mobile support in OpenLayers, and<br>
interesting discussions already occurred on the mailing lists [2].<br><br>This email aims to encourage further discussions on the topic, to get<br>ideas and directions for the code sprint. Everyone is invited to create<br>
and participate in discussions. This is a rather new topic so any idea,<br>experience to share, or code to show, can benefit the code sprint and<br>the OpenLayers project.<br><br>Tickets and patches have recently been created [3]. These patches maybe<br>
a starting point for the sprint, so now is probably a good time to<br>provide comments and feedback on them.<br><br>A page has been created on the OpenLayers wiki [4]. This is where we'll<br>be collecting information regarding the sprint content. Feel free to<br>
edit it, and add information you deem useful.<br><br>We're looking forward to discussions.<br><br>Thanks.<br><br>[1] <<a href="http://wiki.osgeo.org/wiki/Lausanne_Code_Sprint_2011" target="_blank">http://wiki.osgeo.org/wiki/Lausanne_Code_Sprint_2011</a>><br>
[2]<br><<a href="http://www.mail-archive.com/openlayers-dev@lists.osgeo.org/msg00494.html" target="_blank">http://www.mail-archive.com/openlayers-dev@lists.osgeo.org/msg00494.html</a>><br>[3] <<a href="http://trac.osgeo.org/openlayers/ticket/3000" target="_blank">http://trac.osgeo.org/openlayers/ticket/3000</a>><br>
[4] <<a href="http://trac.osgeo.org/openlayers/wiki/mobile" target="_blank">http://trac.osgeo.org/openlayers/wiki/mobile</a>><br><br>--<br>Tim Schaub<br>OpenGeo - <a href="http://opengeo.org" target="_blank">http://opengeo.org</a><br>
Expert service straight from the developers.<br>_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@lists.osgeo.org" target="_blank">Dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
</p>
</div>
</td>
</tr>
</tbody></table>
</div></div></div>
<br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org" target="_blank">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br><div>Political blog: <a href="http://cedricmoullet.blogspot.com/" target="_blank">http://cedricmoullet.blogspot.com/</a><br>Welcome to my world: <a href="http://www.cedricmoullet.com/" target="_blank">http://www.cedricmoullet.com/</a><br>
My Linked In profile: <a href="http://www.linkedin.com/in/cedricmoullet" target="_blank">http://www.linkedin.com/in/cedricmoullet</a><br>Twitter: <a href="http://twitter.com/cedricmoullet" target="_blank">http://twitter.com/cedricmoullet</a></div>
<div>Home sweet home: <a href="http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1" target="_blank">http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1</a></div>
<br>
</font></blockquote></div></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br><div>Political blog: <a href="http://cedricmoullet.blogspot.com/" target="_blank">http://cedricmoullet.blogspot.com/</a><br>
Welcome to my world: <a href="http://www.cedricmoullet.com/" target="_blank">http://www.cedricmoullet.com/</a><br>
My Linked In profile: <a href="http://www.linkedin.com/in/cedricmoullet" target="_blank">http://www.linkedin.com/in/cedricmoullet</a><br>Twitter: <a href="http://twitter.com/cedricmoullet" target="_blank">http://twitter.com/cedricmoullet</a></div>
<div>Home sweet home: <a href="http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1" target="_blank">http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1</a></div>
<br>
</div></div><br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Benoît Quartier<br><br>Camptocamp SA<br>PSE-A, Parc Scientifique EPFL<br>CH-1015 Lausanne<br><br>Tel: +41 21 619 10 40<br>Fax: +41 21 619 10 00<br><br>