From wo_wienke at gmx.net Fri Aug 7 10:55:37 2015 From: wo_wienke at gmx.net (Wolfgang Wienke) Date: Fri, 07 Aug 2015 19:55:37 +0200 Subject: [OpenLayers-Users] Text is moving over the map Message-ID: <55C4F119.7050603@gmx.net> Hi, please help a dummy! Why ist the text moving over the map when zooming?

Hallo Welt

-- mit freundlichen Gr?ssen Wolfgang Wienke From ronan2575 at yahoo.com Wed Aug 12 05:21:27 2015 From: ronan2575 at yahoo.com (Ronan2575) Date: Wed, 12 Aug 2015 05:21:27 -0700 (PDT) Subject: [OpenLayers-Users] Align map under vector layer and make vector lines transparent Message-ID: <1439382087291-5219522.post@n6.nabble.com> I am displaying an Indoor map, originally drawn on AutoCad, then put through QGIS to make the KLM file, the KML file is used in the system for the co-ordinates of the map. I want to have the original map (drawn in Autocad) to be the map on display, instead of seeing the red outlines (vector lines). I want the image aligned with the vector map, and the red line (vector lines) made transparent, The reason we need to do this is the vector map lines, are to solid, no doors, windows, room names not visible etc. How can I do this? Any help greatly appreciated . -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Align-map-under-vector-layer-and-make-vector-lines-transparent-tp5219522.html Sent from the OpenLayers Users mailing list archive at Nabble.com. From dominikabraham at gmail.com Tue Aug 25 02:17:27 2015 From: dominikabraham at gmail.com (=?UTF-8?Q?Dominik_Abrah=C3=A1m?=) Date: Tue, 25 Aug 2015 11:17:27 +0200 Subject: [OpenLayers-Users] =?utf-8?q?GeoServer_WPS_process_fail_with_Open?= =?utf-8?q?Layers_2=3A_=E2=80=9CThe_request_body_should_be_containe?= =?utf-8?q?d_in_a_CDATA_section=E2=80=9D?= Message-ID: Hi, I am trying to create an application with WPS builder like this: http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/wps.html When input format = "text/xml; subtype=wfs-collection/1.0", it creates input field for name of the layer on my server: function addWFSCollectionInput(input) { var name = input.identifier; var field = document.createElement("input"); field.title = input["abstract"]; field.value = name + " (layer on the server)"; addValueHandlers(field, function() { input.reference = field.value ? { mimeType: "text/xml; subtype=wfs-collection/1.0", href: "http://46.28.111.137:8080/geoserver2711/wfs", method: "POST", body: { wfs: { version: "1.0.0", outputFormat: "GML2", featureType: field.value } } } : undefined; }); document.getElementById("input").appendChild(field); } This input is required for example by algorithms gs:Clip and gs:Aggregate. When I'm trying to run some of these algorithms, it returns this kind of result: gs:ClipClipClips (crops) features to a given geometryThe request body should be contained in a CDATA section, otherwise it will get parsed as XML instead of being preserved as is How can I fix it? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsantos5954 at gmail.com Wed Aug 26 09:58:18 2015 From: jsantos5954 at gmail.com (Jsantos) Date: Wed, 26 Aug 2015 09:58:18 -0700 (PDT) Subject: [OpenLayers-Users] Obtaining Layer name when clicking on the map Message-ID: <1440608298811-5221269.post@n6.nabble.com> Hello all, I have 4 layers in the map and need to determine the layer that I clicked in. I have the following code inside map.on('singleclick', function (evt) , but feature is always undefined. var displayFeatureInfo = function(pixel ) { var feature = map.forEachFeatureAtPixel(pixel, function(feature, layer) { return feature; }); My layers are like this one: var wmsSourceWatermains = new ol.source.TileWMS({ url: 'http://192.168.1.113:8080/geoserver/wms', params: { 'LAYERS': 'watermains' }, serverType: 'geoserver' }); I create the layers with : var layers = [ new ol.layer.Tile({ source: new ol.source.OSM() }), new ol.layer.Tile({ source: wmsSourcePzones }), new ol.layer.Tile({ source: wmsSourcePrv_stns }), new ol.layer.Tile({ source: wmsSourceWatermains }), ]; Any help will be very much appreciated. TIA Jsantos -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Obtaining-Layer-name-when-clicking-on-the-map-tp5221269.html Sent from the OpenLayers Users mailing list archive at Nabble.com.