Re: [OpenLayers-Users] Is it possible to delete a point using the ModifyFeature control?

2008-05-17 Thread Eric Lemoine
On Sat, May 17, 2008 at 8:29 PM, Andreas Hocevar [EMAIL PROTECTED] wrote: I set a breakpoint using Firebug in the handleKeypress method of Control.ModifyFeature, and found out that this one only gets triggered (for a point) when the point is not selected (i.e. blue) while hovering over it.

Re: [OpenLayers-Users] Is it possible to delete a point using the ModifyFeature control?

2008-05-17 Thread Eric Lemoine
On Sat, May 17, 2008 at 8:29 PM, Andreas Hocevar [EMAIL PROTECTED] wrote: [...] I was thinking that a feature gets deleted when we remove its last vertex. But then, this would also mean if there are only 3 vertices of a polygon left and we delete one we end up having a line, and if we delete

Re: [OpenLayers-Users] Multiple selectfeature on one layer

2008-05-16 Thread Eric Lemoine
On Mon, May 5, 2008 at 12:51 PM, Lid Sjur Ringheim [EMAIL PROTECTED] wrote: Hello, This was working in OpenLayers 2.5 but I can't get it to work in 2.6. I'm having a GML layer with point features that I want to put a hover and a click selectFeature control on but only the hover one seems

Re: [OpenLayers-Users] OpenLayers.Ajax.Request question

2008-05-16 Thread Eric Lemoine
On Fri, May 16, 2008 at 5:23 PM, Bobby H. Braswell [EMAIL PROTECTED] wrote: Hi- I am trying to call a cgi script using OpenLayers.Ajax.Request in OL2.6. I have the following call: new OpenLayers.Ajax.Request(url, { method: 'post', parameters: {width: 150, height, 300}, onComplete:

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

2008-05-16 Thread Eric Lemoine
On Thu, May 15, 2008 at 2:21 PM, Kusum [EMAIL PROTECTED] wrote: Dear all I am caught in a very difficult situation. In my application the user marks a point on map and enters description to the point. Aslo uploads photos. a folder is made into which the uploaded photos go and then I fetch

Re: [OpenLayers-Users] Large PNG image degraded when inserted into smaller DIV

2008-05-16 Thread Eric Lemoine
On Thu, May 15, 2008 at 8:48 PM, Jeremy Short [EMAIL PROTECTED] wrote: I have a 24 bit PNG image 3872 by 2904 pixels (4 by 3 proportion) which when rendered in a DIV with those dimensions looks decent, but big. I want to display this image within a smaller div 400 by 300 pixels to make it

Re: [OpenLayers-Users] Is it possible to delete a point using the ModifyFeature control?

2008-05-15 Thread Eric Lemoine
On Wed, May 14, 2008 at 10:29 PM, Andreas Hocevar [EMAIL PROTECTED] wrote: Pierre GIRAUD wrote: I think Eric is wrong on that point. By hovering a vertex, you can delete it pressing the Del button. Tricky, isn't it ? I would have thought that it works like that, because it is promised in

Re: [OpenLayers-Users] Is it possible to delete a point using the ModifyFeature control?

2008-05-14 Thread Eric Lemoine
Hi Andreas. The modify feature control does not support that. You'll have to code this by yourself, possibly using the select feature control. Cheers, Eric 2008/5/14, Andreas Hocevar [EMAIL PROTECTED]: A question to all vector editing gurus: Is it possible to make the ModifyFeature control

Re: [OpenLayers-Users] Is it possible to delete a point using the ModifyFeature control?

2008-05-14 Thread Eric Lemoine
On Wed, May 14, 2008 at 9:59 AM, Pierre GIRAUD [EMAIL PROTECTED] wrote: I think Eric is wrong on that point. By hovering a vertex, you can delete it pressing the Del button. Tricky, isn't it ? I think Pierre has misunderstood Andreas' request :-) Andreas doesn't want to remove vertices of

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

2008-05-14 Thread Eric Lemoine
On Wed, May 14, 2008 at 7:28 AM, Kusum [EMAIL PROTECTED] wrote: Dear All, I am trying to make some nice looking popups and want that the map should pan itself when popup goes to the corner so that the popup comes in the center and is not hidden on any corners. I am trying to use

Re: [OpenLayers-Users] SelectFeature Control only works with one layer?

2008-05-13 Thread Eric Lemoine
On Tue, May 13, 2008 at 8:04 PM, Richard Marsden [EMAIL PROTECTED] wrote: It looks like I can only define one SelectFeature control at once? I am trying to attach event handlers to multiple layers so that I can implement popup windows. This works fine for one layer, but I really need this

Re: [OpenLayers-Users] Problems when deactivating custom control

2008-05-13 Thread Eric Lemoine
On Tue, May 13, 2008 at 10:15 PM, Zer [EMAIL PROTECTED] wrote: Hi all, Hello I have made a custom control that gets the length of a line feature. I then show this length in a div. When the control gets deactivated, I want the div to be cleared. What happens is that the div gets cleared

Re: [OpenLayers-Users] Problems when deactivating custom control

2008-05-13 Thread Eric Lemoine
On Tue, May 13, 2008 at 10:46 PM, Zer [EMAIL PROTECTED] wrote: Eric Lemoine-3 wrote: How about that: mt = new OpenLayers.Control.DrawFeature(vLayer, OpenLayers.Handler.Path, { featureAdded: ShowDistance, handlerOptions: {'freehand': true}, displayClass

Re: [OpenLayers-Users] by example

2008-05-12 Thread Eric Lemoine
On Mon, May 12, 2008 at 2:24 AM, Roald de Wit [EMAIL PROTECTED] wrote: Hi Tim et al, On Sat, 2008-05-10 at 02:33 +0930, Tim Schaub wrote: So, I gave the examples a bit of a facelift This is such an improvement! I agree with you Roald that this is a substantial improvement. thanks for

Re: [OpenLayers-Users] Multiple selectfeature on one layer

2008-05-05 Thread Eric Lemoine
On Mon, May 5, 2008 at 12:51 PM, Lid Sjur Ringheim [EMAIL PROTECTED] wrote: Hello, This was working in OpenLayers 2.5 but I can't get it to work in 2.6. I'm having a GML layer with point features that I want to put a hover and a click selectFeature control on but only the hover one

Re: [OpenLayers-Users] setCenter with visible vectorlayers

2008-05-04 Thread Eric Lemoine
Hi Arnd, On Sat, May 3, 2008 at 1:14 AM, Arnd Wippermann [EMAIL PROTECTED] wrote: Is there a way to capture the event zoomstart (like zoomend)? From the API doc: * - *movestart* triggered after the start of a drag, pan, or zoom * - *move* triggered after each drag, pan, or zoom

Re: [OpenLayers-Users] (slightly) OT: css frameworks

2008-05-04 Thread Eric Lemoine
Thanks for sharing this Paul. This is good to know. -- Eric On Fri, May 2, 2008 at 2:03 PM, Paul Spencer [EMAIL PROTECTED] wrote: Hi, this is somewhat off topic, but since we are usually in the business of putting maps into web pages, I usually find I have to put together some kind of

Re: [OpenLayers-Users] Local File System Layer?

2008-05-04 Thread Eric Lemoine
On Sun, May 4, 2008 at 3:55 AM, Kurt D. Bollacker [EMAIL PROTECTED] wrote: I've got an unusual use for OpenLayers. I'm trying to create an image browser for a very large image-- 648000 by 648000 pixels to be exact. This image will be the rosetta disk that we are creating. See

Re: [OpenLayers-Users] Changing map projections for WMS layers

2008-05-04 Thread Eric Lemoine
On Fri, May 2, 2008 at 5:14 PM, Jon Blower [EMAIL PROTECTED] wrote: Hi all, I am developing a WMS-based visualization site using OpenLayers and I'd like to have the capability to change the projection of the map. The map is created using EPSG:4326 but I'd like to be able to change this

Re: [OpenLayers-Users] Can't remove point feature OL 2.6

2008-04-25 Thread Eric Lemoine
On Wed, Apr 23, 2008 at 7:15 PM, Fred van Beelen [EMAIL PROTECTED] wrote: Hi list, I try to remove a point feature in OL 2.6. Line and polyline works OK in FF2 and IE7. selectFeature works OK in OL 2.5. Removing the first point works but after then This code example is based on

Re: [OpenLayers-Users] WKT in MySQL

2008-04-25 Thread Eric Lemoine
On Fri, Apr 25, 2008 at 9:44 AM, petey1815 [EMAIL PROTECTED] wrote: no errors now, no polygons either though. Do i have to redraw the vectors layer after adding objects? No you don't, so your problem lies somewhere else. -- Eric ___ Users

Re: [OpenLayers-Users] Intercept mouse click using Navigation control

2008-04-22 Thread Eric Lemoine
On Sun, Apr 20, 2008 at 11:28 PM, Colin and Yvonne Law [EMAIL PROTECTED] wrote: Hi A question from a newcomer who doesn't know what he is doing yet. I wish to intercept mouse clicks on the map and found examples of how to achieve this using OpenLayers.Control.MouseDefaults in the list

Re: [OpenLayers-Users] Can not register dblclick in a point handler

2008-04-20 Thread Eric Lemoine
On Fri, Apr 18, 2008 at 8:47 PM, Yingqi [EMAIL PROTECTED] wrote: All, Using OL 2.5, I would like to write a Control inherit from OpenLayers.Control and register the dblclick but I can not get it work. When I double-click the map the callback method for dblclick never get called. So

Re: [OpenLayers-Users] help: reload georss layer

2008-04-12 Thread Eric Lemoine
On Sat, Apr 12, 2008 at 2:33 PM, Arnd Wippermann [EMAIL PROTECTED] wrote: Hi, It seems it is not possible with 2.5. But if you use 2.6 look here: http://dev.openlayers.org/docs/files/OpenLayers/Layer/GeoRSS-js.html Perhaps with loadRSS it's possible. loadRSS() does northing if the RSS

Re: [OpenLayers-Users] Vector select styles

2008-04-10 Thread Eric Lemoine
On Thu, Apr 10, 2008 at 4:35 PM, Tim Schaub [EMAIL PROTECTED] wrote: Hey Bjorn- Glad to see you find it useful. For those who haven't followed recent style changes, the page below is a very nice use of advanced context for styles.

Re: [OpenLayers-Users] Proportional Symbol Mapping

2008-04-06 Thread Eric Lemoine
On Sun, Apr 6, 2008 at 7:24 PM, Andreas Hocevar [EMAIL PROTECTED] wrote: Bjorn, your requirement is covered by the new OpenLayers.StyleMap. First of all, have a look at the styles-context example (http://www.openlayers.org/dev/examples/styles-context.html). The second example there (the

Re: [OpenLayers-Users] registering a click on a marker

2008-04-06 Thread Eric Lemoine
On Mon, Apr 7, 2008 at 5:17 AM, Tara Athan [EMAIL PROTECTED] wrote: I am confused about how to register an event on a marker. I have a marker layer at a coarse resolution, with markers assigned to different variables. I would like to have a click on the marker cause a zoom in to that

Re: [OpenLayers-Users] Proportional Symbol Mapping

2008-04-04 Thread Eric Lemoine
On Thu, Apr 3, 2008 at 11:05 PM, Bjorn Sandvik [EMAIL PROTECTED] wrote: Hi, I'm currently testing the capabilities of doing thematic mapping with OpenLayers. This is a proportional symbol map based on GeoJSON encoded data: http://thematicmapping.org/experiments/openlayers_propsymb.htm

Re: [OpenLayers-Users] SelectFeature.activate() - interferes with registered events

2008-03-23 Thread Eric Lemoine
Hi On Sat, Mar 22, 2008 at 11:48 PM, plen [EMAIL PROTECTED] wrote: [...] 1) When I activate the control, I do not get notified when I click on a marker. This isn't expected. What OL version are you using? I'll try to reproduce the problem when I get a chance. Thanks, -- Eric

Re: [OpenLayers-Users] Stop modifyFeature from re-shaping features?

2008-03-16 Thread Eric Lemoine
On Sun, Mar 16, 2008 at 10:19 AM, ChrisWebster [EMAIL PROTECTED] wrote: I have a simple map with a simple polygon layer. I want the user to be able to select, rotate and drag polygons in this layer, but I don't want the user to be able to add new polygons or re-shape existing ones. I've

Re: [OpenLayers-Users] possible control.clickFeature bug

2008-03-16 Thread Eric Lemoine
On Sat, Mar 15, 2008 at 3:17 PM, Xin [EMAIL PROTECTED] wrote: Ghastly. I get the same error. A hackaround. I have changed return this.multiple || this.handler.evt[this.multipleKey]; to return this.multiple; I guess I understand the problem. In the regular case clickFeature is called as

Re: [OpenLayers-Users] Problem with removeMarker

2008-03-16 Thread Eric Lemoine
On Sun, Mar 16, 2008 at 6:26 PM, Linda Rawson [EMAIL PROTECTED] wrote: I have to cycle through the marker layer again and again until all the markers are gone. What a performance hit! What wouldn't you follow Huub's recommandation? -- Eric ___ Users

Re: [OpenLayers-Users] possible control.clickFeature bug

2008-03-15 Thread Eric Lemoine
Xin, i guess you're using the select feature control. Have you tried using the following to call clickFeatuse : sc.clickFeature.call(sc) ? 2008/3/14, Xin [EMAIL PROTECTED]: Hi, I am getting this error when calling clickFeature. It is called when I click on a link with onclick.

Re: [OpenLayers-Users] Custom LayerSwitcher

2008-03-11 Thread Eric Lemoine
Diego, we do exactly what you described in MapFish layer tree. Thx 2008/3/11, Diego Guidi [EMAIL PROTECTED]: I have one nearyly finished file http://www.bnhelp.cz/wwwlibs/hslayers/hsAddons/Control/ExtLayerSwitcher.js I've modified this code to maintain only a display view with a layers

Re: [OpenLayers-Users] Detecting a click in a feature

2008-02-22 Thread Eric Lemoine
On Fri, Feb 22, 2008 at 2:07 PM, Carlos Pinto [EMAIL PROTECTED] wrote: Hi all, I was using google maps and last week I decided to use OpenLayers, so I'm quite a new user. So now I'm changing all my code to OpenLayers, but I have this problem that I was adding features from a database and

Re: [OpenLayers-Users] loadURL: abort

2008-02-20 Thread Eric Lemoine
On Tue, Feb 19, 2008 at 10:49 PM, Guillaume Sueur [EMAIL PROTECTED] wrote: hmm, just tried : AjaxTransfert = OpenLayers.loadURL(proxy.py?nom= + f.attributes[nom],,null,getDetails); AjaxTransfert is always undefined as the loadURL function doesn't seem to return anything. What OL version

Re: [OpenLayers-Users] OSGB projection plugin

2008-02-19 Thread Eric Lemoine
Hi. What OL version were you previously using? Your problem might be due to conflict with the new projection code in OL. Eric 2008/2/19, Jon Britton [EMAIL PROTECTED]: Hi, I've been using a plugin for allowing projections in EPSG:27700 for a while but now it's not working. I'm using the

Re: [OpenLayers-Users] show wfs attributes in popup

2008-02-18 Thread Eric Lemoine
On Feb 18, 2008 9:56 AM, Maria Panagou [EMAIL PROTECTED] wrote: [...] function feature_info(feature) { selectedFeature = feature; //popup = feature.createPopup(false); popup = new OpenLayers.Popup.Anchored(Info,

Re: [OpenLayers-Users] show wfs attributes in popup

2008-02-18 Thread Eric Lemoine
On Feb 18, 2008 10:42 PM, Maria Panagou [EMAIL PROTECTED] wrote: Thanks you, now it works by declaring the popup as: popup = new OpenLayers.Popup.Anchored(Info, feature.geometry.getBounds().getCenterLonLat(), new OpenLayers.Size(160,60),

Re: [OpenLayers-Users] Displaying Multiple Markers from Database

2008-02-17 Thread Eric Lemoine
On Feb 16, 2008 10:31 PM, Josh Livni [EMAIL PROTECTED] wrote: I believe that FeatureServer can use MySQL as a backend, in which case you would: The front page of featureserver.org doesn't mention MySQL as a possible datastore. Chris will probably sched some light (once he's back from vacation

Re: [OpenLayers-Users] Displaying Multiple Markers from Database

2008-02-16 Thread Eric Lemoine
On Feb 16, 2008 8:16 AM, schone [EMAIL PROTECTED] wrote: Hello all, New to OpenLayers but I think it is an amazing project! So here is my situation... I have around 200 long/lat in a database attached with unique locations. (MySQL database) I would like to display all these markers on

Re: [OpenLayers-Users] how to use POST instead of GET in MapServer layers?

2008-02-13 Thread Eric Lemoine
Hi. In OL tile images are requested through the use of img tags, so there is to my knowledge no way to use something else than GET. Eric 2008/2/13, Maik Finsterbusch [EMAIL PROTECTED]: hi out there, my request string ist growing and growing,... openlayers uses the get - method fireing the

Re: [OpenLayers-Users] Coordinates systems transformations?

2008-02-12 Thread Eric Lemoine
Hi, You need the proj4.js library to do reprojection in OpenLayers. https://svn.codehaus.org/mapbuilder/cscs/trunk/proj4js/lib Even with that I'm not sure EPSG:3003 will be supported. I recall that the author of proj4.js (Mike Adair) gave a list of supported projections on the OpenLayers

Re: [OpenLayers-Users] Edit a freehand polygon

2008-02-12 Thread Eric Lemoine
Tim, what kind of advanced geometry ops are you thinking of? Are you referring to drawing functionalities? Anyway this makes me think of the addins we're talking about. This lib could be an OL addin. Thx. Eric 2008/2/12, Tim Schaub [EMAIL PROTECTED]: Hey- Swärd Mårten wrote: Hello! I

Re: [OpenLayers-Users] WMS ligthness vs. WFS overlay

2008-02-11 Thread Eric Lemoine
Hello. OL uses img tags for images so HTTP GET is used. 2008/2/4, Andrea Maschio [EMAIL PROTECTED]: David Gadbois ha scritto: o Any SLD_BODY parameter will run into HTTP GET length restrictions pretty quickly. I don't think I know what you're talking about (i mean SLD_BODY), but

Re: [OpenLayers-Users] Pop-up and GML/KML/ ... layers

2008-02-06 Thread Eric Lemoine
Hi Yves. Once your gml is properly formatted and you see features on your map, you should be able to use the SelectFeature control to select features and display a popup on feature selection. See the example Pierre pointed out. I also confirm that you should be able to retrieve the feature info in

Re: [OpenLayers-Users] OL trunk: WFS transparency in IE

2008-02-06 Thread Eric Lemoine
Hi. What do you mean by the wfs layer is opaque? It means you don't see the layers below the wfs layer ? Could you show us a screen shot or something ? Thx. Eric 2008/2/6, David E. Reksten [EMAIL PROTECTED]: Just downloaded OL trunk for testing purposes. Built it with full.cfg, but notice that

Re: [OpenLayers-Users] spherical Mercator and google overlay

2008-02-03 Thread Eric Lemoine
Hi Andrea If you use sphericalMercator and therefore the 900913 OpenLayers is correct to use 900913 for the bbox coordinates. Given that, if you know you have a feature in that bbox and if that feature doesn't get displayed in the map, you definitely have a problem, but that problem doesn't lie

Re: [OpenLayers-Users] Popups showing only at certain zoom lev's?

2008-02-03 Thread Eric Lemoine
On Jan 29, 2008 10:23 AM, Cranio [EMAIL PROTECTED] wrote: Simple question. I've 8 layers, each one with its (custom) markers. Each marker triggers an AJAX-driven popup. Problem: when I zoom in, after a certain zoom levels, popups won't work. They begin to work again if I zoom back to a

Re: [OpenLayers-Users] Base Layers and mimetype

2008-01-30 Thread Eric Lemoine
Hi. Sounds like a bad config on the server side. What is your map server ? 2008/1/30, Diego Guidi [EMAIL PROTECTED]: I'm playing with OpenLayers 2.5 creating 2 wms layers both with format: image/jpeg and the first with isBaseLayer: true. The results is that the base layer is ever image/png...

Re: [OpenLayers-Users] zoomToScale(); free extent

2008-01-26 Thread Eric Lemoine
On Jan 26, 2008 11:08 AM, Maik Finsterbusch [EMAIL PROTECTED] wrote: hi out there, i want to get a specific scale (eg. 1:2000), so i call zoomToScale(2000); but openlayers finds only its scale (or extent) list, because of its numberofzoomlevels automaticly calculated scales (or extent).

Re: [OpenLayers-Users] Layer Switcher Question

2008-01-25 Thread Eric Lemoine
On Jan 25, 2008 7:01 PM, D. Eric Keefauver [EMAIL PROTECTED] wrote: Hello all, I apologize if this should be a developer post but I am curious as to how one might capture the base layer name that is active base layer within the layer switcher and place it on the map page once the user

Re: [OpenLayers-Users] getFeatureInfo request in new window + new map?

2008-01-22 Thread Eric Lemoine
With MapServer passing mapfile variable values as GET params can be done, even with WMS I've been told. Check the MS doc. 2008/1/23, Maria Panagou [EMAIL PROTECTED]: is it possible to use variable substitution in a layer creator url,in a header template file (getfeatureinfo) such as: var

Re: [OpenLayers-Users] google layer zoom

2008-01-16 Thread Eric Lemoine
On Jan 16, 2008 8:52 PM, Maria Panagou [EMAIL PROTECTED] wrote: I found out that it's a bug in OL after all, which can be fixed with a patch attached to this ticket http://trac.openlayers.org/ticket/1124 The patch attached to this ticket has already been applied. -- Eric

Re: [OpenLayers-Users] google layer zoom

2008-01-16 Thread Eric Lemoine
On Jan 16, 2008 7:38 PM, Maria Panagou [EMAIL PROTECTED] wrote: thanks for your hint. when i remove MIN_ZOOM_LEVEL, the problem disappears. What now? I really need to use MIN_ZOOM_LEVEL. Would that work with the 'numZoomLevels' and 'maxZoomLevel' options. -- Eric

Re: [OpenLayers-Users] Multiple projections in the same map

2008-01-15 Thread Eric Lemoine
On Jan 15, 2008 1:44 PM, Thomas Rokkjaer [EMAIL PROTECTED] wrote: Does a working example with layers with different projections in the same map exist? I am trying to create a simple demo page consisting of the basic WMS OpenLayers layer and a local projection layer from a GeoServer without

Re: [OpenLayers-Users] google layer zoom

2008-01-15 Thread Eric Lemoine
On Jan 15, 2008 10:04 PM, Maria Panagou [EMAIL PROTECTED] wrote: i have google maps as base layer and i zoom in. when i reach zoomlevel 14, res:0.858306884765625, i can't zoom anymore and in firefly i see the error 'bounds has no properties'. anyone have any idea? i haven't restricted the

Re: [OpenLayers-Users] Possible pink tile fix

2008-01-13 Thread Eric Lemoine
On Jan 11, 2008 7:12 PM, Ben Brehmer [EMAIL PROTECTED] wrote: Hello all, I just wanted to throw this out there as it might be useful to others; We'd been having some problems with pink tiles, even with IMAGE_RELOAD_ATTEMPTS set to a large number (10). The tile reload would max out and the

Re: [OpenLayers-Users] Controls and map events

2008-01-12 Thread Eric Lemoine
On Jan 11, 2008 10:21 PM, Attila Csipa [EMAIL PROTECTED] wrote: Yes, I outdid myself with the parentheses, sorry about that. The code: var drag = new OpenLayers.Control.DragFeature(pointlayer,{ onStart: function(feature, pixel) {

Re: [OpenLayers-Users] [OpenLayers-Dev] Hover style not working on GML

2008-01-11 Thread Eric Lemoine
On Jan 11, 2008 5:15 PM, Dejung Gewissler [EMAIL PROTECTED] wrote: Hi All- Hi Dejung I've added a GML layer to the map would like the following scenario: 1) features rendered differently based on feature values (done with styles and rules) 2) on mouseover/hover of a feature the

Re: [OpenLayers-Users] Controls and map events

2008-01-11 Thread Eric Lemoine
On Jan 11, 2008 2:49 PM, Attila Csipa [EMAIL PROTECTED] wrote: On Thursday 10 January 2008 12:29:26 Eric Lemoine wrote: Since pretty soon, the drag handler has a stopDown API property that Now that's what I call bleeding edge :) one can set to allow/disallow event propagation. You can try

Re: [OpenLayers-Users] Openlayers.Handler.MOD_SHIFT

2008-01-11 Thread Eric Lemoine
On Jan 10, 2008 7:03 PM, Marcelino Ferreira Soares Neto [EMAIL PROTECTED] wrote: Openlayers.Handler.MOD_SHIFT is null or not an object This error happens always when I access my application from outside the network. Someone knows what happens? Your email doesn't provide enough

Re: [OpenLayers-Users] Controls and map events

2008-01-10 Thread Eric Lemoine
On Jan 9, 2008 1:18 PM, Attila Csipa [EMAIL PROTECTED] wrote: Stiff familiarizing myself with OpenLayers, I ran into something I'm not sure is a design intention or am I simply doing something wrong: Controls do not have events, and if I have a control that operates on features, my map events

Re: [OpenLayers-Users] Ubuntu + Apache + proxy.cgi

2008-01-08 Thread Eric Lemoine
On Jan 8, 2008 1:11 PM, Jesús García Carrero [EMAIL PROTECTED] wrote: Hi there! First of all happy new year. I've been working with proxy.cgi provided with OpenLayers (congratulations to the core team on this great software) under Apache+Windows (only changing python path in the first line).

Re: [OpenLayers-Users] Drag cancellation ?

2008-01-07 Thread Eric Lemoine
On Jan 7, 2008 11:25 AM, Attila Csipa [EMAIL PROTECTED] wrote: On Monday 07 January 2008 06:59:01 Eric Lemoine wrote: Off the top of my head: you could try to erase the feature before calling layer.redraw() in the onComplete() callback. To erase the feature use feature.layer.eraseFeatures

Re: [OpenLayers-Users] Drag cancellation ?

2008-01-07 Thread Eric Lemoine
On Jan 7, 2008 1:56 PM, Attila Csipa [EMAIL PROTECTED] wrote: On Monday 07 January 2008 12:39:30 Eric Lemoine wrote: Off the top of my head: you could try to erase the feature before calling layer.redraw() in the onComplete() callback. To erase the feature use

Re: [OpenLayers-Users] Selecting a country

2008-01-07 Thread Eric Lemoine
On Jan 7, 2008 7:05 AM, David Pruitt [EMAIL PROTECTED] wrote: How does the example map at http://world.freemap.in/ accomplish this task? I looked at the code, and although I am new to OpenLayers and this whole WMS thing...it seems like it is making some WMS requests to a MapServer server. Yes

Re: [OpenLayers-Users] Selecting a country

2008-01-06 Thread Eric Lemoine
On Jan 7, 2008 3:22 AM, David Pruitt [EMAIL PROTECTED] wrote: Let's say I have a user who is looking at my map, and clicks on a specific country. What is the best way to recognize which country he clicked on? I thought using features would be good, but a user can't pan around the map if

Re: [OpenLayers-Users] Drag cancellation ?

2008-01-06 Thread Eric Lemoine
On Jan 5, 2008 7:13 PM, Attila Csipa [EMAIL PROTECTED] wrote: I was writing functions for a DragFreature control and wanted to implement an undo/invalid choice type of feature, but I can't seem to find how to cancel a drag (if f.e. the drop location is found to be invalid in the onComplete

Re: [OpenLayers-Users] Mapserver vs WMS.layer

2007-12-30 Thread Eric Lemoine
On Dec 28, 2007 5:47 PM, Maria Panagou [EMAIL PROTECTED] wrote: I've declared a wms layer using the following syntax, which works fine. var quakes = new OpenLayers.Layer.WMS( Earthquakes, http://127.0.0.1:80/cgi-bin/mapserv.exe?;, { map:

Re: [OpenLayers-Users] Mapserver vs WMS.layer

2007-12-30 Thread Eric Lemoine
On Dec 28, 2007 5:54 PM, David William Bitner [EMAIL PROTECTED] wrote: It's still using MapServer, so changing layer type shouldn't make a difference. Hmm you may be right, but it is also possible that mapserv runs faster if one uses its private, non-standard API. Tuning your MapServer by

Re: [OpenLayers-Users] Mapserver vs WMS.layer

2007-12-30 Thread Eric Lemoine
On Dec 30, 2007 8:46 PM, Gregor Mosheh [EMAIL PROTECTED] wrote: Eric Lemoine wrote: It's still using MapServer, so changing layer type shouldn't make a difference. Hmm you may be right, but it is also possible that mapserv runs faster if one uses its private, non-standard API. Actually

Re: [OpenLayers-Users] Does OL have utility function to convert WKB into something usable?

2007-12-20 Thread Eric Lemoine
On Dec 20, 2007 4:43 AM, Stephen Woodbridge [EMAIL PROTECTED] wrote: Hi all, Does OL have utility function to convert WKB into something usable? No there's not. OpenLayers can read WKT though. -- Eric ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] Reverting to pan/zoom after feature insertion

2007-12-19 Thread Eric Lemoine
On Dec 18, 2007 5:51 PM, David E. Reksten [EMAIL PROTECTED] wrote: Hi, is there a way to revert back to the pan/zoom function once a feature has been finished (by double-clicking, normally)? I tried the following, where p.controls[0] is my pan/zoom button in the EditingToolbar:

Re: [OpenLayers-Users] Reverting to pan/zoom after feature insertion

2007-12-19 Thread Eric Lemoine
On Dec 19, 2007 12:37 PM, David E. Reksten [EMAIL PROTECTED] wrote: On 19/12/2007, Eric Lemoine [EMAIL PROTECTED] wrote: On Dec 18, 2007 5:51 PM, David E. Reksten [EMAIL PROTECTED] wrote: Hi, is there a way to revert back to the pan/zoom function once a feature has been finished

Re: [OpenLayers-Users] How to understand and use zoom levels?

2007-12-19 Thread Eric Lemoine
On Dec 19, 2007 7:51 PM, Zhanna Maher [EMAIL PROTECTED] wrote: Hello all, Hello Please excuse my simple questions; I am new to Openlayers, and Javascript and GIS in general. I am wondering if anyone can offer me a source for information on zoom levels, scales, and resolution, or possibly

Re: [OpenLayers-Users] Reverting to pan/zoom after feature insertion

2007-12-19 Thread Eric Lemoine
On Dec 19, 2007 3:51 PM, Christopher Schmidt [EMAIL PROTECTED] wrote: On Wed, Dec 19, 2007 at 01:06:34PM +0100, Eric Lemoine wrote: Does the problem exist on the OpenLayers examples (for example http://openlayers.org/dev/examples/modify-feature.html)? I haven't been able to reproduce here

Re: [OpenLayers-Users] gratitude

2007-12-19 Thread Eric Lemoine
On Dec 19, 2007 2:25 PM, Bart van den Eijnden (OSGIS) [EMAIL PROTECTED] wrote: Hi list, the end of the year is nearing (today is my last day of work before the holidays), which leads me to realize what a great tool OpenLayers is. It's for sure the best thing that happened to Web-GIS in the

Re: [OpenLayers-Users] Build With vector Support

2007-12-12 Thread Eric Lemoine
On Dec 12, 2007 9:03 PM, Andrew de klerk [EMAIL PROTECTED] wrote: Thanks...that is an oversight :) Any clues as to why it works in IE without vector support built in? Because OpenLayers/Renderer/VML.js is not exluded. -- Eric ___ Users mailing list

Re: [OpenLayers-Users] Add popup to GML with marker!

2007-12-11 Thread Eric Lemoine
On Dec 12, 2007 8:37 AM, Walter Lorenzetti [EMAIL PROTECTED] wrote: Eric Lemoine ha scritto: but sorry is possible to do that for onClick event? I don't understand. Using the select feature control you should be able to select features by clicking on them. Don't you see your

Re: [OpenLayers-Users] best/easiest web language for using open layers

2007-12-09 Thread Eric Lemoine
On Dec 9, 2007 8:29 PM, Gregor Mosheh [EMAIL PROTECTED] wrote: miles wrote: I realize OpenLayers can be used with just about any language but which ones are most people on this list using especially with regard to interacting between a database (ie postgres) and dynamically writing out

Re: [OpenLayers-Users] get a function triggered when all layers are loaded

2007-12-06 Thread Eric Lemoine
On Dec 6, 2007 7:24 PM, Maik Finsterbusch [EMAIL PROTECTED] wrote: hi all out there, i regard this group and all questions as best as i can, ill answer all newbies like me as good as i can, if i gain more experience soon. so my question, i searched the answer for, asked many collegues and

Re: [OpenLayers-Users] get a function triggered when all layers are loaded

2007-12-06 Thread Eric Lemoine
On Dec 6, 2007 9:37 PM, Bart van den Eijnden (OSGIS) [EMAIL PROTECTED] wrote: Look at the last patch for ticket 102. http://trac.openlayers.org/ticket/102 Your control looks great Bart! I had never noticed this ticket and your patch before. I'll try to arrange some time to take a look at it...

Re: [OpenLayers-Users] the right way to refresh a text layer?

2007-12-05 Thread Eric Lemoine
On Dec 5, 2007 7:19 AM, Michal Rok [EMAIL PROTECTED] wrote: Would you try the attached patch (absolutely untested!)? This appears to destroy the same thing twice. The line: this.events.destroy(); in Marker.js causes a scripting error (this.events is null or not an object) - apparently

Re: [OpenLayers-Users] saving the view as an image, or to PDF?

2007-12-05 Thread Eric Lemoine
On Dec 6, 2007 2:13 AM, angus scown [EMAIL PROTECTED] wrote: You need to use a mapserver for this as the constraints of pdf are very different to a browser. Openlayer is for presentation of information in the browser. We use a php mapscript that takes the layers and then generates a single

Re: [OpenLayers-Users] MapTips

2007-12-05 Thread Eric Lemoine
Hi Matthew, I see two main options: - use a WFS layer. Your hotspots are displayed as markers or vector geometries in a WFS layer on top of the WMS layer. If you pan the map new hotspots will be automatically downloaded from the WFS service. You can easily have popups on mouse over these

Re: [OpenLayers-Users] vector layer alignment problem

2007-12-03 Thread Eric Lemoine
On Dec 3, 2007 7:15 PM, Heidt, Christopher M. [EMAIL PROTECTED] wrote: I looked for an issue ticket and didn't find one. Just wondering if anybody else has discovered this issue. If I create a map with a vector layer, draw on it, and then the map div is repositioned on the page (due to

Re: [OpenLayers-Users] the right way to refresh a text layer?

2007-12-02 Thread Eric Lemoine
On Dec 2, 2007 9:22 PM, Michal Rok [EMAIL PROTECTED] wrote: Most probably you're hitting http://trac.openlayers.org/ticket/1123. You can try the patch attached to this ticket to see if that makes the memory leak go away. If so, we should definitely move forward with that ticket. Dear

Re: [OpenLayers-Users] How to abort a loading of tiles and generate a new request?

2007-11-29 Thread Eric Lemoine
On Nov 28, 2007 4:11 AM, Stephen Woodbridge [EMAIL PROTECTED] wrote: Hi all, I have a situation where we load a generic index.html page and it starts loading tiles for some generic map center and scale. While this is happening we generate a GeoIP request via an AJAX request. This request

Re: [OpenLayers-Users] OT: Event propagation problem...

2007-11-28 Thread Eric Lemoine
On Nov 28, 2007 11:56 PM, Steve Lime [EMAIL PROTECTED] wrote: Hi all: Slightly off-topic question. I'm working on an interface that plops help and legend content over the top of an OpenLayers map. Problem is that mouse events continue to propagate through the help or legend content to

Re: [OpenLayers-Users] Zoom to a WFS filter feature

2007-11-26 Thread Eric Lemoine
Hi getBounds() On Nov 26, 2007 12:47 PM, goeserver developer [EMAIL PROTECTED] wrote: Hi I have added a wfs layer with the filter option . Now I want to zoom to it .I am be able to do it with : bounds = new

Re: [OpenLayers-Users] Vector layer - getting error this.renderer has no properties

2007-11-22 Thread Eric Lemoine
On Nov 22, 2007 12:58 AM, Nick Whitelegg [EMAIL PROTECTED] wrote: Hello everyone, I'm coming across a problem I can't figure out in osmajax, the OpenLayers Vector-based OSM editor I'm developing, at http://www.free-map.org.uk/freemap/javascript/osmajax-0.5/index.php The problem relates to

Re: [OpenLayers-Users] Custom control isn't working properly - how to unregister?

2007-11-22 Thread Eric Lemoine
On Nov 21, 2007 2:55 PM, Pascal Ehlert [EMAIL PROTECTED] wrote: Hi Eric! First of all, thank you for your answer, I haven't expected it anymore. You'd also need to declare your control using something like that: OpenLayers.Control.ODAQuery = OpenLayers.Class(OpenLayers.Control, {

Re: [OpenLayers-Users] Problems with zooming

2007-11-22 Thread Eric Lemoine
On Nov 21, 2007 2:05 AM, Bradley McLain [EMAIL PROTECTED] wrote: Cheers that makes sense, but with the custom projection where do I apply this? Do I need to use 'reproject: true' option on all my mapserver layers? do I need to change anything in my mapfile? Follow the example Tim gave you.

Re: [OpenLayers-Users] Selecting a feature - does not always work

2007-11-22 Thread Eric Lemoine
On Nov 22, 2007 1:01 AM, Nick Whitelegg [EMAIL PROTECTED] wrote: Hello everyone, Another problem relating to the 'osmajax' editor (http://www.free-map.org.uk/freemap/javascript/osmajax-0.5/index.php - see my last post). Selecting a feature does not always work - the feature always goes blue

Re: [OpenLayers-Users] SphericalMercator with Text layer

2007-11-22 Thread Eric Lemoine
On Nov 20, 2007 2:19 PM, Fred van Beelen [EMAIL PROTECTED] wrote: Hi, I have a map with Goolge baselayer and a few Text - and GML layers (OL 2.4). The same configuration I will be used in OL 2.5 setting Goolge layer SphericalMercator: true, units: 'm' etc. The defined markers in text layer

Re: [OpenLayers-Users] Custom control isn't working properly - how to unregister?

2007-11-20 Thread Eric Lemoine
On Nov 16, 2007 4:14 PM, Pascal Ehlert [EMAIL PROTECTED] wrote: Hi mailing list! I'm trying to build my own control to enable the user to query some information depending on where he clicked. Now I'd like to add this control to my panel and change between normal navigation and query mode.

Re: [OpenLayers-Users] custom control in panel trouble in IE with redraw function

2007-11-14 Thread Eric Lemoine
On Nov 14, 2007 11:22 AM, Audaire David [EMAIL PROTECTED] wrote: hi I have build a kind of combobox which Inherit from opnelayers.control (the control is dynamicaly build on his draw methode), i add it to a panel control, but i have trouble whith the panel redraw function on IE.

Re: [OpenLayers-Users] Problem in Internet Explorer

2007-11-14 Thread Eric Lemoine
On Nov 13, 2007 5:23 PM, vgvallee [EMAIL PROTECTED] wrote: I'm using Ext.js and got the same problem for a script running in the Ext.onReady function call which is supposed to run before the onload event. I just put the following line before the definition of that function and I didn't get

Re: [OpenLayers-Users] Making Maps available in OpenLayers

2007-11-14 Thread Eric Lemoine
On Nov 14, 2007 7:52 PM, Juan Jose Del Toro Madrueño [EMAIL PROTECTED] wrote: Dear List; How can I make information available to every user of openlayers, similar to Google Map's strret/road info; that information is of public access here in Mexico and I would like to be able to see it in OL.

<    2   3   4   5   6   7   8   >