Re: [OpenLayers-Users] Deleting a Vector Layer - How?

2008-08-12 Thread Eric Lemoine
Bilge, removeLayer won't destroy the layer. However the opposite is true: layer.destroy() does remove the layer from the map. So, in fact, layer.destroy() should suffice. Eric 2008/8/12, Bilge Tutak [EMAIL PROTECTED]: Looks like you are trying to access a non-existing layer (the one you

Re: [OpenLayers-Users] wfs markers without the redraw?

2008-08-12 Thread Eric Lemoine
://localhost/cgi-bin/mapserv.exe,{ map:../htdocs/amap/sites_wfs.map, typename: villages, outputformat: gml2}); If you have any ideas please let me know and thanks again for your help. Todd From: Eric Lemoine

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature

2008-08-11 Thread Eric Lemoine
On Mon, Aug 11, 2008 at 5:50 PM, Walter Lorenzetti [EMAIL PROTECTED] wrote: Ai all, is possible adds to the map 2 OpenLayers.Control.SelectFeature on 2 different vector layer at the same time? Not currently. But Christopher Schmidt has been working on a Canvas renderer that should make this

Re: [OpenLayers-Users] Activate 2 Controls at same time

2008-08-11 Thread Eric Lemoine
Hi. That should work. Try activating the GetFeatureInfo control after the SelectFeature control. Cheers. Eric 2008/8/11, Matt Priour [EMAIL PROTECTED]: Is it possible to have 2 controls active at the same time? What I want to do is to have a GetFeatureInfo control that responds to click

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature

2008-08-11 Thread Eric Lemoine
Oh sorry for the confusion, i went a little too fast. Eric 2008/8/11, Christopher Schmidt [EMAIL PROTECTED]: On Mon, Aug 11, 2008 at 05:56:39PM +0200, Eric Lemoine wrote: On Mon, Aug 11, 2008 at 5:50 PM, Walter Lorenzetti [EMAIL PROTECTED] wrote: Ai all, is possible adds to the map 2

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-10 Thread Eric Lemoine
Hi realjax. What do you mean? That OL does modify the prototype of Array? If so where in the code? Thanks. Eric 2008/8/10, realjax [EMAIL PROTECTED]: You better take a look at OpenLayers.Util then. Eric Lemoine-3 wrote: OpenLayers does not modify the prototypes of native JS types (Array

Re: [OpenLayers-Users] [OpenLayers-Dev] FOSS4G2008 Code Sprint, Lightning Talks Demo Sessions

2008-08-10 Thread Eric Lemoine
Hi. Is there an OpenLayers code sprint planned or being planned? I haven't checked the wiki yet. Looking forward to meeting you all at the conference. Eric 2008/8/8, Erik Uzureau [EMAIL PROTECTED]: dear users, dev: a brief promotional message for the upcoming FOSS4G conference in Cape Town

Re: [OpenLayers-Users] Caputing left click when displaying google maps

2008-08-10 Thread Eric Lemoine
Hi. This is weird. Do you observe the same with the mousedown event? Eric 2008/8/10, John Preston [EMAIL PROTECTED]: Hi, I have the following code using OpenLayers 2.6 but I can't get the left mouse click event to work with the google layers. map.addControl(new

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-09 Thread Eric Lemoine
OpenLayers does not modify the prototypes of native JS types (Array, Function, etc.). Eric 2008/8/9, [EMAIL PROTECTED] [EMAIL PROTECTED]: I stand corrected.. (again) :-) Still.. IE6 doesn't support it, so in the case of IE 6 it then probably gets added to array's prototype somewhere. I

Re: [OpenLayers-Users] StyleMap and ModifyFeatures aren't compatible ?

2008-08-07 Thread Eric Lemoine
On Wed, Aug 6, 2008 at 10:36 PM, George.Muammar [EMAIL PROTECTED] wrote: ALEX THAT WORKED JUST FINE!!! Great Stuff! Would you care to explain what the problem was ? For the record. Thanks to you and everyone else for the help. I just created a ticket for this

Re: [OpenLayers-Users] StyleMap and ModifyFeatures aren't compatible ?

2008-08-07 Thread Eric Lemoine
On Thu, Aug 7, 2008 at 1:55 PM, Alexandre Dube [EMAIL PROTECTED] wrote: Sure I'll try, but anybody correct me if I am wrong with the explanation please. The vertices are vector features too that try to be drawn on the same layer. If a uniqueValueRules is set, then the a drawn feature must

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-07 Thread Eric Lemoine
I also did observe memory leaks with the markers layer a while back. Some correction even made it into trunk but it didn't solve the problem entirely. Why dont you open a ticket with an example demonstrating the problem? Regards. Eric 2008/8/7, lukast [EMAIL PROTECTED]: Thanks for quick reply !

Re: [OpenLayers-Users] StyleMap and ModifyFeatures aren't compatible ?

2008-08-06 Thread Eric Lemoine
Thanks Alexandre. That sounds like a good workaround! Eric 2008/8/6, Alexandre Dube [EMAIL PROTECTED]: Hi George, Try to add the following lines : == var rules = [new OpenLayers.Rule({ symbolizer: {strokeColor:#FF,strokeWidth: 2}, // symbolizer: {}, // instead if you

Re: [OpenLayers-Users] Destroying all the features in a vector layer

2008-08-05 Thread Eric Lemoine
On Tue, Aug 5, 2008 at 11:49 AM, Simone Gadenz [EMAIL PROTECTED] wrote: Hello! I have a layer of vector geocoded features that I want to be clean when the users click on a button. The features react to the user interaction opening a popup managed by the SelectFeatures control. I

Re: [OpenLayers-Users] Orevent Modifyfeature from selecting other feature

2008-08-05 Thread Eric Lemoine
On Mon, Jul 28, 2008 at 9:13 AM, Dipl. Inf. Carsten Eider [EMAIL PROTECTED] wrote: Hi Folks, any idea how to prevent a Modifyfeature from selecting another feature than the one that has be select on start? I tried {clickout:false,multiple:false,toggle:false} on constructing it even removing

Re: [OpenLayers-Users] Setting the color of a single vector

2008-08-05 Thread Eric Lemoine
On Tue, Aug 5, 2008 at 11:04 AM, Jani Patokallio [EMAIL PROTECTED] wrote: Greetings, A very simple question, probably with a very simple answer, but I'm having a devil of a time figuring it out... I have a PointTrack layer with a StyleMap attached to it. The StyleMap says strokeColor:

Re: [OpenLayers-Users] StyleMap and ModifyFeatures aren't compatible ?

2008-08-05 Thread Eric Lemoine
Hi. My gut feeling (if you care :) is an incompatibility between addUniqueValueRules and the modify feature control. It sounds like the default style is display:none, so the modify feature control's handles dont get displayed. Eric 2008/8/5, George.Muammar [EMAIL PROTECTED]: Hi List, I have a

Re: [OpenLayers-Users] How does a renderer draw features ?

2008-08-01 Thread Eric Lemoine
On Fri, Aug 1, 2008 at 3:48 PM, Alexandre Dube [EMAIL PROTECTED] wrote: Hi list, I was wondering something : when we select a feature using a select or modify control, the feature changes its color... In fact, I saw that it the renderer that draws a feature ( which draw geometry ) using a

Re: [OpenLayers-Users] OpenLayers.. Redraw

2008-07-31 Thread Eric Lemoine
Hi. What type of layer do you use? If it's WMS or anything derived from Layer.HTTPRequest the you can do layer.redraw(true). Cheers. Eric 2008/7/31, David Calle [EMAIL PROTECTED]: Hi guys I need help on my project, i'm using Open Layers with PostGis on my maps... But i need help with the

Re: [OpenLayers-Users] wfs stylemap example?

2008-07-31 Thread Eric Lemoine
Hi Alexandre. So on hover you want to change the style of the feature but you dont want to actually select the feature (and have the featureselected event triggered). The actual feature selection occurs on click. This is making sense to of :) To get that behavior i would do the following: use a

Re: [OpenLayers-Users] Problems setting up TileCache

2008-07-29 Thread Eric Lemoine
Hi. Your bbox is incorrect in tilecache.cfg, it's expressed in 4326 while it should be in 900913. Hope this helps. Eric 2008/7/29, Nina Helle-Mildt [EMAIL PROTECTED]: Hi to Everyone! I have setup an OpenLayers application that I am trying to get to work with TileCache. The layer is a

Re: [OpenLayers-Users] listener on zoom

2008-07-29 Thread Eric Lemoine
On Tue, Jul 29, 2008 at 5:48 PM, Alexandre Dube [EMAIL PROTECTED] wrote: Hi everybody, I want to disable and enable html form elements at a certain scale. Can I register an event listener my map when it resizes ? I saw map.events.listeners.resize and also ...zoomend. Can I use those ?

Re: [OpenLayers-Users] listener on zoom

2008-07-29 Thread Eric Lemoine
On Tue, Jul 29, 2008 at 9:01 PM, Alexandre Dube [EMAIL PROTECTED] wrote: Eric, Hi Alexandre, After trying this and that, I found out how it works. Buy thank you anyway, Eric. Actually, I used the Scale Control as my example, because I though It does the same thing ! ( change a value

Re: [OpenLayers-Users] Displaying lat long coordinates for projected map?

2008-07-27 Thread Eric Lemoine
I actually just checked and the displaProjection option is indeed in the mouse position options. Sorry for the noise. Eric 2008/7/27, Eric Lemoine [EMAIL PROTECTED]: Hello. Have you tried setting displayProjection in the map options as opposed to in the mouse position control options? I cant

Re: [OpenLayers-Users] Make hierarchical layers using WMS

2008-07-24 Thread Eric Lemoine
On Thu, Jul 24, 2008 at 3:58 PM, S.Reena [EMAIL PROTECTED] wrote: I am using WMS request to make layers ..Now I want to make it hierarchical as a tree.so that after selecting one layer..the sub layers should appear...where he can select or unselect.. Can Anyone help in this... Hi

Re: [OpenLayers-Users] transparent popup

2008-07-24 Thread Eric Lemoine
On Thu, Jul 24, 2008 at 5:21 PM, S.Reena [EMAIL PROTECTED] wrote: How can I make the pop up as transparent so that background map is viewable. You can pass the popup constructor an opacity value (between 0.0 and 1.0) or use the setOpacity method to set it after the popup object has been

Re: [OpenLayers-Users] register loadend for kml layer doesn't work with IE6

2008-07-24 Thread Eric Lemoine
Hi. What doesn't work? Do you get an error? Does IE load the page? Is your problem just that your loadend callback gets never called? If it's the latter i really dont know how that could work on FF and not on IE - we have tons of event-related unit tests that just pass on every browser. Sorry for

Re: [OpenLayers-Users] extra div

2008-07-24 Thread Eric Lemoine
Hi. Sounds like a CSS problem to me. Does your new div have dimensions (height and width)? Hope i'm on the right track... Eric 2008/7/24, Bilge Tutak [EMAIL PROTECTED]: Hi, I have a simple openlayers map, actually the simplest example from the examples. I tried to put, the map div into another

Re: [OpenLayers-Users] Ajax and tiles

2008-07-24 Thread Eric Lemoine
Right Kristian. I thought about such an implementation when someone asked me how to abort the downloading of tiles when the user goes from one zoom level to another while the tiles of the first zoom level are still being downloaded. Currently this isn't possible i guess, if Ajax were used that'd

Re: [OpenLayers-Users] register loadend for kml layer doesn't work with IE6

2008-07-24 Thread Eric Lemoine
= lyr.features; for(var i=0;iobjFs.length;i++) .. the line in the middle should be: var objFs = this.features; as the obj param passed to register becomes 'this', and not the name of the variable. Eric Lemoine wrote: Hi. What doesn't work? Do you get an error? Does IE load the page

Re: [OpenLayers-Users] Layer.Text

2008-07-23 Thread Eric Lemoine
Hello. You need to create a GML layer object by passing the constructor the url to your text file and in the options object the text format class to be used for parsing (format:OpenLayers.Format.Text)You're right that having an example on that would be useful. A ticket and a patch for that would

Re: [OpenLayers-Users] specifying options for OL class properties--when to use quotes?

2008-07-23 Thread Eric Lemoine
Likewise you cannot do myobject.key if key is a reserved js word, you'll do myobject['key'] instead. Example: myobject['delete'] Cheers. eric 2008/7/23, Christopher Schmidt [EMAIL PROTECTED]: On Wed, Jul 23, 2008 at 12:42:35PM -0400, Mike Quentel wrote: In some of the examples, when adding a

Re: [OpenLayers-Users] Resizeable popup?

2008-07-23 Thread Eric Lemoine
OpenLayers popups don't support this. You're basically on your own here. Sorry. Eric 2008/7/23, Alexander Petkov [EMAIL PROTECTED]: Is it possible to resize a popup based on user action (ie when the edge is dragged with the mouse)? TIA, Alex ___

Re: [OpenLayers-Users] OpenLayers.Request.POST

2008-07-22 Thread Eric Lemoine
Question: does it work better without the Content-Type header? Eric 2008/7/18, Fabio D'Ovidio [EMAIL PROTECTED]: Hello, I'm trying to pass some values using POST method and OpenLayers.Request as following: // POST var data = this.idOperazione(); //my function returns my values to

Re: [OpenLayers-Users] Splitting a polygon

2008-07-21 Thread Eric Lemoine
Hi. It is a bit hard to help you with so few details but i'll give it a try. You can pass clickout:false to the modify feature control to disable feature un-selection on clickout. To disable multi-selection pass multiple:false. I'm not sure that will help... Eric 2008/7/21, Dipl. Inf. Carsten

Re: [OpenLayers-Users] Splitting a polygon

2008-07-21 Thread Eric Lemoine
should do a doubleclick ? Carsten Eric Lemoine schrieb: Hi. It is a bit hard to help you with so few details but i'll give it a try. You can pass clickout:false to the modify feature control to disable feature un-selection on clickout. To disable multi-selection pass multiple:false. I'm

Re: [OpenLayers-Users] WMS servers/Brititish National Grid and Projection issues

2008-07-15 Thread Eric Lemoine
Hi Dave. Two notes (most probably un-relevant to your problem, sorry): the srs WMS param isn't necessary, nor is the bounds arg to zoomToMaxExtent. Cheers. Eric 2008/7/15, Dave Potts [EMAIL PROTECTED]: Hi I am trying to view a shape file from a GeoServer(Release 1.64) WMs server, I can

Re: [OpenLayers-Users] Weird IE offset problem with vector layer...

2008-07-12 Thread Eric Lemoine
On Wed, Jul 2, 2008 at 6:10 AM, Steve Lime [EMAIL PROTECTED] wrote: Hi folks: I'm converting an older application that uses table layouts to OL (v. 2.6) and have everything working nicely except for an issue with a vector layer. I've setup a simple measure function using the draw feature

Re: [OpenLayers-Users] Change the default behavior of TileCache layer

2008-07-11 Thread Eric Lemoine
Sorry for asking this but why do you wanna do that? If you're to pass WMS params to TileCache why not use OpenLayers.Layer.WMS? Just curious. Eric 2008/7/2, Matthew Atkins [EMAIL PROTECTED]: What is the best (or most proper) way to hook into OpenLayers in order to take an instance of a

Re: [OpenLayers-Users] Using openlayers in portlet

2008-07-10 Thread Eric Lemoine
Hi. You way want to check with FireBug's dom inspector if the tile images are added to the layer div and are visible. Eric 2008/7/10, Frédéric Therrien [EMAIL PROTECTED]: Hey everyone, I'm pretty new with openlayers and I have a question. For my job, I need to user openlayers to display a map

Re: [OpenLayers-Users] Change style only for one feature on a layer

2008-07-09 Thread Eric Lemoine
On Tue, Jul 8, 2008 at 11:11 PM, Arnd Wippermann [EMAIL PROTECTED] wrote: Hi, How can I change the style only for a single feature on a layer. Using the below code I change the style for all features on a layer. But I have no clue, how to do this only for one feature. I hope someone can help

Re: [OpenLayers-Users] Difficulties with GetFeatureInfo

2008-07-09 Thread Eric Lemoine
On Wed, Jul 9, 2008 at 1:12 PM, Matt Priour [EMAIL PROTECTED] wrote: Yes, I do plan on contributing back to this wonderful OpenLayers development effort. I'll write up a ticket and submit a patch when I have it working properly. Pleased to hear that :-) Thanks. -- Eric

Re: [OpenLayers-Users] Change style only for one feature on a layer

2008-07-09 Thread Eric Lemoine
You can still use the old-style way: feature.style = { /* your style */}; then call drawFeature. With this the feature style should persist. Eric 2008/7/9, Arnd Wippermann [EMAIL PROTECTED]: This works, but after a redraw the feature are drawn in the style of the layer. Is there a way to

Re: [OpenLayers-Users] Basic authZ issue

2008-07-09 Thread Eric Lemoine
On Wed, Jul 9, 2008 at 9:23 PM, Yves Moisan [EMAIL PROTECTED] wrote: Hi All, We are accessing a secure (Basic Auth) Apache directory through OL and users find it bothersome to fill in a pop up user:pass window. In a bid to bypass the popup, we're looking for a way to shove in the right

Re: [OpenLayers-Users] Show polygon vectors as points

2008-07-04 Thread Eric Lemoine
Hi François. It seems to me that everything you need is in trunk. Look at the examples that use externalGraphics, OpenLayers.StyleMap, and OpenLayers.Style. Eric 2008/7/4, François Van Der Biest [EMAIL PROTECTED]: 2008/7/2, Tim Schaub [EMAIL PROTECTED]: Hey- Zer wrote: Hi! Is there

Re: [OpenLayers-Users] GeoRSS

2008-07-04 Thread Eric Lemoine
Yes, you can't use the GeoRSS layer. Your code isn't correct, remove the new, what you pass to the layer is the class object, not a class instance. Eric 2008/7/4, Fabio D'Ovidio [EMAIL PROTECTED]: Hi! I read openlayers 2.6 improved GeoRSS Format support, including GeoRSS GML read support

Re: [OpenLayers-Users] GeoJSON layer on top of google - repeated load of features

2008-07-02 Thread Eric Lemoine
styling depending on value of parameters in GeoJSON file. Any quick hints? Adorian On Wed, Jul 2, 2008 at 3:55 PM, Eric Lemoine [EMAIL PROTECTED] wrote: Hi. How about that: var format = new OpenLayers.Format.GeoJSON({externalProjection: new OpenLayers.Projection('EPSG:4326

Re: [OpenLayers-Users] LayerSwitcher/WFS Layer with Yahoo Hybrid error

2008-06-29 Thread Eric Lemoine
Hi. I think this is an unknown problem. Having code allowing to reproduce the problem would be great. Regards. Eric 2008/6/26, czieler [EMAIL PROTECTED]: I have three base layers on my map, Google, Google Hybrid, and Yahoo Hybrid. I also have a couple of WMS layers, a Vector Layer, and a WFS

Re: [OpenLayers-Users] GeoRSS and Custom Icons

2008-06-29 Thread Eric Lemoine
:33PM +0200, Eric Lemoine wrote: On Wed, Jun 25, 2008 at 3:09 PM, Christopher Schmidt [EMAIL PROTECTED] wrote: On Wed, Jun 25, 2008 at 01:54:42PM +0200, Eric Lemoine wrote: Although i find it weird to use a GML layer with a format different than GML i agree that it's good to avoid code

Re: [OpenLayers-Users] GeoRSS and Custom Icons

2008-06-29 Thread Eric Lemoine
Chris, I said every OL *network* protocol is HTTP-based. Eric 2008/6/29, Christopher Schmidt [EMAIL PROTECTED]: On Sun, Jun 29, 2008 at 11:34:23AM +0200, Eric Lemoine wrote: Hi. Regarding Protocol.HTTP maybe the naming isn't really appropriate since any OL network protocol is HTTP-based

Re: [OpenLayers-Users] GeoRSS and Custom Icons

2008-06-29 Thread Eric Lemoine
-based Protocol that other network Protocols will use internally. Thanks. Eric 2008/6/29, Christopher Schmidt [EMAIL PROTECTED]: On Sun, Jun 29, 2008 at 11:34:23AM +0200, Eric Lemoine wrote: Hi. Regarding Protocol.HTTP maybe the naming isn't really appropriate since any OL network protocol

Re: [OpenLayers-Users] I'm stupid?

2008-06-26 Thread Eric Lemoine
On Thu, Jun 26, 2008 at 4:48 PM, Christopher Schmidt [EMAIL PROTECTED] wrote: On Thu, Jun 26, 2008 at 03:20:45PM +0200, David Martinez Morata wrote: Hy list, I start With OL dais ago :S and I don't know javascript :SS!! But I start to developing some simple application... And at the first time

Re: [OpenLayers-Users] Problem with gml layer.

2008-06-25 Thread Eric Lemoine
On Wed, Jun 25, 2008 at 2:52 PM, David Martinez Morata [EMAIL PROTECTED] wrote: Hello, I try to put this layer in a map but... map.addLayer(new OpenLayers.Layer.GML(GML, http://10.192.160.133/OpenLayers/ngo9_wgs84_01meu_cables_lille32.gml;, {format: OpenLayers.Format.KML},

Re: [OpenLayers-Users] GeoRSS and Custom Icons

2008-06-25 Thread Eric Lemoine
On Wed, Jun 25, 2008 at 3:09 PM, Christopher Schmidt [EMAIL PROTECTED] wrote: On Wed, Jun 25, 2008 at 01:54:42PM +0200, Eric Lemoine wrote: Although i find it weird to use a GML layer with a format different than GML i agree that it's good to avoid code at the application level. Thanks Andreas

Re: [OpenLayers-Users] Problem with gml layer.

2008-06-25 Thread Eric Lemoine
On Wed, Jun 25, 2008 at 3:29 PM, David Martinez Morata [EMAIL PROTECTED] wrote: Thanks for your answeres! :) but now in the same point with gml features changing coordinates in the map. In options for the mep object I define this projections: var options = {numZoomLevels: 20,

Re: [OpenLayers-Users] Draw features one by one in IE?

2008-06-25 Thread Eric Lemoine
On Wed, Jun 25, 2008 at 3:23 PM, realjax [EMAIL PROTECTED] wrote: Christopher Schmidt-4 wrote: This isn't a reason not to use WMS; just a reason not to use cached WMS. People use WMS for dynamic data all the time. regularly scheduled (setInterval) layer.reload(true) events will update

Re: [OpenLayers-Users] Overlay and BaseLayer problem

2008-06-25 Thread Eric Lemoine
On Wed, Jun 25, 2008 at 2:36 PM, Christian Braun [EMAIL PROTECTED] wrote: Hi List, Hello, I am just starting with OpenLayers and I am a looser ;-) in Javascript, so please be patient. I want to overlay different png images in a rudimentary map. Therefore I created the following code

Re: [OpenLayers-Users] GeoRSS and Custom Icons

2008-06-24 Thread Eric Lemoine
On Wed, Jun 11, 2008 at 10:22 AM, Levii Smith [EMAIL PROTECTED] wrote: Ok, so I'm trying to use the ICON tag out of a GeoRSS feed to display the ICONS on the map. I've added to the /format/georss.js and it returns either the value of the icon path (URL) or NULL back into

Re: [OpenLayers-Users] Map Destroy Call generating error

2008-06-24 Thread Eric Lemoine
On Wed, Jun 11, 2008 at 6:53 AM, Raj Chundur [EMAIL PROTECTED] wrote: I have incorporated openlayers in a rich internet application with the map inside a dialog window that can be opened and closed without page refresh.I have been getting some heavy memory leaks even though I had dereferenced

Re: [OpenLayers-Users] Layer Groups and hierarchy

2008-06-23 Thread Eric Lemoine
On Thu, Jun 19, 2008 at 7:50 AM, Indika Tantrigoda [EMAIL PROTECTED] wrote: Hello, Hello Indika I'd like to know, if theres anyway that I can group layers into a hierarchy. OpenLayers' layer switcher does not support layer hierarchy and will probably never do. I'd recommend checking out the

Re: [OpenLayers-Users] Draw features one by one in IE?

2008-06-23 Thread Eric Lemoine
On Mon, Jun 23, 2008 at 3:34 PM, realjax [EMAIL PROTECTED] wrote: realjax wrote: No unfortunately. I measured the addfeatures method to be the bottleneck here. It receives an array with features and then the delay starts.. I did a test with 800 objects. That took IE over 200,000 ms,

Re: [OpenLayers-Users] Draw features one by one in IE?

2008-06-23 Thread Eric Lemoine
On Mon, Jun 23, 2008 at 4:29 PM, realjax [EMAIL PROTECTED] wrote: Eric Lemoine-3 wrote: You mean 10.000ms is still unacceptable compared to the 4.000ms FF takes? :-) no 10 seconds would be acceptible (with firefox now pulling it off at 1.4 seconds by the way,including rendering

Re: [OpenLayers-Users] How to extract attributes on layer load ?

2008-06-20 Thread Eric Lemoine
Hi. Use OpenLayers.Layer.WFS to get from some WFS service the features that the current extent contains. If the map is moved the layer will fetch and display new features. The WFS layer object includes a feature array, each feature in this array has a property named attributes which is an object

Re: [OpenLayers-Users] How to use the SelectFeature Control's select method without triggering onSelect

2008-06-19 Thread Eric Lemoine
Hi. What call do you use to select the feature when a list element is selected? I think using layer.drawFeature(feature, 'select') should do the trick. Cheers. Eric 2008/6/19, dukie [EMAIL PROTECTED]: I am relatively new to OpenLayers, and having fun with it. I run into an issue that I am

Re: [OpenLayers-Users] Cannot upgrade to 2.6 because of vector lines disappearing in IE (Frustrated)

2008-06-18 Thread Eric Lemoine
Hi, On FF2 the line disappears on zoom #16. The line disappears in drawLineString() (SVG.js) when calling setAttributeNS(). I couldn't get any further. -- Eric ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Cannot upgrade to 2.6 because of vector lines disappearing in IE (Frustrated)

2008-06-18 Thread Eric Lemoine
On Wed, Jun 18, 2008 at 10:48 PM, Eric Lemoine [EMAIL PROTECTED] wrote: Hi, On FF2 the line disappears on zoom #16. The line disappears in drawLineString() (SVG.js) when calling setAttributeNS(). I couldn't get any further. The problem comes from the fact SVG.inValidRange() returns false

Re: [OpenLayers-Users] dynamic generated kml-layer

2008-06-17 Thread Eric Lemoine
I forgot about GeoServer supporting KML. Thanks for reminding this to me. Cheers. Eric 2008/6/17, Roald de Wit [EMAIL PROTECTED]: Hi Eric, On Tue, 2008-06-17 at 10:31 +0930, Christopher Schmidt wrote: Both FeatureServer and GeoServer should be able to do this without too much trouble.

Re: [OpenLayers-Users] How to use more than one 'SelectFeature' controls

2008-06-17 Thread Eric Lemoine
Hi. Feature selection doesn't work with multiple layers. As you mentioned only the layer on the top will work. See ticket 434. For now, if possible, you'll have to put everything in the same vector layer. Eric 2008/6/17, hz20040 [EMAIL PROTECTED]: Dear List! I have got a problem about

Re: [OpenLayers-Users] dynamic generated kml-layer

2008-06-16 Thread Eric Lemoine
Roald, using Layer.WFS with Format.KML requires having a WFS service sending features represented in the KML format. Are you aware of any server capable of that? Maybe GeoServer? Hmm or FeatureServer? Thanks. Eric 2008/6/16, Roald de Wit [EMAIL PROTECTED]: Hi Christian, Christian Schanz

Re: [OpenLayers-Users] [OpenLayers-Dev] OL-Based GeoEditor

2008-06-16 Thread Eric Lemoine
Hi. Have you tried using two select feature control instances, one with geometryType set to polygon and one with geometryType set to point. Just a guess, i've never tried this myself. Cheers. Eric 2008/6/16, Dipl. Inf. Carsten Eider [EMAIL PROTECTED]: my problem is not the algorithm how to split

Re: [OpenLayers-Users] Callbacks on DrawFeature and Polygon

2008-06-12 Thread Eric Lemoine
On Thu, Jun 12, 2008 at 1:50 PM, Dipl. Inf. Carsten Eider [EMAIL PROTECTED] wrote: Hi Folks, I tried to setup a callback when drawing a new polygon is finished, but polygon: new OpenLayers.Control.DrawFeature(bridge.fieldLayer,

Re: [OpenLayers-Users] avoid hover selection with shiftKey

2008-06-12 Thread Eric Lemoine
On Thu, Jun 12, 2008 at 4:45 PM, G. Allegri [EMAIL PROTECTED] wrote: Hello again, I still haven't a good control over OL... I need to use the SelectFeature control with the hover switch active, but I want to deactivate it when shifKey is pressed (to allow zooming). I think I should extend

Re: [OpenLayers-Users] Handling double click

2008-06-09 Thread Eric Lemoine
On Mon, Jun 9, 2008 at 3:02 PM, Kenneth Skovhede, GEOGRAF A/S [EMAIL PROTECTED] wrote: Hi Eric. (I think my DoubleClick is an old version of the Click handler). I have now figured out the problem. I have a DragHandler registered. That means the mousedown / mouseup events are triggered.

Re: [OpenLayers-Users] GetFeatureInfo in a FrameCloud popup

2008-06-08 Thread Eric Lemoine
On Sun, Jun 8, 2008 at 2:03 PM, Alessio Di Lorenzo [EMAIL PROTECTED] wrote: Hi list, I'd like to obtain the WMS GetFeatureInfo response in a framecloud popup instead in a separate frame/div (as displayed in the example at http://openlayers.org/dev/examples/example-list.html ). You probably

Re: [OpenLayers-Users] GetFeatureInfo in a FrameCloud popup

2008-06-08 Thread Eric Lemoine
On Sun, Jun 8, 2008 at 3:36 PM, Alessio Di Lorenzo [EMAIL PROTECTED] wrote: Hi Eric You probably mean: http://openlayers.org/dev/examples/getfeatureinfo.html. Yes... sorry for the wrong link Is it possible? Sure, just create a framedcloud popup in the OpenLayers.loadURL() callback.

Re: [OpenLayers-Users] GetFeatureInfo and overlays

2008-06-07 Thread Eric Lemoine
Hi James On Fri, Jun 6, 2008 at 6:27 PM, James McManus [EMAIL PROTECTED] wrote: Is there a standard way to enable GetFeatureInfo to only query from the current overlay being displayed? QUERY_LAYERS enables you to query more than one layer, but if FEATURE_COUNT is set to 1 then the info from

Re: [OpenLayers-Users] Problem clicking on a map (OL-2.5)

2008-06-06 Thread Eric Lemoine
On Thu, Jun 5, 2008 at 6:18 PM, David R Robison [EMAIL PROTECTED] wrote: We are having a pecular problem when clicking on a map. The map is on a large web page. If the page is scrolled partway down (not positioned at the top of the map), clicking on the map will return an XY position that is

Re: [OpenLayers-Users] Aspect Ratio/Projection Problem

2008-06-06 Thread Eric Lemoine
On Fri, Jun 6, 2008 at 12:43 AM, Michael Langford [EMAIL PROTECTED] wrote: After switching to openlayers.org from google maps, we're almost ready to launch my customer's new site. One problem though: His overlay image is squished on OpenLayers, where it looks great using the image overlay of

Re: [OpenLayers-Users] panTo() outside of the extents

2008-06-05 Thread Eric Lemoine
On Thu, Jun 5, 2008 at 7:38 PM, aschwartz [EMAIL PROTECTED] wrote: Hello all, Hello In the map.panTo Example, it says If the new random center is in the current extent, the map will pan smoothly. Is there a way to change it so that panTo will pan smoothly no matter what? No. You'd need

Re: [OpenLayers-Users] OpenLayers.Ajax.Request 2.6 VS 2.5

2008-06-03 Thread Eric Lemoine
Hey. Try adding a question mark to the front of the query string. Hope it'll do the trick.. 2008/6/3, Zer [EMAIL PROTECTED]: Hi All, In OL 2.5 the I had the OpenLayers.Ajax.Request like this working: function sendTestRequest(queryStr) { var uri = http://10.0.1.2:8080/demo/service/

Re: [OpenLayers-Users] Using Openlayers.layer.text makes the map disappear

2008-06-03 Thread Eric Lemoine
On Tue, Jun 3, 2008 at 9:10 PM, PhilippeP [EMAIL PROTECTED] wrote: Hi, I'm trying to use openlayers and a dynamically created markers textfile. For the testing purpose I use a basic (only point coordonnates) static file : http://www.lessines.net/bizz_result_text_2007.txt , the map is on the

Re: [OpenLayers-Users] OpenLayers.Control.TYPE_TOGGLE with DragFeature

2008-06-02 Thread Eric Lemoine
On Mon, Jun 2, 2008 at 6:40 PM, Damien Dudognon [EMAIL PROTECTED] wrote: Hi, I want to use TYPE_TOGGLE to activate/desactivate draw and drag controls. It works well with DrawFeature, but fails with DragFeature and I don't understand why... Do you know how to solve this problem ?

Re: [OpenLayers-Users] Draw Feature from Form field

2008-06-01 Thread Eric Lemoine
On Wed, May 28, 2008 at 12:54 PM, Levii Smith [EMAIL PROTECTED] wrote: I'm looking to allow someone to enter a lat/long and distance in NM into a form field, which would then draw a circle as a vector on screen at that location… Check out the OpenLayers.Geometry.Polygon.createRegularPolygon

Re: [OpenLayers-Users] Tiles outside maxExtent being loaded

2008-06-01 Thread Eric Lemoine
On Fri, May 30, 2008 at 4:24 PM, Christopher Schmidt [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 01:48:36PM +0100, Jon Blower wrote: I've noticed that in my application OpenLayers is requesting tiles outside the maximum extent of my overlay layer (which is in EPSG:4326 and hence has a

Re: [OpenLayers-Users] Z-Index of Markers Layer

2008-06-01 Thread Eric Lemoine
On Fri, May 30, 2008 at 1:13 AM, bradleyspencer [EMAIL PROTECTED] wrote: Eric, The hack suggestion did not work, or at least I am unable to make it work :( My latest attempt to sort this almost worked. Given that the OL defaults are Z_INDEX_BASE: { BaseLayer: 100, Overlay: 325, Popup:

Re: [OpenLayers-Users] Tiles outside maxExtent being loaded

2008-06-01 Thread Eric Lemoine
On Sun, Jun 1, 2008 at 3:53 PM, Christopher Schmidt [EMAIL PROTECTED] wrote: On Sun, Jun 01, 2008 at 02:10:46PM +0200, Eric Lemoine wrote: On Fri, May 30, 2008 at 4:24 PM, Christopher Schmidt [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 01:48:36PM +0100, Jon Blower wrote: I've noticed

Re: [OpenLayers-Users] Map and Dojo Progressbar stops rendering

2008-06-01 Thread Eric Lemoine
Hi. Are you sure addFeatures is the one to blame? Given that you don't see the progress bar progressing i'd tend to think that adding the features to the layer is fast. Where do you get the features from? Are they de-serialized before being added to the layer (for example using an

Re: [OpenLayers-Users] Google Earth 3D Plugin

2008-05-31 Thread Eric Lemoine
On Fri, May 30, 2008 at 2:06 PM, Norbert Helminger [EMAIL PROTECTED] wrote: It would be great to integrate Google Earth's 3D Browser Plugin into Open Layers. It can be integrated into Google Maps. So maybe it should be possible to integrate it into Open Layers as well.

Re: [OpenLayers-Users] Z-Index of Markers Layer

2008-05-29 Thread Eric Lemoine
On Thu, May 29, 2008 at 2:52 AM, bradleyspencer [EMAIL PROTECTED] wrote: Well, I fixed one problem. I was not using the map.setLayerZIndex on the appropriate markers layer. However, now my FramedCloud is now lower than the markers and the overlayed layer. Is there anyway to control the zIndex

Re: [OpenLayers-Users] Z-Index of Markers Layer

2008-05-29 Thread Eric Lemoine
On Thu, May 29, 2008 at 12:02 PM, bradleyspencer [EMAIL PROTECTED] wrote: Eric, Thanks for that. I tried your suggestion. So this will make the markerLayer a Z-Index one less than the Popup. Right? Correct. However, what I am doing is preassigning groups of layers to z-index levels so

Re: [OpenLayers-Users] Problem with polar projection on Antartica

2008-05-29 Thread Eric Lemoine
and not to a table in my Oracle database. In that case, i obtain a white map. I don't know if it is a GeoServer or an Oracle problem. If anyone has a any idea, keep me informed. Anyway, thanks for your help. Sylvain Eric Lemoine-3 wrote: On Tue, May 27, 2008 at 11:29 AM, springrider [EMAIL PROTECTED

Re: [OpenLayers-Users] redraw or refresh a text layer?

2008-05-29 Thread Eric Lemoine
on things that really should be cached. Just my two cents. Regina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Lemoine Sent: Wednesday, May 28, 2008 3:55 PM To: Carl Morgan Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] redraw

Re: [OpenLayers-Users] Lots of spurious tiles get loaded when changing base layer

2008-05-28 Thread Eric Lemoine
On Tue, May 27, 2008 at 2:42 PM, Jon Blower [EMAIL PROTECTED] wrote: Hi, I have an OL2.6 application that uses base layers in different map projections. The map is initially constructed with a base layer in lat-lon (EPSG:4326). If I change the base layer to a layer in polar stereographic

Re: [OpenLayers-Users] Lots of spurious tiles get loaded when changing base layer

2008-05-28 Thread Eric Lemoine
On Wed, May 28, 2008 at 10:06 PM, Eric Lemoine [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 2:42 PM, Jon Blower [EMAIL PROTECTED] wrote: Hi, I have an OL2.6 application that uses base layers in different map projections. The map is initially constructed with a base layer in lat-lon

Re: [OpenLayers-Users] Problem with polar projection on Antartica

2008-05-28 Thread Eric Lemoine
On Tue, May 27, 2008 at 11:29 AM, springrider [EMAIL PROTECTED] wrote: Thanks Jon for your reply Sorry I was not really explicit about the result i had. This is the request which is sent to my Geoserver: GET /geoserver/wms?service=wmsLAYERS=fifao:CONTINEENT_GAUL

Re: [OpenLayers-Users] Lots of spurious tiles get loaded when changing base layer

2008-05-28 Thread Eric Lemoine
On Wed, May 28, 2008 at 10:54 PM, Jon Blower [EMAIL PROTECTED] wrote: Those extents are in degrees, not projected units. That's right. The extent of -180,60,180,90 is just an approximation (and not a very good one) in lat-lon. The extent in the units of the projection (metres, notionally) is

Re: [OpenLayers-Users] Behaviour discrepancies between maps (application/openlayers from GeoServer VS OpenLayers JS code)

2008-05-25 Thread Eric Lemoine
Hello. Regarding the performance issue: in the first case three images are requested from GS, one for each WMS layers configured in OL. Althoug i'm not a GS expert, i think that in the second case only one image is requested - the three layers are combined in a single image. Does that make any

Re: [OpenLayers-Users] Handling double click

2008-05-19 Thread Eric Lemoine
Hi. I'm not sure i understand. Do you use OL click handler or have you implemented your own double click handler? OL click handler supports double click. So use that handler with appropriate options, in part use stopClick:true and make sure you activate the handler after the OL controls. Tell me

Re: [OpenLayers-Users] Animation in OpenLayers

2008-05-18 Thread Eric Lemoine
On Sun, May 18, 2008 at 11:47 PM, Eric Lemoine [EMAIL PROTECTED] wrote: On Sun, May 18, 2008 at 3:29 PM, Kenneth Skovhede, GEOGRAF A/S [EMAIL PROTECTED] wrote: I can see that there are several patches supporting zoom animation, which are reportedly included in OpenLayers 2.6. Why

Re: [OpenLayers-Users] popup hidden when goes on sides of viewport

2008-05-17 Thread Eric Lemoine
); popup.destroy(); popup = null; }); */ }); Pls suggest something Regards Kusum -- From: Eric Lemoine [EMAIL PROTECTED] Sent: Saturday, May 17, 2008 3:33 AM To: Kusum [EMAIL PROTECTED] Cc: Christopher Schmidt

<    1   2   3   4   5   6   7   8   >