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