Re: [OpenLayers-Users] Markers with dymamically changing appearance

2010-08-11 Thread Bart van den Eijnden (OSGIS)
Hi, have you considered using a vector layer with an externalGraphic instead? It should be fairly easy to change the appearance of that through the asscioated styles and redraw the features. Best regards, Bart New to Openlayers. Great project, many thanks to all who put so much work into

[OpenLayers-Users] How to refresh a layer every N seconds?

2010-08-11 Thread geekjack
As the title said,I want one of the layers refreshed every N seconds,I have find some useful articles like that: http://dev.openlayers.org/apidocs/files/OpenLayers/Strategy/Refresh-js.html and http://trac.openlayers.org/ticket/2317. But i just cannot understand it well .Could someone post

Re: [OpenLayers-Users] How to refresh a layer every N seconds?

2010-08-11 Thread Zac Spitzer
from quickly looking at the patches from the trac ticket and the source code you just need to pass in the interval option to the strategy like {interval: 5000} for 5s ? z On 11 August 2010 17:39, geekjack geekj...@163.com wrote: As the title said,I want one of the layers refreshed every N

Re: [OpenLayers-Users] Using overview map, no layers showing up

2010-08-11 Thread Sarah Schuessler
Hi, did you try this: var redgisOverview = new OpenLayers.Control.OverviewMap(options); where options are projection, units, maxExtent. best regards Sarah ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] Markers with dymamically changing appearance

2010-08-11 Thread Bart van den Eijnden (OSGIS)
Hi, please always cc the list, since I don't know all the answers and people with similar issues can find it in the e-mail archives later on. Your first question: I don't know. Redrawing can be done using: feature.layer.drawFeature(feature);

Re: [OpenLayers-Users] Customizing OpenLayers JS file

2010-08-11 Thread Franz Buchinger
You don't need to run build.py as you've already downloaded a customized openlayers build. Your problem looks like a theme/css issue, your openlayers build can't find the css files for the map theme. Make sure your customized_openlayers.js is in the root directory of openlayers (with the

[OpenLayers-Users] Screen-relative feature drawing?

2010-08-11 Thread guy...@relevantlogic.com
I want to draw my own pin (because I want to make their appearance dynamic). Other comments on this list suggest I would create a feature using the geometry primitives. Which is fine, but what I really need to do is to specify one point in latlong, the rest in relative coordinates (2 em up and

Re: [OpenLayers-Users] Markers with dymamically changing appearance

2010-08-11 Thread Sveen Atle Frenvik (Geomatikk IKT)
Regarding the first question: i did something like this in order to create a rectangle of a given pixel size centered on a coordinate on the map (to make a print tool).. the relevant code parts are: first i set up some choices for paper sizes //the available paper sizes papers: {

[OpenLayers-Users] Map Layer Refresh/Rerequest

2010-08-11 Thread Jones, Christopher
Hi all I have added a location search function to my web app which recentres the map at a given lat long (eg Berlin). However, the map window on recentreing goes grey. Is there a way to rerequest the map tiles or refresh the map etc? Thanks in advance Chris IMPORTANT - This

Re: [OpenLayers-Users] Markers with dymamically changing appearance

2010-08-11 Thread Guyren G Howe
On Aug 11, 2010, at 2:18 , Sveen Atle Frenvik (Geomatikk IKT) wrote: var center = this.map.getLonLatFromPixel(new OpenLayers.Pixel(centerPx.x,centerPx.y)); var leftBottom = this.map.getLonLatFromPixel(new OpenLayers.Pixel(centerPx.x-addX, centerPx.y+addY)); var

Re: [OpenLayers-Users] Displaying images even at the edge of the screen

2010-08-11 Thread Tpi
Again thanks for bothering to reply, I know I'm not be the most experienced with OpenLayers yet, so it might be beginner questions. I've been trying to use Layer.Image, but I can't figure out how to place it correctly, that's why I've used a point feature, since I can just place it on a LonLat

[OpenLayers-Users] Qt webkit-browser does not show linestrings

2010-08-11 Thread Mehmet Sirin
Hi, I got a little web-browser which is created with qt. When calling the website every component is shown without problems, every component of OpenLayers is rendered as well. Just one feature-type is laughing about me, because it just disappears when panning the map or zooming inside/outside.

[OpenLayers-Users] how can I get layers in a layer?

2010-08-11 Thread Selen Sonmez
Hi; Are there any methods or properties to reach these sublayers directly over ArcGIS93Rest without using esri service? My layer is ; openLayer = new OpenLayers.Layer.ArcGIS93Rest(ArcGIS Server Layer, url, { layers:

[OpenLayers-Users] Trouble adding ModifyFeature control to EditingPanel

2010-08-11 Thread Matti Hansson
Hi! I want an EditingPanel with an additional modify control in my map. After following the Customizing an existing panel example ( http://docs.openlayers.org/library/controls.html#customizing-an-existing-panel ), I have this: controls = [ new OpenLayers.Control.DrawFeature(drawLayer,

Re: [OpenLayers-Users] Using overview map, no layers showing up

2010-08-11 Thread Planet)x
Hi, thanks for the advice.. however I tried this - //set options for overview map var options = { resolutions: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125], minScale: 100,

[OpenLayers-Users] Some help with persistent layers and web server reponses.

2010-08-11 Thread Nathan Silver
Hello all, I've looked at Peter Robbins' example of a persistent layer using GeoJSON (http://maps.peterrobins.co.uk/files/ol6.html) which is well behaved. I've been trying to duplicate the entire structure. I have my own IIS 7.5 running on Windows 7 which in turn is connected to a SQL Server

Re: [OpenLayers-Users] Some help with persistent layers and web server reponses.

2010-08-11 Thread Eric Lemoine
On Wednesday, August 11, 2010, Nathan Silver nsil...@imagesensingca.com wrote: Hello all, I’ve looked at  Peter Robbins’ example of a persistent layer using GeoJSON (http://maps.peterrobins.co.uk/files/ol6.html) which is well behaved. I’ve been trying to duplicate the entire

Re: [OpenLayers-Users] Some help with persistent layers and web server reponses.

2010-08-11 Thread Nathan Silver
-Original Message- From: Eric Lemoine [mailto:eric.lemo...@camptocamp.com] Sent: Wednesday, August 11, 2010 12:19 PM To: Nathan Silver Cc: Users@openlayers.org Subject: Re: [OpenLayers-Users] Some help with persistent layers and web server reponses. On Wednesday, August 11,

[OpenLayers-Users] get markers from layers?

2010-08-11 Thread ulao
I need to devise a way to get an array of markers from a layer... I see this in the docs OpenLayers. Layer. Markers but under the Layer class there is no Marker array ? for example I tried this var test = Map.layers alert ( test.markers ) // undefined alert ( test.Markers ) // undefined I

[OpenLayers-Users] extract WKT for selected features?

2010-08-11 Thread Alexander Petkov
I am trying to extract the WKT for a geometry selected with a GetFeature control, like in this example: http://openlayers.org/dev/examples/getfeature-wfs.html For now the solution is eluding me, I will greatly appreciate some pointers. Alex ___ Users

Re: [OpenLayers-Users] extract WKT for selected features?

2010-08-11 Thread BMcBride
Have a look at the http://openlayers.org/dev/examples/vector-formats.html Vector Formats Example . - Bryan R. McBride, GISP http://www.bryanmcbride.com bryanmcbride.com http://geoserving.net/ geoserving.net -- View this message in context:

[OpenLayers-Users] export map issues

2010-08-11 Thread DevHour
Currently I am trying to export maps to a canvas element by using the example posted at http://trac.openlayers.org/browser/sandbox/camptocamp/canvas/openlayers/examples/exportMapCanvas.html by tsauerwein. So far i've grabbed that html file and the exportMap.js file. The issue i'm having is