Re: [OpenLayers-Users] OpenLayers, pgRouting and FireFox3

2008-08-07 Thread Dave Potts
You need a firefox add on You could try https://addons.mozilla.org/en-US/firefox/addon/1330 For firefox 3.0 For other options try looking under Tools/Add-ons D. Stephen Woodbridge wrote: Hi all, I was trying to setup the pgRouting/OpenLayers demo on FireFox 3.0.1 but I get am error messa

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-07 Thread Eric Lemoine
I also did observe memory leaks with the markers layer a while back. Some correction even made it into trunk but it didn't solve the problem entirely. Why dont you open a ticket with an example demonstrating the problem? Regards. Eric 2008/8/7, lukast <[EMAIL PROTECTED]>: > > Thanks for quick repl

Re: [OpenLayers-Users] OpenLayers, pgRouting and FireFox3

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 10:13:35PM -0500, Stephen Woodbridge wrote: > Hi all, > > I was trying to setup the pgRouting/OpenLayers demo on FireFox 3.0.1 but > I get am error message that is does not support SVG or VML. What browser > are supported? is there a plugin that adds support for this? Th

Re: [OpenLayers-Users] Zoom Question

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 08:36:39PM -0400, Paul Spencer wrote: > This is the default behaviour for tiled maps, which use pre-rendered > map images at specific resolutions. This is true with or without tiling: setting singleTile doesn't change this behavior. Fractional zoom can be used with tiles

Re: [OpenLayers-Users] Zoom Question

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 06:20:23PM -0600, Bill Thoen wrote: > Does the zoom-in tool only work at integral zoom steps? Yes, with the exception of fractional zoom (http://openlayers.org/dev/examples/fractional-zoom.html), which has limitations that it can only be used for/with servers that support

[OpenLayers-Users] OpenLayers, pgRouting and FireFox3

2008-08-07 Thread Stephen Woodbridge
Hi all, I was trying to setup the pgRouting/OpenLayers demo on FireFox 3.0.1 but I get am error message that is does not support SVG or VML. What browser are supported? is there a plugin that adds support for this? Searching FireFox add-ons, seems to imply the FireFox supports SVG so I'm confu

Re: [OpenLayers-Users] Zoom Question

2008-08-07 Thread Paul Spencer
This is the default behaviour for tiled maps, which use pre-rendered map images at specific resolutions. It is possible to avoid this by not using tiles - there is a singleTile option when creating a new layer that accomplishes this - and using the fractionalZoom property (which I am not t

[OpenLayers-Users] Zoom Question

2008-08-07 Thread Bill Thoen
Does the zoom-in tool only work at integral zoom steps? I don't seem to be able get to any map scales that are not available through the ZoomPan control. Is this normal behavior and is it possible to get to say, zoom level 2.3 or set the map to any scale desired? - Bill Thoen _

Re: [OpenLayers-Users] Using openlayers in portlet

2008-08-07 Thread fredth
Ok, I finally found a solution. I wasn't related to the doctype. I only had to set the height of the portlet manually to someting (like 800px) and it's working. The strange things is: why in firefox it was working and not in IE... some questions like that may never find a solution... Thx for you

Re: [OpenLayers-Users] Openlayers and draw a line with LatLon points

2008-08-07 Thread Mike Quentel
This thread about distance measure tool might help: http://openlayers.org/pipermail/users/2007-May/001682.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jone Lura Sent: Thursday, 07 August 2008 04:23 To: 'users@openlayers.org' Subject: [OpenLayers-Us

Re: [OpenLayers-Users] tile server for custom tiles always needed?

2008-08-07 Thread Jens Herrmann
Christopher Schmidt wrote: > What do you mean by "this doesn't work?" There is no reason it > shouldn't (but be aware that "Layer.OSM" is provided by > OpenStreetMap's Javascript file, and is not included in OpenLayers by > default). It means the tiles are not loaded, there is no map to see. I

Re: [OpenLayers-Users] projections/resolution/extents

2008-08-07 Thread David Fawcett
Even though you carried this issue over to the OpenLayers list, your problem still has nothing to do with OpenLayers. I would suggest working this issue out in MapServer with a simple mode=map request before attempting to serve the data up as a WMS or through OpenLayers. If I recall some of your

Re: [OpenLayers-Users] openlayers does not show shapefile

2008-08-07 Thread George Mu'ammar
Hi, I can't get through to your server but I suspect the mapfile is not configured correctly. I don't think shp2img is a valid test, the shapefile may not show on your map because of an extent problem. If you see any PNG from the WMS server it means that OL is working ok. The problem is with th

Re: [OpenLayers-Users] StyleMap and ModifyFeatures aren't compatible ?

2008-08-07 Thread Eric Lemoine
On Thu, Aug 7, 2008 at 1:55 PM, Alexandre Dube <[EMAIL PROTECTED]> wrote: > Sure I'll try, but anybody correct me if I am wrong with the explanation > please. > > The vertices are vector features too that try to be drawn on the same > layer. If a uniqueValueRules is set, then the a drawn feature m

Re: [OpenLayers-Users] openlayers does not show shapefile

2008-08-07 Thread Duarte Carreira
Is your shapefile in the original coordinate system (Dt73_HG)? If so you must define it in the map parameters (OpenLayers) because the default is WGS84. Try this: map = new OpenLayers.Map( 'map',{projection:'EPSG:27492', units: 'meters', maxExtent: new OpenLayers.Bounds(-1

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-07 Thread lukast
Thanks for quick reply ! I have used png icons, but had image hack disabled: OpenLayers.Util.alphaHack = function() { return false; } Now I converted my marker icon to gif, but unfortunatelly it did not help :/ Every time I add some markers memory increases (ok, that is normal), but when I remov

Re: [OpenLayers-Users] projections/resolution/extents

2008-08-07 Thread FCampos
Hi Christopher . I really need to understand this because i´m having troubles shownig a map, and i think this maybe the problem. I´ve a mapserver with 3 layers (2 oracle 1 shape). With the following code, my oracle layers only show zoom 0 and 1. The shape file show in every zooms. I was thinkin

Re: [OpenLayers-Users] openlayers does not show shapefile

2008-08-07 Thread Bilge Tutak
Did you try calling it with a mapserver layer? OpenLayers.Layer.Mapserver I am not sure if it makes a difference, but using MapServer layer works for me. Bilge. On Thu, Aug 7, 2008 at 6:43 AM, FCampos <[EMAIL PROTECTED]> wrote: > > Hi, > i´m haviing trouble to show a simple shapefile frmo a

Re: [OpenLayers-Users] projections/resolution/extents

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 05:12:10AM -0700, FCampos wrote: > > Hi, > is there anywhere, a good tutorial for : > > - what extents in mapserver, and what is the consequence in the resolution / > extent/ scales of openlayers ? Resolution is "map units per pixel". By default, OpenLayers uses a maxExt

Re: [OpenLayers-Users] tile server for custom tiles always needed?

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 02:13:51PM +0200, Kenny France wrote: > I think we are trying to do the same thing, ie: > > Display our own tiles using openlayers. You are trying to do something different than the original poster, who mentioned Mapnik (and OSM), so I assume is following the detailed in

Re: [OpenLayers-Users] tile server for custom tiles always needed?

2008-08-07 Thread Kenny France
Hi Christopher Would you be able to give all us newbies a small example, I think we are trying to do the same thing, ie: Display our own tiles using openlayers. If you could please point us to a tutorial that shows step by step what we are suppose to do, I can't figure out what tile to pl

[OpenLayers-Users] projections/resolution/extents

2008-08-07 Thread FCampos
Hi, is there anywhere, a good tutorial for : - what extents in mapserver, and what is the consequence in the resolution / extent/ scales of openlayers ? -- View this message in context: http://www.nabble.com/projections-resolution-extents-tp18869013p18869013.html Sent from the OpenLayers Users

Re: [OpenLayers-Users] Openlayers and draw a line with LatLon points

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 10:22:33AM +0200, Jone Lura wrote: > Hi, > > I need to know the LatLon of the start point and end point when drawing a > line, to be able to calculate the distance for the line. > > If the line contains several points, it would be nice to know the location > for every cl

Re: [OpenLayers-Users] tile server for custom tiles always needed?

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 10:09:32AM +0200, Jens Herrmann wrote: > Hello, > I'm a beginner and I want to build a map mit openlayers based on my own > custom tiles I rendered with Mapnik. Do I have to set up a tile server > for this or is it possible to just give openlayers the path to the tile > d

Re: [OpenLayers-Users] IE and memory usage problem

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 01:25:25AM -0700, lukast wrote: > Apart from this I have got another problem with memory usage connected with > markers. I dynamically add several markers to the markers layer. Memory > increases very fast when I add Markers - 20 Markers - aproximatelly 10MB of > RAM :( Wel

Re: [OpenLayers-Users] StyleMap and ModifyFeatures aren't compatible ?

2008-08-07 Thread Alexandre Dube
Sure I'll try, but anybody correct me if I am wrong with the explanation please. The vertices are vector features too that try to be drawn on the same layer. If a uniqueValueRules is set, then the a drawn feature must respect it. Since the vertices don't ( they don't have the related attribu

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-07 Thread lukast
Has anyone aony idea ? I would appreciate any help.. lukast wrote: > > Hi, > > I've got memory usage problem with OpenLayers 2.6 in IE 6. Memory seems to > slowly but instantly increase when using the map. I am using Drip 0.5 to > detect memory leaks - but it shows no memory leaks since I have

[OpenLayers-Users] openlayers does not show shapefile

2008-08-07 Thread FCampos
Hi, i´m haviing trouble to show a simple shapefile frmo a wms server (mapserver). Here is the mapfile http://www.nabble.com/file/p18867858/test.map test.map if i make shp2img -m test.map -o test.png -all_debug 10 the image is made, so it´s not from mapserver. the openlayers code is:

[OpenLayers-Users] Custom box activation

2008-08-07 Thread Simo D
Hi all, I've create a select menu in which one option is to draw a rectangle that return his bounds coordinates. The select has an onchange listener that removes the pan and zoom controls and activate the rectangle selecion. I' used the code in the examples but without the keyMask:

Re: [OpenLayers-Users] tile server for custom tiles always needed?

2008-08-07 Thread Kenny France
Hi, Please keep me informed if you manage to achieve this, I am trying to do exactly the same, but there seems to be a lack of information on how to achieve the desiered effect If I find out how to do this I will let you know as well K- -Original Message- From: [EMAIL PROTECTED] [

[OpenLayers-Users] IE and memory usage problem

2008-08-07 Thread lukast
Hi, I've got memory usage problem with OpenLayers 2.6 in IE 6. Memory seems to slowly but instantly increase when using the map. I am using Drip 0.5 to detect memory leaks - but it shows no memory leaks since I have installed Windows SP3. Apart from this I have got another problem with memory us

[OpenLayers-Users] Openlayers and draw a line with LatLon points

2008-08-07 Thread Jone Lura
Hi, I need to know the LatLon of the start point and end point when drawing a line, to be able to calculate the distance for the line. If the line contains several points, it would be nice to know the location for every click and possible store them in an array. How is this possible? Does any

[OpenLayers-Users] tile server for custom tiles always needed?

2008-08-07 Thread Jens Herrmann
Hello, I'm a beginner and I want to build a map mit openlayers based on my own custom tiles I rendered with Mapnik. Do I have to set up a tile server for this or is it possible to just give openlayers the path to the tile directory? On http://wiki.openstreetmap.org/index.php/OpenLayers_Simple_Ex