Re: [OpenLayers-Users] WMS Map request

2010-07-06 Thread Bart van den Eijnden (OSGIS)
Hi, use singleTile: true and ratio: 1 in your layer options. Best regards, Bart Hi Group, I am trying to configure my WMS service with OpenLayers. My script looks below script type=text/javascript //var map = new OpenLayers.Map('map',{maxResolution: 1000} ); var map = new

Re: [OpenLayers-Users] WMS Map request

2010-07-06 Thread Kalyan Kamepalli
I Solved it. It's the problem with resolution. I changed the resolution from 1000 to 800 and that solved my problem. Is there a start/begin document for Open Layers ? other than that example developments ?? On Tue, Jul 6, 2010 at 4:02 PM, Bart van den Eijnden (OSGIS) bart...@osgis.nl

Re: [OpenLayers-Users] Custom EditingToolbar displays the wrong button icon

2010-07-06 Thread Adrian Popa
Any ideas? I thought of changing the icon for the button (as a hack), but the trouble is - I need to add two buttons and both of them display the same icon - so I can't use that approach. Is there another way I can build my toolbar and specify what items to show? Any existing examples?

Re: [OpenLayers-Users] Custom EditingToolbar displays the wrong button icon

2010-07-06 Thread Adrian Popa
Update - I've upgraded from OpenLayers 2.8 to 2.9.1 and the issue is fixed. :) The toolbar looks fine now. Should have tried to update sooner... Regards, Adrian ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Select notifiers Map Markers

2010-07-06 Thread Kalyan Kamepalli
Hello group, I have a WMS base map on OpenLayers and I want to use my web servers select web service to know the feature information or get notified of the selected feature. How do I get notified when the user select or click on the map ? Is there any default select notifiers/listeners available

Re: [OpenLayers-Users] Google-Maps with WMS layer from GeoServer, printing problem in IE

2010-07-06 Thread SSA
Solved. I had to remove opacity:0.80 in the WMS call from openlayers. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Google-Maps-with-WMS-layer-from-GeoServer-printing-problem-in-IE-tp5259533p5259911.html Sent from the OpenLayers Users mailing list archive at

Re: [OpenLayers-Users] Custom EditingToolbar displays the wrong button icon

2010-07-06 Thread Adrian Popa
Well, I ran into the same problem while adding a custom button (revert changes). Here's my code: //overload the EditingToolbar initialize function: OpenLayers.Control.EditingToolbar.prototype.initialize = function(layer, options){

Re: [OpenLayers-Users] Select notifiers Map Markers

2010-07-06 Thread Lennox Antoine
You should check out the examples, I believe all those questions are covered there : http://openlayers.org/dev/examples/example-list.html Click Handler : http://openlayers.org/dev/examples/click.html WMS Feature Information : http://openlayers.org/dev/examples/getfeatureinfo-popup.html Lennox

[OpenLayers-Users] Getting server output when using save strategy

2010-07-06 Thread Adrian Popa
Hello everyone, I'm trying to create a callback function for the save strategy so that I can display a status message for the user in case there are problems with saving their changes (e.g. - session expired, etc). I want the serverside script to send back a JSON formatted string that would

[OpenLayers-Users] hardcoded gml:featureMemeber of WFS layer in openlayers ?

2010-07-06 Thread Guðmundur Jökulsson
hi everyone, I have a problem adding a WFS request as overlay on the openlayers map. Is there a way to tell it to search for other featureProperty elements then the basic gml:featureMember ? Is it realy hard-coded into the parser source that the featureProperty name shall be gml:featureMember ?

Re: [OpenLayers-Users] Google EPSG:900913 and Italian EPSG:3003

2010-07-06 Thread Kiks
Ok, thanks, now I manage in overlapping layers, but I still have a little accurance problem: it seems that there are around 20 meters of distance between the same point in google and in my maps. Phil Scadden wrote: but the google satellite map is not beeing reprojected... As far as I

Re: [OpenLayers-Users] hardcoded gml:featureMemeber of WFS layer in openlayers ?

2010-07-06 Thread Bart van den Eijnden (OSGIS)
Hi, basically this requires writing your own format, which can extend OpenLayers.Format.GML.v3. OpenLayers only supports the GML 3.1.1 Simple Features profile out of the box: http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd It should not be too hard to write the

Re: [OpenLayers-Users] Google EPSG:900913 and Italian EPSG:3003

2010-07-06 Thread Umberto Nicoletti
You're probably missing some params in the epsg definition of 3003. it should look like this: +proj=tmerc +lat_0=0 +lon_0=9 +k=0.999600 +x_0=150 +y_0=0 +ellps=intl +units=m +no_defs +towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 +to +proj=latlong +datum=WGS84 the important bits are

[OpenLayers-Users] Load GML layer from text field?

2010-07-06 Thread aznan
Hi! I want to show a GML polygon that I get from a web service on the map. All the examples of showing GML makes me load an XML file as in the gml-layer.html example: map.addLayer(new OpenLayers.Layer.GML(GML, gml/polygon.xml)); I don't know how to load GML on the fly without a prepared file.

Re: [OpenLayers-Users] Load GML layer from text field?

2010-07-06 Thread Bart van den Eijnden (OSGIS)
Check out the vector-formats.html example. Best regards, Bart Hi! I want to show a GML polygon that I get from a web service on the map. All the examples of showing GML makes me load an XML file as in the gml-layer.html example: map.addLayer(new OpenLayers.Layer.GML(GML,