Re: [OpenLayers-Users] What image types are supported as icons served through KML?

2009-11-09 Thread Adrian Popa
Thank you, Then, based on your experience can you recommend a file format for my markers that would make them look good if I use the scale parameter? I guess the img parameter uses just raster image types - not vector images... Right now I use png... If memory serves me well (usually it does

[OpenLayers-Users] ScaleLine color & Scalebar

2009-11-09 Thread Aypes2
Dear all, I'd like to ask how to change to color of scaleline (OpenLayers.layer.ScaleLine)? It is displayed in black but my blackground color is also black in color. Apart from that, I found a example of using scalebar: http://dev.openlayers.org/addins/scalebar/trunk/examples/scalebar-custom.

Re: [OpenLayers-Users] Vector Layer, WFS Protocol and BBOX strategy problem

2009-11-09 Thread Andreas Hocevar
Hi, WFS 1.0.0 does not support on-the-fly reprojection. You have to use WFS 1.1.0, which is e.g. supported by GeoServer. And you have to specify the version on the protocol: Pedro Baracho wrote: > var layer = new OpenLayers.Layer.Vector("WFS", { > strategies: [new OpenLayers.S

Re: [OpenLayers-Users] Graphic line stroking?

2009-11-09 Thread Christopher Schmidt
On Mon, Nov 09, 2009 at 11:11:41AM -0800, Drew Toto wrote: > Hi all- > > I've done a lot of research in the past week on trying to figure out a > way to render lines using a repeating graphic or pattern for the stroke. > From what I can tell, it doesn't look like this feature is supported > curren

[OpenLayers-Users] Vector Layer, WFS Protocol and BBOX strategy problem

2009-11-09 Thread Pedro Baracho
Hey guys, I spent the last two days trying to figure out how to solve this problem and I couldn't. I have Spherical Mercator tutorial on reprojecting vector data and I still can't figure out what I am doing wrong. I am trying to overlay on Google Layer some vector data using WFS Protocol. My pro

[OpenLayers-Users] Graphic line stroking?

2009-11-09 Thread Drew Toto
Hi all- I've done a lot of research in the past week on trying to figure out a way to render lines using a repeating graphic or pattern for the stroke. >From what I can tell, it doesn't look like this feature is supported currently, as the underlying implementations (SVG, VML, Canvas) present prob

Re: [OpenLayers-Users] What image types are supported as icons served through KML?

2009-11-09 Thread Christopher Schmidt
On Mon, Nov 09, 2009 at 04:26:30PM +0200, Adrian Popa wrote: > Hello everyone, > > I just want to know - what image types are supported to be imported > through KML? I would like to convert my icons from PNG to SVG (which > looks better when scaled) - but I'm not sure if it will work. I don't b

[OpenLayers-Users] What image types are supported as icons served through KML?

2009-11-09 Thread Adrian Popa
Hello everyone, I just want to know - what image types are supported to be imported through KML? I would like to convert my icons from PNG to SVG (which looks better when scaled) - but I'm not sure if it will work. Is the limitation based only on browser type (and what it can render)? Or are t

Re: [OpenLayers-Users] Limit number of items they are displayed

2009-11-09 Thread TrouveTonGull
On 09.11.2009 14:15, bart...@osgis.nl wrote: > Why not edit the XML file and ditch the other features? > > Best regards, > Bart > It's a external file, i can't edit it. ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinf

Re: [OpenLayers-Users] Limit number of items they are displayed

2009-11-09 Thread bartvde
Why not edit the XML file and ditch the other features? Best regards, Bart > On 09.11.2009 13:11, Andreas Hocevar wrote: >> >> How would you read a XML with GeoRSS? If you are doing WFS, you can use >> maxFeatures to limit the number of results. >> >> Regards, >> Andreas. >> > > Hi Andreas, > > i

Re: [OpenLayers-Users] Limit number of items they are displayed

2009-11-09 Thread TrouveTonGull
On 09.11.2009 13:11, Andreas Hocevar wrote: > > How would you read a XML with GeoRSS? If you are doing WFS, you can use > maxFeatures to limit the number of results. > > Regards, > Andreas. > Hi Andreas, i read a xml file like this: var yelp = new OpenLayers.Icon("radar.png", new

Re: [OpenLayers-Users] Limit number of items they are displayed

2009-11-09 Thread Andreas Hocevar
TrouveTonGull wrote: > Hello, > > When i read a XML with GeoRSS, i want to display only five items , how > to limit that? > How would you read a XML with GeoRSS? If you are doing WFS, you can use maxFeatures to limit the number of results. Regards, Andreas. -- Andreas Hocevar OpenGeo - http

Re: [OpenLayers-Users] How to convert feature position to browser coordinate ?

2009-11-09 Thread Andreas Hocevar
Altair wrote: > hi list. > I have feature on the vector layer, how to get feature position in browser > coordinates(x,y) in pixel ? > var geom = feature.geometry; var vertices = geom.getVertices(); var v, ll; for(var i=0; ihttp://opengeo.org/ Expert service straight from the developers. __

[OpenLayers-Users] Limit number of items they are displayed

2009-11-09 Thread TrouveTonGull
Hello, When i read a XML with GeoRSS, i want to display only five items , how to limit that? Thanks, Fred ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users