<p>Oooomlopll<br>
Mp90mOon Aug 31, 2011 2:55 PM, <<a href="mailto:openlayers-users-request@lists.osgeo.org">openlayers-users-request@lists.osgeo.org</a>> wrote:<br>
><br>
> Send Users mailing list submissions to<br>
> <a href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@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-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:openlayers-users-request@lists.osgeo.org">openlayers-users-request@lists.osgeo.org</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:openlayers-users-owner@lists.osgeo.org">openlayers-users-owner@lists.osgeo.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Users digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: AW: [OpenLayers-Users] Feature "style" and layer<br>
> "styleMap" (gbrun)<br>
> 2. Get Feature Attributes - NULL (bsheehy)<br>
> 3. OpenLayers.Control.SelectFeature with hover=true on non top<br>
> vector layer. (Gis Mage)<br>
> 4. Re: getfeatureinfo mapserver show only the atributname (boho)<br>
> 5. Re: Re: getfeatureinfo mapserver show only the atributname<br>
> (Bart van den Eijnden)<br>
> 6. Why popup behavior is different in vector and marker? (ggarcia)<br>
> 7. best way to convert an OL map to a static map ? (Julien Cigar)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Wed, 31 Aug 2011 08:31:01 +0200<br>
> From: gbrun <<a href="mailto:gbrun@myopera.com">gbrun@myopera.com</a>><br>
> Subject: Re: AW: [OpenLayers-Users] Feature "style" and layer<br>
> "styleMap"<br>
> To: <a href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
> Message-ID: <op.v02e1zulyqc6xb@asensio.parc.local><br>
> Content-Type: text/plain; charset=iso-8859-15; format=flowed;<br>
> delsp=yes<br>
><br>
> Just great! ^^<br>
><br>
> Thanks Arnd, your code works! It was a very good idea to enforce the<br>
> selectStyle of the selectControl! Thanks a lot!<br>
><br>
> Geoffrey<br>
><br>
><br>
> On Tue, 30 Aug 2011 19:07:29 +0200, gbrun <<a href="mailto:gbrun@myopera.com">gbrun@myopera.com</a>> wrote:<br>
><br>
> > Thanks for this reply! I tried to add a "select" style to the feature<br>
> > but it didn't work. I tried many ways, but unfortunately, the only way<br>
> > to style a feature is to put directly the style properties in the<br>
> > feature.style property like this (so without "select", or "default"):<br>
> ><br>
> > feature.style = {fillColor: #FFFFFF,<br>
> > strokeColor: #222222,<br>
> > ..................<br>
> > }<br>
> ><br>
> > But I didn't try exactly what you said, with the<br>
> > ctrlSelectFeature.selectStyle property. So I will try this tomorrow and<br>
> > come back to this thread to say if it works! This issue is not so<br>
> > important, it's only unpleasant for the user because once he has changed<br>
> > the feature color, he can't see if the feature is well selected when he<br>
> > is selecting it...<br>
> ><br>
> > Geoffrey<br>
> ><br>
> ><br>
> > Le Tue, 30 Aug 2011 18:53:08 +0200, Arnd Wippermann<br>
> > <<a href="mailto:arnd.wippermann@web.de">arnd.wippermann@web.de</a>> a écrit:<br>
> ><br>
> >> Hi,<br>
> >><br>
> >> I'm not sure, if it's possible to add a default and select style to a<br>
> >> feature.<br>
> >> But you can force the selectControl to use a select style of your<br>
> >> choice.<br>
> >><br>
> >> var selectStyle = OpenLayers.Util.extend({},<br>
> >> OpenLayers.Feature.Vector.style['select']);<br>
> >> ctrlSelectFeature.selectStyle=selectStyle;<br>
> >><br>
> >><br>
> >> Arnd<br>
> >><br>
> >> -----Ursprüngliche Nachricht-----<br>
> >> Von: <a href="mailto:openlayers-users-bounces@lists.osgeo.org">openlayers-users-bounces@lists.osgeo.org</a><br>
> >> [mailto:<a href="mailto:openlayers-users-bounces@lists.osgeo.org">openlayers-users-bounces@lists.osgeo.org</a>] Im Auftrag von gbrun<br>
> >> Gesendet: Dienstag, 30. August 2011 10:23<br>
> >> An: <a href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
> >> Betreff: [OpenLayers-Users] Feature "style" and layer "styleMap"<br>
> >><br>
> >> Hi everybody!<br>
> >><br>
> >> I've got a question about styles capabilities. I have a layer on which<br>
> >> users<br>
> >> can draw features. At this layers, I assigned a "styleMap" property.<br>
> >><br>
> >> When a user has finished drawing a polygon on this layer for example,<br>
> >> he can<br>
> >> select this one and change its color. For this, I use the "style"<br>
> >> property of the drawn feature. It works fine, but then, the "styleMap"<br>
> >> property of the layer doesn't apply at this feature anymore. This is a<br>
> >> problem, because the "styleMap" property defines a "select" style: this<br>
> >> one<br>
> >> doesn't concern the feature which had its color changed anymore. So the<br>
> >> user<br>
> >> can't see if he selected the feature or not! It seems that, if there is<br>
> >> a<br>
> >> style applied to a feature, the styleMap isn't taken into account for<br>
> >> this<br>
> >> feature anymore.<br>
> >><br>
> >> Does anyone know if there are some conflict between feature "style" and<br>
> >> layer "styleMap"?<br>
> >><br>
> >> Geoffrey<br>
> >> _______________________________________________<br>
> >> Users mailing list<br>
> >> <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
> >> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
> >><br>
> ><br>
> ><br>
><br>
><br>
> --<br>
> Using Opera's revolutionary email client: <a href="http://www.opera.com/mail/">http://www.opera.com/mail/</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Wed, 31 Aug 2011 01:58:54 -0700 (PDT)<br>
> From: bsheehy <<a href="mailto:bsheehy@hotmail.com">bsheehy@hotmail.com</a>><br>
> Subject: [OpenLayers-Users] Get Feature Attributes - NULL<br>
> To: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>
> Message-ID: <<a href="mailto:1314781134644-6745682.post@n2.nabble.com">1314781134644-6745682.post@n2.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> I have a vector Layer when I click on a feature I display its details and<br>
> allow the user to edit them. The vector layer uses SQL SErver 2008 as its<br>
> back end store.<br>
> I iterate through the attributes using method below and dynamcally set<br>
> attribute values:<br>
><br>
> for (var key in feature.attributes)<br>
><br>
> However if the existing value of an attribute is NULL then the named<br>
> attribute is not associated with the feature. How do I get the feature<br>
> attribute structure for an attribute including those atttributes with a NULL<br>
> value?<br>
><br>
> --<br>
> View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Get-Feature-Attributes-NULL-tp6745682p6745682.html">http://osgeo-org.1803224.n2.nabble.com/Get-Feature-Attributes-NULL-tp6745682p6745682.html</a><br>
> Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 3<br>
> Date: Wed, 31 Aug 2011 13:10:13 +0400<br>
> From: Gis Mage <<a href="mailto:gismage@gmail.com">gismage@gmail.com</a>><br>
> Subject: [OpenLayers-Users] OpenLayers.Control.SelectFeature with<br>
> hover=true on non top vector layer.<br>
> To: <a href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
> Message-ID:<br>
> <<a href="mailto:CAJJdVGcrtJh0bfM6bPajVYW667pC4U2n%2B6EzhG1rmeXwOarOng@mail.gmail.com">CAJJdVGcrtJh0bfM6bPajVYW667pC4U2n+6EzhG1rmeXwOarOng@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset=ISO-8859-1<br>
><br>
> Hi list,<br>
><br>
> I've got a map with one wms baselayer and two vector layers on top.<br>
> My goal is to highlight features on hover in middle layer (vector<br>
> layer, which has lower zindex).<br>
><br>
> But unfortunately, I found out, that OpenLayers.Control.SelectFeature<br>
> with hover=true works only for the top layer.<br>
> If this layer goes underneath another vector layer, it doesn't get highlighted.<br>
><br>
> I tried to add both layers to the control as an array, but no luck -<br>
> the middle layer still doesn't get highlighted.<br>
><br>
> What am I doing wrong?<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 4<br>
> Date: Wed, 31 Aug 2011 02:48:56 -0700 (PDT)<br>
> From: boho <<a href="mailto:fnaci4775@gmail.com">fnaci4775@gmail.com</a>><br>
> Subject: [OpenLayers-Users] Re: getfeatureinfo mapserver show only the<br>
> atributname<br>
> To: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>
> Message-ID: <<a href="mailto:1314784136517-6745825.post@n2.nabble.com">1314784136517-6745825.post@n2.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> hi jean<br>
> i use openlayers popup,<br>
><br>
> info format i use text/plain, when i try change the info format with<br>
> text/html it show "msWMSFeatureInfo(): WMS server error. Unsupported<br>
> INFO_FORMAT value (text/html)."<br>
><br>
> please can you help me,,,,<br>
><br>
> --<br>
> View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/getfeatureinfo-mapserver-show-only-the-atribut-name-tp6712417p6745825.html">http://osgeo-org.1803224.n2.nabble.com/getfeatureinfo-mapserver-show-only-the-atribut-name-tp6712417p6745825.html</a><br>
> Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 5<br>
> Date: Wed, 31 Aug 2011 11:50:49 +0200<br>
> From: Bart van den Eijnden <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>><br>
> Subject: Re: [OpenLayers-Users] Re: getfeatureinfo mapserver show only<br>
> the atributname<br>
> To: boho <<a href="mailto:fnaci4775@gmail.com">fnaci4775@gmail.com</a>><br>
> Cc: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>
> Message-ID: <<a href="mailto:70ABC27B-D3FB-4807-85B0-B702CFEB7E1A@osgis.nl">70ABC27B-D3FB-4807-85B0-B702CFEB7E1A@osgis.nl</a>><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
> Hi,<br>
><br>
> MapServer needs to be configured with HTML templates, please ask on the Mapserver users list or check their documentation.<br>
><br>
> This is not an OpenLayers question.<br>
><br>
> Bart<br>
><br>
> --<br>
> Bart van den Eijnden<br>
> OSGIS - <a href="http://osgis.nl">http://osgis.nl</a><br>
><br>
> On Aug 31, 2011, at 11:48 AM, boho wrote:<br>
><br>
> > hi jean<br>
> > i use openlayers popup,<br>
> ><br>
> > info format i use text/plain, when i try change the info format with<br>
> > text/html it show "msWMSFeatureInfo(): WMS server error. Unsupported<br>
> > INFO_FORMAT value (text/html)."<br>
> ><br>
> > please can you help me,,,,<br>
> ><br>
> > --<br>
> > View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/getfeatureinfo-mapserver-show-only-the-atribut-name-tp6712417p6745825.html">http://osgeo-org.1803224.n2.nabble.com/getfeatureinfo-mapserver-show-only-the-atribut-name-tp6712417p6745825.html</a><br>
> > Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
> > <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
> ><br>
><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <a href="http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110831/4348ff27/attachment-0001.html">http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110831/4348ff27/attachment-0001.html</a><br>
><br>
> ------------------------------<br>
><br>
> Message: 6<br>
> Date: Wed, 31 Aug 2011 05:09:59 -0700 (PDT)<br>
> From: ggarcia <<a href="mailto:ggarcia@ihman.com">ggarcia@ihman.com</a>><br>
> Subject: [OpenLayers-Users] Why popup behavior is different in vector<br>
> and marker?<br>
> To: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>
> Message-ID: <<a href="mailto:1314792599810-6746238.post@n2.nabble.com">1314792599810-6746238.post@n2.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> Default popup for marker never overlays the marker, however default popup for<br>
> vector overlays the feature.<br>
><br>
> Here the Marker example: <a href="http://openlayers.org/dev/examples/popups.html">http://openlayers.org/dev/examples/popups.html</a><br>
> <a href="http://openlayers.org/dev/examples/popups.html">http://openlayers.org/dev/examples/popups.html</a><br>
><br>
> Here the Vector example: <a href="http://openlayers.org/dev/examples/sundials.html">http://openlayers.org/dev/examples/sundials.html</a><br>
> <a href="http://openlayers.org/dev/examples/sundials.html">http://openlayers.org/dev/examples/sundials.html</a><br>
><br>
> In the second one I changed the code to an especific "lonlan" (as they do in<br>
> the first example) to compare with Marker, here you are, the result:<br>
> <a href="http://osgeo-org.1803224.n2.nabble.com/file/n6746238/popup-marker-vector.png">http://osgeo-org.1803224.n2.nabble.com/file/n6746238/popup-marker-vector.png</a><br>
><br>
> --<br>
> View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Why-popup-behavior-is-different-in-vector-and-marker-tp6746238p6746238.html">http://osgeo-org.1803224.n2.nabble.com/Why-popup-behavior-is-different-in-vector-and-marker-tp6746238p6746238.html</a><br>
> Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 7<br>
> Date: Wed, 31 Aug 2011 14:55:27 +0200<br>
> From: Julien Cigar <<a href="mailto:jcigar@ulb.ac.be">jcigar@ulb.ac.be</a>><br>
> Subject: [OpenLayers-Users] best way to convert an OL map to a static<br>
> map ?<br>
> To: <a href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
> Message-ID: <<a href="mailto:4E5E2F3F.9060406@ulb.ac.be">4E5E2F3F.9060406@ulb.ac.be</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hello,<br>
><br>
> I have a webapp where the user wants to be able to download a "static<br>
> version" of the displayed OL map, and I wondered what's the best way to<br>
> do it ..?<br>
><br>
> I'm using PostGIS/Mapserver and a (dynamically generated) SLD stylesheet.<br>
><br>
> I planned to simply use the &mode=map of Mapserver, problem is that SLD<br>
> is only supported with WMS requests, so I have to translate my SLD to<br>
> MAP syntax (classes, styles, etc).. which I like to avoid.<br>
><br>
> So I wondered if there is a better way to do than playing with the URL<br>
> parameters (BBOX, LAYERS, etc)? Also, I would like to keep the<br>
> 'attribution' propert(y|ies) of the active(s) layer(s) if possible (I<br>
> use this property to put a custom logo on the map).<br>
><br>
> Thanks,<br>
> Julien<br>
><br>
> --<br>
> No trees were killed in the creation of this message.<br>
> However, many electrons were terribly inconvenienced.<br>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: jcigar.vcf<br>
> Type: text/x-vcard<br>
> Size: 292 bytes<br>
> Desc: not available<br>
> Url : <a href="http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110831/05946bfb/jcigar.vcf">http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110831/05946bfb/jcigar.vcf</a><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
><br>
><br>
> End of Users Digest, Vol 59, Issue 79<br>
> *************************************<br>
</p>