I'm a new user of OL and would like some help with getting feature
names from GML.
I have a layer based on a GML file with several polygons in it.
Using the select-feature-openpopup example I am able to highlight
each polygon and display a popup which gives the feature's ID
(feature.id)
Hi,
POST is not possible, because map tiles are loaded into img/
elements. What you could do, however, is use CQL filters instead of
SQL strings. These are usually shorter. Not sure if Mapserver supports
these though.
Another thing you could do is use OGC filters and build an SLD
dynamically. If
Hi,
On Mon, Jul 6, 2009 at 8:11 AM, Anthony Masintonamasin...@gmail.com wrote:
I'm a new user of OL and would like some help with getting feature
names from GML.
I have a layer based on a GML file with several polygons in it.
Using the select-feature-openpopup example I am able to highlight
Hi,
On Sat, Jul 4, 2009 at 5:36 PM, Tom Bseil...@gmail.com wrote:
This thread suggested that there wasn't an elegant way to do this:
http://openlayers.org/pipermail/dev/2008-March/002665.html
Simply removing a layer still leaves some processing continuing in the
background. Has anyone found
Hi,
On Fri, Jul 3, 2009 at 11:19 PM, Axel Mülleraxel.muel...@avanux.de wrote:
Based on some parameters I change the zoom level using
map.setCenter(lonlat, zoom).
This works perfectly for OSM Mapnik layer but not for Google layer where
the pan zoom bar reflects the new zoom level but the map
On Sat, Jul 4, 2009 at 10:39 PM, Admin
TrouveTonGull.infocont...@trouvetongull.info wrote:
Hello,
i try to enable drag for georss markers with new
OpenLayers.Control.DragFeature()
but my markers are always not dragable :( What is wrong?
Hard to tell without seeing your code. But I would
Andreas Hocevar a écrit :
Hard to tell without seeing your code.
oups sorry, my map: http://www.trouvetongull.info/carte/
But I would gess you are using
an OpenLayers.Layer.Markers or OpenLayers.Layer.GeoRSS. The
DragFeature control only works with vector layers (Layer.Vector,
Layer.GML,
Hi,
See
http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Control/DragFeature-js.html#OpenLayers.Control.DragFeature.OpenLayers.Control.DragFeature
You need to configure the DragFeature control with the layer that
contains the features you want to drag.
Regards,
Andreas Hocevar a écrit :
You need to configure the DragFeature control with the layer that
contains the features you want to drag.
I try to make
new OpenLayers.Control.DragFeature(name_layer1, name_layer2),
with my layers but no change :( It's a bad syntax?
thanks,
Fred
Hi,
You can use raiseLayer to make sure the markers are on top
http://dev.openlayers.org/docs/files/OpenLayers/Map-js.html#OpenLayers.Map.raiseLayer
Steve
Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Hi,
On Mon, Jul 6, 2009 at 1:55 PM, Admin
TrouveTonGull.infocont...@trouvetongull.info wrote:
Andreas Hocevar a écrit :
You need to configure the DragFeature control with the layer that
contains the features you want to drag.
I try to make
new OpenLayers.Control.DragFeature(name_layer1,
Hi Andreas,
Great, thanks.
In case anyone else is trying to do this, I needed to call .destroy() on the
layer for this to work (not sure if that's clear from the changeset). Just
calling map.removeLayer() resulted in HTTP requests for WMS images
continuing to be made after the layer was
I have a vector layer with a WFS protocol and filter as below
var impactlocptlayer = new OpenLayers.Layer.Vector(Editable Features, {
strategies: [new
OpenLayers.Strategy.BBOX(), saveStrategy],
Hi,
On Mon, Jul 6, 2009 at 4:38 PM, Lak
Krishnanlakshmanan.krish...@mecklenburgcountync.gov wrote:
I have a vector layer with a WFS protocol and filter as below
var impactlocptlayer = new OpenLayers.Layer.Vector(Editable Features, {
strategies:
That doesn't seem to work for me.
Andreas Hocevar-2 wrote:
Hi,
On Mon, Jul 6, 2009 at 4:38 PM, Lak
Krishnanlakshmanan.krish...@mecklenburgcountync.gov wrote:
I have a vector layer with a WFS protocol and filter as below
var impactlocptlayer = new OpenLayers.Layer.Vector(Editable
I try to make
new OpenLayers.Control.DragFeature(name_layer1, name_layer2),
with my layers but no change :( It's a bad syntax?
1) Control.DragFeature only supports one layer
2) You have to pass the layer object, not the layer name. This
requires of course that your layer is created
Hello,
i try
var movemap = new OpenLayers.Control.Navigation({'zoomWheelEnabled':
false});
movemap.disableZoomWheel();
controls = map.getControlsByClass('OpenLayers.Control.Navigation');
for(var I = 0; icontrols.length; ++i)
controls.disableZoomWheel();
but don't work :(
Hi,
when creating your map pass an array of controls with the right
settings, so:
var map = new OpenLayers.Map(mydiv, {controls: [ new
OpenLayers.Control.Navigation({zoomWheelEnabled: false}),
new OpenLayers.Control.PanZoom(),
Bart van den Eijnden (OSGIS) a écrit :
Best regards,
Bart
Oh thanks! :)
Bye,
Fred
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
On Mon, Jul 6, 2009 at 7:25 PM, Admin
TrouveTonGull.infocont...@trouvetongull.info wrote:
I try to make
new OpenLayers.Control.DragFeature(name_layer1, name_layer2),
with my layers but no change :( It's a bad syntax?
1) Control.DragFeature only supports one layer
2) You have to pass the
Hi,
On Mon, Jul 6, 2009 at 6:58 PM, Lak
Krishnanlakshmanan.krish...@mecklenburgcountync.gov wrote:
That doesn't seem to work for me.
After setting your new filter, try
impactlocptlayer.refresh({force: true});
instead.
Regards,
Andreas.
Andreas Hocevar-2 wrote:
Hi,
On Mon, Jul 6,
That works!
Thanks,
Lak Krishnan
From: Andreas Hocevar-2 (via Nabble)
[mailto:ml-user+68206-1629903...@n2.nabble.com]
Sent: Monday, July 06, 2009 1:57 PM
To: Krishnan, Lakshmanan
Subject: Re: [OpenLayers-Users] Change filter on vector layer
Hi,
On Mon,
Hi all,
It's been a couple of day that I'm trying to understand why after a
addFeature method on my vector layer the feature are not displayed even if I
do a redraw of the layer.
But after a pan or zoom on the map the feature appear.
Do you know where I've made a mistake?
Best regards
Arnaud
Andrea,
Andreas Hocevar wrote:
Based on some parameters I change the zoom level using
map.setCenter(lonlat, zoom).
This works perfectly for OSM Mapnik layer but not for Google layer where
the pan zoom bar reflects the new zoom level but the map itself still
shows the previous zoom level. Am I
24 matches
Mail list logo