Hi All. I want to do some code that saves where the user has zoomed and
panned to in to a session variable. This will mean when they come back to a
map it is where they left off.
I have got it currently running with a map.events.register(click But
this event is not raised if the user pans by
Hello,
You can use the event moveend to be notified for zoom and pan/drag
events. It is fired when the user releases the mouse button or click on
the zoombar.
map.events.register('moveend', myEventHandler, myEventHandler.onMoveend);
Greetings,
Gabriel Neumann
Richard Thurbin wrote:
Hi All.
Hi,
i tried to change the position of the LayerSwitcher but were not really
successfully!
first, I placed the layerswitcher outside the map and I tried to change the
position within the div tag but that had no effect, it still remained top
right.
next, I changed the layerswitcher.js, that
Hi,
write your own layerswitcher!
with map.addLayer and map.removeLayer
maybe this will help (function createLayer):
http://rips-uis.lubw.baden-wuerttemberg.de/rips/wms_viewer/openlayer_test/OpenLayers.php
R. Ortner [EMAIL PROTECTED] 11/13/07 9:58
Hi,
i tried to change the position of
The problem is, that a change of the entries in the style.css rexpectively my
own made style.css have no effect.
I tried to change there the color of the background but there was no change
respectively the color were overwritten by maybe some hardcoded code.
how can I make the style.css work for
This LayerSwitcher is awesome! thanks for the link!!
Armin Wäspy wrote:
Hi,
write your own layerswitcher!
with map.addLayer and map.removeLayer
maybe this will help (function createLayer):
http://rips-uis.lubw.baden-wuerttemberg.de/rips/wms_viewer/openlayer_test/OpenLayers.php
Hi R,
I think, it is really working as it should:
If I take the code of the example of:
http://www.openlayers.org/dev/examples/custom-style.html
and add a layerswithcher as in
http://www.openlayers.org/dev/examples/layerswitcher.html
I can change styles like position etc in a css style blok in
Hi,
How can I include a search ? I am displaying the topp:states layer along
with google map with openlayers. I also want to include a textbox where I
can key in the state name to search. How will geoserver do the WFS part?
Can it be done with Geojson .
Thanks,
--
View this message in
Hello,
I have a map with 2 different map layers . The 2 map layers have different
extents, e.g. one map layer is an Africa map and the other layer is an
Australia map. When the client toggles between these layers the maps shall
always center to predefined locations (e.g. (20,15) for Africa and
Hi list,
I am sending a HTTP GET request to Geoserver through proxy.cgi, but
something goes wrong since proxy.cgi seems to decode the url.
I ended up using both Ext.urlEncode and escape to get things to work, but
ofcourse this seems a bit unclean :-)
Any ideas on what a correct solution would
Richard,
I do this with the following event:
map.events.register('moveend', map, function (e) {
mapBounds = map.getExtent();
// Do your stuff here...set cookiesset variables...
Event.stop(e);
});
Linda Rawson
On Nov 13, 2007 1:33 AM, Richard Thurbin [EMAIL PROTECTED]
wrote:
Hi All. I
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 the error anymore.
document.namespaces;
Ext.onReady(.);
--
I have a vector layer displayed, with a number of features visible.
I have a select control active, so when I click on a feature, it becomes
selected.
If I click on another feature, the new feature becomes selected, and the
feature that was selected becomes unselected.
How do I unselect a
On Nov 13, 2007 6:19 PM, Jeff Dege [EMAIL PROTECTED] wrote:
I have a vector layer displayed, with a number of features visible.
I have a select control active, so when I click on a feature, it becomes
selected.
If I click on another feature, the new feature becomes selected, and the
feature
Why did I never try that?
Thanks.
-Original Message-
From: Eric Lemoine [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 13, 2007 12:39 PM
To: Jeff Dege
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] How do I unselect a feature?
On Nov 13, 2007 6:19 PM, Jeff Dege
On Tue, 2007-11-13 at 08:08 +0100, Pierre GIRAUD wrote:
There is a more recent work available in Paul Spencer's sandbox :
http://dev.openlayers.org/sandbox/pagameba/transition/examples/transition.html
Hi,
I love the untiled animated one. Although sometimes zooming in causes
the base layer
Hello,
I've been doing some testing in IE7 and noticed that sometimes pink
tiles show up. I have my IMAGE_RELOAD_ATTEMPTS set to 8, but on further
investigation I noticed that the onImageLoadError function never gets
executed in Util.js.
Are there any known problems with IE7 and the
Hi Ben,
On Tue, 2007-11-13 at 18:05 -0800, Ben Brehmer wrote:
I'm using version 2.4-rc5.
Can you try the most recent version (2.5) of OL and see if the problem
still exists? If so, you can see if anybody experienced a similar thing
before and created a ticket: http://trac.openlayers.org/search
18 matches
Mail list logo