hi list,<br><br>i have customized extended layer switcher.please somebody help me to develop layer group  tree structure in the extended layer switcher.your help would be highly appreciated.<br><br><br>thanx<br><br><div class="gmail_quote">
On Tue, Dec 21, 2010 at 10:11 PM,  <span dir="ltr">&lt;<a href="mailto:openlayers-dev-request@lists.osgeo.org">openlayers-dev-request@lists.osgeo.org</a>&gt;</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;">
Send Dev mailing list submissions to<br>
        <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:openlayers-dev-request@lists.osgeo.org">openlayers-dev-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:openlayers-dev-owner@lists.osgeo.org">openlayers-dev-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. WFS layer and filter ? only partly solved (<a href="mailto:SWEYKAM@telefonica.net">SWEYKAM@telefonica.net</a>)<br>
   2. Re: google maps (XinGang Li)<br>
   3. Re: OpenLayers for Mobile devices (Bob Basques)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 21 Dec 2010 10:39:19 +0100 (CET)<br>
From: &quot;<a href="mailto:SWEYKAM@telefonica.net">SWEYKAM@telefonica.net</a>&quot; &lt;<a href="mailto:SWEYKAM@telefonica.net">SWEYKAM@telefonica.net</a>&gt;<br>
Subject: [OpenLayers-Dev] WFS layer and filter ? only partly solved<br>
To: <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
Message-ID: &lt;22198828.1193881292924359239.JavaMail.root@wm1&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
I finally found out that geometryName and filter property have to be e x a c t l y this way:<br>
geometryName: &#39;mne:posicionEspacial/mne:PosicionEspacial/mne:geometria&#39;,<br>
property: &#39;mne:nombreEntidad/mne:NombreEntidad/mne:nombre&#39;,<br>
<br>
But there is still no way to read the feature.attributes.<br>
The higher level namespaces ‘nombreEntidad’, ‘tipoEntidad’ etc. are there, but null. The information I actually want sits one level lower (‘nombre’, ‘tipo’ etc.).<br>
<br>
Any idea how I can drill down to the information?<br>
<br>
My gazetteer layer now:<br>
<br>
var myFilter = new OpenLayers.Filter.Comparison({<br>
         type: &quot;~&quot;,<br>
         property: &#39;mne:nombreEntidad/mne:NombreEntidad/mne:nombre&#39;,<br>
         value: &quot;Madrid&quot;<br>
});<br>
<br>
var myLayer = new OpenLayers.Layer.Vector( &quot;my title&quot;,   {<br>
   strategies: [new OpenLayers.Strategy.BBOX({ ratio:1, resFactor:1 })],<br>
   protocol: new OpenLayers.Protocol.WFS({<br>
      url: &quot;<a href="http://www.idee.es/IDEE-WFS-Nomenclator-NGC/services" target="_blank">http://www.idee.es/IDEE-WFS-Nomenclator-NGC/services</a>?&quot;,<br>
      featureType: &#39;Entidad&#39;,<br>
      featurePrefix: &#39;mne&#39;,<br>
      featureNS :  &quot;<a href="http://www.idee.es/mne" target="_blank">http://www.idee.es/mne</a>&quot;,<br>
      geometryName: &#39;mne:posicionEspacial/mne:PosicionEspacial/mne:geometria&#39;,<br>
      readFormat: new OpenLayers.Format.GML(),<br>
      srsName: &quot;EPSG:4230&quot;,<br>
      version: &#39;1.1.0&#39;,<br>
      extractAttributes: true<br>
   }),<br>
   projection: new OpenLayers.Projection(&quot;EPSG:4230&quot;),<br>
   filter: myFilter<br>
});<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101221/44d1cdba/attachment-0001.html" target="_blank">http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101221/44d1cdba/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 21 Dec 2010 22:27:17 +0800<br>
From: XinGang Li &lt;<a href="mailto:slinavlee@gmail.com">slinavlee@gmail.com</a>&gt;<br>
Subject: Re: [OpenLayers-Dev] google maps<br>
To: Kot Forge &lt;<a href="mailto:kot.forge@mail.ru">kot.forge@mail.ru</a>&gt;<br>
Cc: <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
Message-ID:<br>
        &lt;AANLkTi=gePEaOng4C+OvYQP_A9K-a_Oy+kVcUkoq90V=@<a href="http://mail.gmail.com" target="_blank">mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Only limited by <a href="http://code.google.com/apis/maps/terms.html" target="_blank">http://code.google.com/apis/maps/terms.html</a><br>
<br>
Li XinGang<br>
EMail: <a href="mailto:slinavlee@gmail.com">slinavlee@gmail.com</a><br>
Blog:   <a href="http://avlee.cnblogs.com" target="_blank">avlee.cnblogs.com</a><br>
Site:    <a href="http://www.mapboost.org" target="_blank">www.mapboost.org</a><br>
<br>
<br>
On Mon, Dec 20, 2010 at 9:22 PM, Kot Forge &lt;<a href="mailto:kot.forge@mail.ru">kot.forge@mail.ru</a>&gt; wrote:<br>
<br>
&gt; Use Google Maps API 3.0:<br>
&gt;<br>
&gt; &lt;script src=&quot;<a href="http://maps.google.com/maps/api/js?sensor=false" target="_blank">http://maps.google.com/maps/api/js?sensor=false</a>&quot;&gt;&lt;/script&gt;<br>
&gt;<br>
&gt; var gmap = new OpenLayers.Layer.Google(<br>
&gt;        &quot;Google Streets&quot;,<br>
&gt;        {numZoomLevels: 20, sphericalMercator: true}<br>
&gt; );<br>
&gt;<br>
&gt;<br>
&gt; On Mon, 20 Dec 2010 13:28:24 +0100<br>
&gt; Iván Sánchez Ortega &lt;<a href="mailto:ivan@sanchezortega.es">ivan@sanchezortega.es</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Monday 20 December 2010 12:23:03 Mohammed Rashad wrote:<br>
&gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; How to load a google map without including API key like &quot;&lt;srcipt<br>
&gt; &gt; &gt; src=....&quot;.<br>
&gt; &gt;<br>
&gt; &gt; Not possible.<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; ----------------------------------<br>
&gt; &gt; Iván Sánchez Ortega &lt;<a href="mailto:ivan@sanchezortega.es">ivan@sanchezortega.es</a>&gt; &lt;<a href="mailto:ivan@geonerd.org">ivan@geonerd.org</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; El ridículo es el miedo a la libertad.<br>
&gt; &gt;                                                                    --<br>
&gt; &gt; Ciudad K<br>
&gt; _______________________________________________<br>
&gt; Dev mailing list<br>
&gt; <a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101221/609fbb61/attachment-0001.html" target="_blank">http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101221/609fbb61/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 21 Dec 2010 10:40:44 -0600<br>
From: &quot;Bob Basques&quot; &lt;<a href="mailto:Bob.Basques@ci.stpaul.mn.us">Bob.Basques@ci.stpaul.mn.us</a>&gt;<br>
Subject: Re: [OpenLayers-Dev] OpenLayers for Mobile devices<br>
To: &quot;Benoit Quartier&quot; &lt;<a href="mailto:benoit.quartier@camptocamp.com">benoit.quartier@camptocamp.com</a>&gt;, &quot;Jimmy<br>
        Duchesne&quot; &lt;<a href="mailto:JDuchesne@korem.com">JDuchesne@korem.com</a>&gt;<br>
Cc: &quot;<a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a>&quot; &lt;<a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a>&gt;<br>
Message-ID: &lt;4D10842C020000A8000246E3@heckle&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
<br>
Benoit,<br>
<br>
I couldn&#39;t get the zooming to work at all on the N900.  But I don&#39;t<br>
count that as a fault.<br>
<br>
I understand the complexities here, especially with regard to the<br>
multi-touch aspects vs single touch enabled devices.  I think that in<br>
the near term the gesture aspects are going to NEED to be targeted at<br>
vendor specifics in order to take full advantage of each of them.<br>
Hopefully this will flesh out to a standard from the best available,<br>
but, in the near term, I&#39;m interested in seeing a process that works for<br>
single touch (Could be all phone/mobile devices??) as a foundational<br>
chunk of coding.  Hopefully this approach would get as many functional<br>
mobile devices accounted for as possible.  Then it makes sense to attack<br>
the vendor specific (extra) capabilities.  It seems to be easier to<br>
design for the masses where possible (from my experience), and then to<br>
enhance for the specialties, don&#39;t you think?<br>
<br>
I think there are options available for addressing these ideas, if<br>
anyone else is interested.<br>
<br>
bobb<br>
<br>
<br>
<br>
&gt;&gt;&gt; Benoit Quartier &lt;<a href="mailto:benoit.quartier@camptocamp.com">benoit.quartier@camptocamp.com</a>&gt; wrote:<br>
<br>
<br>
Hello Jimmy,<br>
<br>
Thank you for your feedback.<br>
<br>
In the current demonstration, zooming is done by double taping while<br>
zooming out is done by a single two fingers tap... on iPhone (and likely<br>
iPad).<br>
<br>
Gestures are very interesting and we also did some work in this<br>
direction. However, the issue we have with gestures is that they are<br>
very vendor (read Apple) specific. Current Android phone cannot detect<br>
two fingers event in the browser (see (and vote!)<br>
<a href="http://code.google.com/p/android/issues/detail?id=11909" target="_blank">http://code.google.com/p/android/issues/detail?id=11909</a> ). The primary<br>
targets of our current work are iOS _and_ Android mobile phones (@Bob:<br>
we didn&#39;t even test it on Nokia device, so we are happy to hear that it<br>
works). Of course, we would like it to run on as many devices as<br>
possible. This is why we didn&#39;t focus on Apple specific gesture for the<br>
moment. One of the goal was to answer those questions you had in your<br>
last e-mail about OpenLayers architecture and its ability to be used on<br>
mobile devices.<br>
<br>
The demo shows the working part of our job. We publish it mainly to<br>
(re-)start the discussion about mobile OpenLayers development. Hence we<br>
are happy to see interest from others!<br>
<br>
Things are moving on and we will definitely continue working on this<br>
topic next year. Let&#39;s see how we could collaborate.<br>
<br>
Benoît<br>
<br>
<br>
On Mon, Dec 20, 2010 at 9:18 PM, Duchesne, Jimmy &lt;<a href="mailto:JDuchesne@korem.com">JDuchesne@korem.com</a>&gt;<br>
wrote:<br>
<br>
<br>
<br>
Thanks for your interesting answer Benoit.<br>
<br>
We really appreciate you posting a demo of you work.<br>
<br>
Here&#39;s what I have to say about it though. First off, your panning<br>
behaviour is really good, as good as it can get actually.<br>
<br>
But what about gesture zoom in, out and gesture panning (panning while<br>
two fingers touch the screen)?<br>
Those are the truly difficult features to implement, especially when<br>
your users are experienced with native apps, and they expect to be<br>
allowed to pan/zoom non-stop without any glitch.<br>
<br>
I&#39;ll give you a few more information about our work so far.<br>
<br>
- First of all, we developed this project for a specific client, who<br>
only required an iPAD version.<br>
That being said, we&#39;ll definitely adapt for other platforms in the<br>
future, otherwise, we wouldn&#39;t<br>
have done it with Web technologies.<br>
- We have more than one layer overlaid above the base layer.<br>
- By the way, that allowed us to discover a huge memory leak in Safari<br>
iPAD. Basically, it looks like it never flushes loaded images.<br>
The consequence is that if the user zooms in and out really often for 5<br>
to 10 minutes, Safari will crash, or tiles will stop loading.<br>
<br>
Finally, on our side, we&#39;ll definitely push our implementation to the<br>
limit until we have something reusable that we can use in all our<br>
projects.<br>
<br>
We may publish a demo of our work soon, even though our implementation<br>
is far from complete.<br>
<br>
Thanks.<br>
<br>
_____________________________<br>
Jimmy Duchesne<br>
Programmeur Analyste<br>
<a href="mailto:jduchesne@korem.com">jduchesne@korem.com</a><br>
<br>
KOREM inc.<br>
<a href="http://www.korem.com" target="_blank">www.korem.com</a><br>
_________________<br>
____________<br>
<br>
680, boul. Charest Est, bureau 120<br>
Québec, QC G1K 3J4 Canada<br>
Tél. : (418) 647-1555<br>
Téléc. : (418) 647-1666<br>
Sans frais : 1 888 440-1MAP<br>
<br>
<br>
From: Benoit Quartier [mailto:<a href="mailto:benoit.quartier@camptocamp.com">benoit.quartier@camptocamp.com</a>]<br>
Sent: December 20, 2010 11:18 AM<br>
To: Duchesne, Jimmy; <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
Subject: Re: [OpenLayers-Dev] OpenLayers for Mobile devices<br>
<br>
<br>
<br>
Hello,<br>
<br>
At Camptocamp, we are also working on an adaptation of OpenLayers for<br>
the mobile devices (phone and table, under iOS or Android for the<br>
moment). You can check<br>
<a href="http://www.camptocamp.com/fr/blog/2010/12/mobile-web-gis/" target="_blank">http://www.camptocamp.com/fr/blog/2010/12/mobile-web-gis/</a> for more<br>
information (and a demonstration) about our work in this field.<br>
<br>
&gt;From this point, we are discussing internally how we can move on with<br>
this development. If other people are showing an interest, it may be a<br>
good time to start talking together about how we can get an efficient<br>
OpenLayers mobile.<br>
<br>
By the way, have you a demo available? Are you specifically targeting<br>
Apple devices?<br>
<br>
Regards,<br>
Benoît<br>
On Mon, Dec 20, 2010 at 4:29 PM, Duchesne, Jimmy &lt;<a href="mailto:JDuchesne@korem.com">JDuchesne@korem.com</a>&gt;<br>
wrote:<br>
Hi to everyone,<br>
(If you think that I should address this email to someone in<br>
particular, or another mailing list, I&#39;d be glad to know)<br>
<br>
For over a year now, my team and I have been using OpenLayers<br>
thoroughly. We used it as much for internal projects as we did for our<br>
clients&#39; projects.<br>
Overall, we&#39;re pretty much satisfied with what you guys created. It&#39;s<br>
an extensive framework that dramatically improves the speed at which we<br>
can develop our applications.<br>
<br>
That being said, for some months now, a new need has been brought to us<br>
by both our clients and our users. We need a framework for the different<br>
mobile platforms.<br>
<br>
So far, we&#39;ve seen some patches posted on the OpenLayers&#39; Issue tracker<br>
that added limited support for the new events that come with mobile<br>
devices: touches and gestures.<br>
Those patches were obviously just a start. They did show us that it was<br>
possible to use those new browser events, but as they were, they weren&#39;t<br>
much use.<br>
<br>
Actually, we could have used them, but when you compared the behaviour<br>
they had with the one mobile device&#39;s users are used to, Google Maps App<br>
or <a href="http://maps.google.com" target="_blank">http://maps.google.com</a>,<br>
it wasn&#39;t going to satisfy our clients.<br>
<br>
&gt;From that perspective, our goal was this one: To achieve map behaviour<br>
comparable to what users get with Google Maps App on iPAD, but with<br>
OpenLayers as the base framework,<br>
and Google Maps as the base layer. At some point, the base layer<br>
shouldn&#39;t actually matter though.<br>
<br>
Considering the lack of time that we had for this development, and the<br>
fact that we could not find any similar existing implementation, we<br>
finally went for some key features:<br>
- Pan the map with one finger.<br>
- Double touching the map zooms around where you touched the map.<br>
- Double tapping the map zooms out one zoom level.<br>
- Pinching the map stretches the map in real time, with a minimal<br>
amount of lag.<br>
- Had to use HTML5/CSS3 there.<br>
- While pinching, you can also pan.<br>
- If you pan or zooms the map, and your fingers leave the screen and<br>
touch it again quickly enough, you continue the current map<br>
manipulation.<br>
- Map panning or stretching, while your fingers touch the screen acts<br>
on all visible layers, whatever their type may be.<br>
<br>
It was very important to us that while the fingers move the map or<br>
stretch it, the expected result had to be visible in real-time, like it<br>
does with the Google Maps App on iPAD.<br>
<br>
In the end, we actually could achieve all these goals. It means that we<br>
could get map behaviour comparable, or even better, to what one gets on<br>
<a href="http://maps.google.com" target="_blank">http://maps.google.com</a>.<br>
We couldn&#39;t reach all Google Maps App behaviour because of our lack of<br>
time though.<br>
<br>
As you may imagine, achieving these features in the amount of time that<br>
we had, we actually hacked quite a lot of OpenLayers code. We&#39;ll<br>
probably take some time<br>
in the next few weeks to make it more portable so we can use it in all<br>
our mobile device projects, but doing all this hacking made us curious.<br>
<br>
What ar<br>
e the current plans for OpenLayers regarding the support for<br>
most mobile devices? In our case, all those tablets coming on looks like<br>
a really promising market.<br>
Do you guys plan on actually putting any effort in supporting mobile<br>
devices? Do you think that the current OpenLayers architecture can<br>
support such changes, or a new dedicated framework should be developed?<br>
When are you planning on using HTML5/CSS3, since it makes the overall<br>
experience more pleasing to the user?<br>
<br>
We&#39;re really curious to hear about what you guys think about all this.<br>
<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>
<br>
<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>
<br>
<br>
<br>
<br>
<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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101221/33478708/attachment.html" target="_blank">http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101221/33478708/attachment.html</a><br>

<br>
------------------------------<br>
<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>
<br>
End of Dev Digest, Vol 51, Issue 24<br>
***********************************<br>
</blockquote></div><br>