Re: [OpenLayers-Users] expand on georss layer

2008-09-12 Thread Don Martin
we abandoned georss and created a straight gml layer which solved the issues listed. Don Martin wrote: > > We've got a georss example working on our site - truck tracking records > from a sql query rendered as georss. > We need a couple of other things from this layer if possible - > 1.

[OpenLayers-Users] framedcloud - 2.7rc2

2008-09-12 Thread Don Martin
we're using framedcloud popups over a gml layer (hover) which worked fine with 2.6 but doesn't seem to be autosizing (width) with 2.7rc2 - it's wrapping rows and adding a vertical scroll bar. I was going to try 2.7 to attempt to get zoom-to-extent from the GML layer. Can I get extents with 2.6?

Re: [OpenLayers-Users] ZoomToExtent of KML File

2008-09-12 Thread Christopher Schmidt
On Fri, Sep 12, 2008 at 04:21:09PM -0400, Patrick Markiewicz wrote: > Hi, > > If I just want to zoom to the center of the geographic bounding box > of a KML file that I have defined, what functions would I use? I tried > using layer.getExtent, but that returns null for overlays. I.e. my > ba

[OpenLayers-Users] ZoomToExtent of KML File

2008-09-12 Thread Patrick Markiewicz
Hi, If I just want to zoom to the center of the geographic bounding box of a KML file that I have defined, what functions would I use? I tried using layer.getExtent, but that returns null for overlays. I.e. my baselayer is a map of the world, and my kml file is somewhere on that world. So h

Re: [OpenLayers-Users] VectorLayer disappears at zoom 17 (and lesser).

2008-09-12 Thread Erik Uzureau
Hello BrainDrain, Thank you for verifying the functionality of this feature. Andreas put the fix in this morning and I have brought it up to the branch just now, so yes it will be part of the 2.7 release. You can test the 2.7 rc2 here: http://openlayers.org/download/OpenLayers-2.7-rc2.tar.gz than

[OpenLayers-Users] adding buttons to OL UI

2008-09-12 Thread slyon
Howdy all, I've got two baselayers in my OL map currently. Instead of them displaying in the LayerSwitcher I'd like to add two buttons to the map that correspond to the baselayers. Is this easily done? I've been searching the forums, but haven't found much. So, if anyone can tell me how to add b

Re: [OpenLayers-Users] Correct and fast map div resizing

2008-09-12 Thread Christopher Schmidt
On Fri, Sep 12, 2008 at 07:03:24AM -0700, BrainDrain wrote: > > powerful community! > I use ExtJS resizable window as a container for my map. > on resize event I have to update map size: Er, I'm not sure why you're reinitializing your resolutions. I would recommend not doing this. Just updating t

Re: [OpenLayers-Users] Create Circle

2008-09-12 Thread Christopher Schmidt
On Fri, Sep 12, 2008 at 03:47:54PM +0200, Kenny France wrote: > Hi Christopher, > > Thanks for your reply, > > Do you perhaps know of a way I can pass that lat/lng and radius to a > function? http://dev.openlayers.org/apidocs/files/OpenLayers/Geometry/Polygon-js.html#OpenLayers.Geometry.Polyg

Re: [OpenLayers-Users] Mouse cursor offset when drawing..

2008-09-12 Thread Christopher Schmidt
On Fri, Sep 12, 2008 at 05:12:01AM -0700, BrainDrain wrote: > > use: > map.events.element.offsets = null; > or map.events.clearMouseCache(); //for 2.7 > after position of your map container div changed Actually, you should use 'map.updateSize()' in either version. > > Swärd Mårten wrote: > > >

[OpenLayers-Users] Correct and fast map div resizing

2008-09-12 Thread BrainDrain
powerful community! I use ExtJS resizable window as a container for my map. on resize event I have to update map size: setSize: function(width, height) { if (typeof width == "number" && typeof height == "number" && (this.map.size.w != width || this.map.size.h != height)) { exte

Re: [OpenLayers-Users] Create Circle

2008-09-12 Thread Kenny France
Hi Christopher, Thanks for your reply, Do you perhaps know of a way I can pass that lat/lng and radius to a function? An alert function is good enough Thanks again I know you are busy Kenny -Original Message- From: Christopher Schmidt [mailto:[EMAIL PROTECTED] Sent: 12 Septe

Re: [OpenLayers-Users] Mouse cursor offset when drawing..

2008-09-12 Thread BrainDrain
use: map.events.element.offsets = null; or map.events.clearMouseCache(); //for 2.7 after position of your map container div changed Swärd Mårten wrote: > > Hello folks! > I'm having problems when drawing a feature in OL. > If I click on the map the point will be drawn beside the cursor with th

Re: [OpenLayers-Users] Create Circle

2008-09-12 Thread Christopher Schmidt
On Fri, Sep 12, 2008 at 11:43:40AM +0200, Kenny France wrote: > Hi All, > > I have the following code that creates a circle using googlemaps, > > now i am rewriting my app with openlayers and have a small problem > > has anyone done something similar to this ? Sounds like the circle mode on:

Re: [OpenLayers-Users] MousDefaults with yahoo map

2008-09-12 Thread Christopher Schmidt
On Thu, Sep 11, 2008 at 11:53:24PM -0700, crinolium wrote: > > Hi, > > there are two examples of yahoo. Did you see the "OpenLayers Spherical > Mercator Example"? I tried to rebuilt it, but had the error of the not > working double-click once again. But in the example it works. I don't know, > wh

[OpenLayers-Users] No WMS layer

2008-09-12 Thread Bas Couwenberg
Hello, currently I'm setting up Deegree on a Windows 2008 machine with ip 192.168.20.xxx to use as WFS/WMS server. When I use OpenLayers (on a machine in range 192.168.20.xxx) I see the vector data I request with WFS however the aerial picture I am loading from the WMS turns out as a blue grid. Wh

[OpenLayers-Users] Create Circle

2008-09-12 Thread Kenny France
Hi All, I have the following code that creates a circle using googlemaps, GEvent.addListener(map, 'click', mapClick); function mapClick(marker, point) { var zoom = map.getZoom(); if (!centerMarker) { centerMarker = createMarker(point) map.addOverlay(centerMarker); lat = point.y.toFi

[OpenLayers-Users] Mouse cursor offset when drawing..

2008-09-12 Thread Swärd Mårten
Hello folks! I'm having problems when drawing a feature in OL. If I click on the map the point will be drawn beside the cursor with the same offset to the point that the map-div has to the screens left side.. See the screendump here: http://img98.imageshack.us/my.php?image=offseterrorvz4.png D

Re: [OpenLayers-Users] integer overflow while drawing vectors, help!

2008-09-12 Thread BrainDrain
fixed here http://www.nabble.com/VectorLayer-disappears-at-zoom-17-%28and-lesser%29.-td19411610.html#a19451218 BrainDrain wrote: > > any suggestions? > > BrainDrain wrote: >> >> HI >> I use OL with mapserver >> my output projection is >> "+proj=tmerc +lat_0=48.70975 +lon_0=44.51205 +k=1.00

Re: [OpenLayers-Users] VectorLayer disappears at zoom 17 (and lesser).

2008-09-12 Thread BrainDrain
Thank you very much! patch works great! Could we expect that it will be included in 2.7 final? Andreas Hocevar-3 wrote: > > BrainDrain and Salvaro, > > I created a ticket for this: > > http://trac.openlayers.org/ticket/1732 > > Can you please apply the patch in this ticket and see if it reso

[OpenLayers-Users] KML / Vector Performance

2008-09-12 Thread Frank Broniewski
Hi List, I have a question regarding the use of vector data in KML. I am planning to use KML data to display routes I am frequently travelling. Now the question that bothers me is how to arrange my data. Can I just put all my routes into one KML file and Openlayers just renders the routes in t