[OpenLayers-Users] WMC - Loading layers as 'not' baseLayers

2009-03-05 Thread James Leveille
Hi, I'm loading a context as follow : [...] var wmc = new OpenLayers.Format.WMC (); wmc.read ( oHttpRequest.responseText, {map: map}); [...] It works fine but all the layers are loaded as base layers. Since I dont want those to be base layers, I've tried :

Re: [OpenLayers-Users] WMC - Loading layers as 'not' baseLayers

2009-03-05 Thread Bart van den Eijnden (OSGIS)
Hi, use {layerOptions: {isBaseLayer: false}} in the constructor of Format.WMC. Best regards, Bart James Leveille wrote: Hi, I'm loading a context as follow : [...] var wmc = new OpenLayers.Format.WMC (); wmc.read ( oHttpRequest.responseText, {map: map}); [...] It works fine but

Re: [OpenLayers-Users] WMC - Loading layers as 'not' baseLayers

2009-03-05 Thread Christopher Schmidt
On Thu, Mar 05, 2009 at 08:28:14AM -0500, James Leveille wrote: Hi, I'm loading a context as follow : [...] var wmc = new OpenLayers.Format.WMC (); wmc.read ( oHttpRequest.responseText, {map: map}); [...] It works fine but all the layers are loaded as base layers. Since I dont

Re: [OpenLayers-Users] Question about selected feature

2009-03-05 Thread Alexandre Dube
Hi, I don't have an answer for what you need. But, here's a demo I did (1). Maybe it's close to what you need to achieve. You could imagine that hovering a feature would just highlight it and clicking on it would select it and open a popup. Regards, Alexandre (1)

Re: [OpenLayers-Users] Question about selected feature

2009-03-05 Thread Jan van der Ven
Hi, Normally Ctrl-Click deselects and Shift-Click adds a feature to the selection. This behaviour can be modified with the clickout property. See http://openlayers.org/dev/examples/ keyword select. Kind regards, Jan -Original Message- From: users-boun...@openlayers.org

[OpenLayers-Users] Curved line over a polygon?

2009-03-05 Thread SebastienLachance
I am using OpenLayers to allow users to place a four-points polygon over an image layer. Lately, the client want to add a line over the feature like this : http://farm4.static.flickr.com/3555/3330714055_8bd9cfb58e.jpg?v=0 http://farm4.static.flickr.com/3555/3330714055_8bd9cfb58e.jpg?v=0 When

[OpenLayers-Users] how to add a non-base layer?

2009-03-05 Thread MeLv1n wAuRaN
hi all, how do you add an overlay layer to openlayers? i have 7 ESRI shapefiles (POINT) that i want to display. So far i only get examples on google map layers, but i don't see examples on how to add more than 1 non-base layers in a shapefile format. Below is my simple code: html head

[OpenLayers-Users] Deleting a feature

2009-03-05 Thread Dave Potts
Its possible to create a feature on map using routines such as DrawFeature, but how do you delete a feature once its been created? Dave. begin:vcard fn:David Potts n:Potts;David x-mozilla-html:FALSE version:2.1 end:vcard ___ Users mailing list

Re: [OpenLayers-Users] how to add a non-base layer?

2009-03-05 Thread Robert Sanson
Hi Melvin Just include them in the layers parameter with commas between in your WMS call eg: var topowms = new OpenLayers.Layer.WMS( Topos, http://10.64.20.120/cgi-bin/gsswms.exe?;, {layers:

Re: [OpenLayers-Users] ArcGIS Server 9.3 example code?

2009-03-05 Thread Linde Ackermans
Hello, Not sure what you want exactly, but I suppose you want an example on how to call for a WMS service served by ArcGis Server 9.3 ? This is how : ... var map = new OpenLayers.Map($('olmap')); var boundaries = new OpenLayers.Layer.WMS(Layer1,

Re: [OpenLayers-Users] ArcGIS Server 9.3 example code?

2009-03-05 Thread Linde Ackermans
Sorry, there was a mistake in the code snippet : it should be : map.addLayers([boundaries, urbanaudit]); map.addLayers([Layer1, Layer2]); -- View this message in context: http://n2.nabble.com/ArcGIS-Server-9.3-example-code--tp2427664p2434431.html Sent from the OpenLayers Users