Re: [OpenLayers-Users] mousedown

2009-05-05 Thread Greg Ederer
Is there some way to register a callback to handle mousedown? I really need this to get my user interface working properly. Cheers, Greg On May 5, 2009, at 9:59 AM, Eric Lemoine wrote: On Monday, May 4, 2009, Greg Ederer g...@ergonosis.com wrote: For reference, here's my code so far

Re: [OpenLayers-Users] mousedown

2009-05-04 Thread Greg Ederer
On May 4, 2009, at 10:16 AM, Greg Ederer wrote: Hi, I need to capture mousedown events on a Map. I'm using a custom OpenLayers.Control.Click for click and dblclick. But, Click does not appear to handle mousedown events. Any suggestions? Thanks! Greg

[OpenLayers-Users] Layer.opacity is always null

2008-12-16 Thread Greg Ederer
Hi, I saw an earlier post that recommended using the opacity property to access the opacity value of a layer; however, on my OpenLayers.Layer.WMS layers, the opacity property always contains a null value. Any suggestions? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer

Re: [OpenLayers-Users] Layer.opacity is always null

2008-12-16 Thread Greg Ederer
Christopher Schmidt wrote: On Tue, Dec 16, 2008 at 03:58:53PM -0800, Greg Ederer wrote: Hi, I saw an earlier post that recommended using the opacity property to access the opacity value of a layer; however, on my OpenLayers.Layer.WMS layers, the opacity property always contains

Re: [OpenLayers-Users] Layer.opacity is always null

2008-12-16 Thread Greg Ederer
My bad. I was setting opacity after I read it. This was part of a complex execution sequence. Sorry for the trouble! Thanks, again. Greg Christopher Schmidt wrote: On Tue, Dec 16, 2008 at 04:39:38PM -0800, Greg Ederer wrote: I might be able to get the opacity value by examining

[OpenLayers-Users] Suppress zoom on rezize

2008-10-25 Thread Greg Ederer
Hi, I have an application where users are able to resize maps. When a resize occurs, this triggers a zoom event. Is there a way to suppress the zoom? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848

[OpenLayers-Users] Handler.Click: How to get reference to map in event handlers

2008-10-22 Thread Greg Ederer
Hi, Is the event handlers in the Handler.Click example receive an event object as their single argument. Is there a convenient way to get a reference to the map that was clicked? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848

Re: [OpenLayers-Users] Handler.Click: How to get reference to map in event handlers

2008-10-22 Thread Greg Ederer
Found it: this.map Cheer, Greg Greg Ederer wrote: Hi, Is the event handlers in the Handler.Click example receive an event object as their single argument. Is there a convenient way to get a reference to the map that was clicked? Thanks! Greg -- | E R G O N O S I S | Greg

[OpenLayers-Users] Interesting Firebug exception report

2008-10-22 Thread Greg Ederer
(within an OpenLayers.Control.Click click handler). this.launchTimeSeries does get called even when I get the exception. Any thoughts? Cheers, Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848 | ___ Users

Re: [OpenLayers-Users] Interesting Firebug exception report

2008-10-22 Thread Greg Ederer
I solved this. Bad wms URL. Cheers, Greg Greg Ederer wrote: Hi, I got the following exception: uncaught exception: [Exception... Illegal operation on WrappedNative prototype object nsresult: 0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO) location: JS frame :: http://localhost:8080

[OpenLayers-Users] Update: Interesting Firebug exception report

2008-10-22 Thread Greg Ederer
Huh. I fixed the URL, and I still get the exception on the first click. Greg Ederer wrote: I solved this. Bad wms URL. Cheers, Greg Greg Ederer wrote: Hi, I got the following exception: uncaught exception: [Exception... "Illegal operation on WrappedNative prot

Re: [OpenLayers-Users] Update: Interesting Firebug exception report

2008-10-22 Thread Greg Ederer
ment.documentElement.appendChild(factory); } } } I'm not using Gears. Not sure what's causing this. Greg Greg Ederer wrote: The exception is traceable to OpenLayers.js (2.7) line 224: var factory=null;if(typeof GearsFactory!='undefined'){factory=new GearsFactory();}else{try{

Re: [OpenLayers-Users] Update: Interesting Firebug exception report

2008-10-22 Thread Greg Ederer
Zac Spitzer wrote: I am also seeing exactly the same problem, first click error, subsequent ones work On Thu, Oct 23, 2008 at 11:26 AM, Greg Ederer [EMAIL PROTECTED] wrote: Here's line 224 expanded: var factory=null; if(typeof GearsFactory!='undefined') { factory=new GearsFactory

Re: [OpenLayers-Users] Update: Interesting Firebug exception report

2008-10-22 Thread Greg Ederer
Cool. I wonder why. scratching head :) G Zac Spitzer wrote: yep, that's worked :) On Thu, Oct 23, 2008 at 2:41 PM, Greg Ederer [EMAIL PROTECTED] wrote: Hi Zac, Try removing OpenLayers.Event.stop(evt) at the end of your event handler method body. This seems to have fixed

Re: [OpenLayers-Users] Update: Interesting Firebug exception report

2008-10-22 Thread Greg Ederer
It is curious. I'll try to carve out some time to figure this out. Cheers, Greg Eric Lemoine wrote: This is an interesting one. Please keep the list informed on what you'll find out. Thanks. Eric 2008/10/23, Greg Ederer [EMAIL PROTECTED]: Hi Zac, Try removing OpenLayers.Event.stop

[OpenLayers-Users] Both single and double clicks on a map

2008-10-20 Thread Greg Ederer
. Is there a way to cancel the click behavior when a double click occurs? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848 | ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman

Re: [OpenLayers-Users] Both single and double clicks on a map

2008-10-20 Thread Greg Ederer
Ah, I see. Thanks! Greg Eric Lemoine wrote: Yes, use Handler.Click. There is a usage example in OpenLayers' examples dir. Eric 2008/10/20, Greg Ederer [EMAIL PROTECTED]: Hi, Double clicking on a map zooms, which is a nice built-in. I have also registered a click event handler

Re: [OpenLayers-Users] OpenLayers Dojo widget

2008-10-16 Thread Greg Ederer
Brugsesteenweg 587 B-9030 Gent Belgium T: +32 9 236 61 96 F: +32 9 236 54 12 E: [EMAIL PROTECTED] W: www.dfc.be -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Ederer Sent: maandag 13 oktober 2008 19:03 To: users@openlayers.org Subject: [OpenLayers

[OpenLayers-Users] Swapping the base layer

2008-10-16 Thread Greg Ederer
! Cheers, Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848 | ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] OpenLayers Dojo widget

2008-10-14 Thread Greg Ederer
penLayers.Map('map'); ... } /script body class="tundra" ... div id="map" dojoType="dijit.layout.ContentPane" region="center" style="display:block; border:1px black solid;"/div ... /body _______

[OpenLayers-Users] OpenLayers Dojo widget

2008-10-13 Thread Greg Ederer
Just out of curiosity, has anyone made a Dojo _Contained subclass that wraps an OpenLayers Map? Cheers, Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848 | ___ Users mailing list Users@openlayers.org http

[OpenLayers-Users] Mouse coordinates in movable map

2008-10-12 Thread Greg Ederer
on it, the click is interpreted as if the the user clicked on whatever is twenty pixels to the right of where she clicked. Is there some way to update the offsets of the map mouse origin when the user drags the map? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL

Re: [OpenLayers-Users] Mouse coordinates in movable map

2008-10-12 Thread Greg Ederer
Awesome! Thanks! Greg Christopher Schmidt wrote: On Sun, Oct 12, 2008 at 01:26:12PM -0700, Greg Ederer wrote: Hi, This is an interesting problem (at least, I think so). I have placed a map inside a movable element (using dojo.dnd.Moveable) so that users can drag it around

[OpenLayers-Users] Sharing layers between maps

2008-10-12 Thread Greg Ederer
. Seems wasteful to download them again for each map. Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848 | ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Sharing layers between maps

2008-10-12 Thread Greg Ederer
Hi, Good to know. Thanks, Greg Eric Lemoine wrote: Hi. Layer instances are bound to a Map instance, so you can't add one layer to multiple maps. However, if you use tile layers, the tiles can be cached by the browser. Eric 2008/10/13, Greg Ederer [EMAIL PROTECTED]: Hi

[OpenLayers-Users] Controls not on top

2008-09-03 Thread Greg Ederer
Hi, I have a map with a couple of layers, and a number of controls. The controls do not appear on the top layer. What is the best way to guarantee that the controls are always on the top layer? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED

Re: [OpenLayers-Users] Multiple layers display

2008-08-15 Thread Greg Ederer
that's not it. Greg Ederer kirjoitti: Oh, and here's my code: wms = new OpenLayers.Layer.WMS( "esv:countries - Tiled", "http://localhost:8080/geoserver/wms", Snip map.addLayer(stationsLayer);

[OpenLayers-Users] this.initialize is undefined

2008-08-14 Thread Greg Ederer
/div /body ... When I load this page, however, I get this error in Firebug: this.initialize is undefined http://localhost:8080/EWE/scripts/OpenLayers/OpenLayers.js Line 69 Any suggestions? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848

Re: [OpenLayers-Users] this.initialize is undefined

2008-08-14 Thread Greg Ederer
ntries layer does not appear. Any ideas? Thanks! Greg Christopher Schmidt wrote: On Thu, Aug 14, 2008 at 01:08:31PM -0700, Greg Ederer wrote: function init() { map = OpenLayers.Map("map"); wms = new OpenLayers.Layer.WMS( ^^^ Compare these two line

[OpenLayers-Users] Multiple layers display

2008-08-14 Thread Greg Ederer
Hi, I have created two layers. I can add either of these layers to my map, and it displays correctly. But, when I add both layers, only the first one added appears. I'm probably making a simple, newbie mistake. Any suggestions? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead

Re: [OpenLayers-Users] this.initialize is undefined

2008-08-14 Thread Greg Ederer
', Arnd Wippermann Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Greg Ederer Gesendet: Donnerstag, 14. August 2008 22:23 An: Christopher Schmidt Cc: Openlayers Users List Betreff: Re: [OpenLayers-Users] this.initialize is undefined Thanks, Chris. I

Re: [OpenLayers-Users] Multiple layers display

2008-08-14 Thread Greg Ederer
', height: '550', srs: 'EPSG:4326', format: format, tiled: 'true', tilesOrigin : -21.339,-40.85165 }, { buffer: 0 } ); map.addLayer(stationsLayer); map.addLayer(wms); Thanks for taking a look! Greg Greg Ederer wrote: Hi, I have created