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
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
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
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
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
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
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
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
(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
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
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
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{
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
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
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
. 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
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
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
!
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
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
_______
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
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
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
.
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
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
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
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);
/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
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
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
',
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
',
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
32 matches
Mail list logo