Re: [OpenLayers-Users] Cancel drawing polygon

2008-11-28 Thread Richard Duivenvoorde
He Bas, for 2.5 I hacked something like that together. I added some of it to the EditingToolbar Example here: http://www.duif.net/openLayers27/examples/ctrlz.html in this demo it's only working for line drawing. Don't know what is the preferred way, but it was working for me... Regard

Re: [OpenLayers-Users] Help w/ WMS onto google spherical mercator

2008-11-19 Thread Richard Duivenvoorde
erc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +no_defs <> Regards, Richard Duivenvoorde I think this will become(?? anybody an idea here why these definitions (from proj) are different?): <3785> +proj=merc +lon_0=0 +k=1 +x_0=0 +y

Re: [OpenLayers-Users] OpenLayers Question: Google Physical Projections and epsg:26915

2008-06-28 Thread Richard Duivenvoorde
or the other way around SELECT AsText(Transform(GeomFromText('POINT(140313.905612639 473062.480785896)', 28992), 4326)) HTH, Regards, Richard Duivenvoorde ps, both options above will only work when you have the right epsg codes in your proj/postgis configuration Matthew Pettis wrote:

Re: [OpenLayers-Users] Firefox vs. IE error

2008-06-26 Thread Richard Duivenvoorde
Hi Cristian, try removing the comma after new OpenLayers.Control.ScaleLine(), IE doesn't accept an array of objects to end on a comma (while FF finds that ok) Hope this helps, Richard Duivenvoorde [EMAIL PROTECTED] wrote: > > Hi list I created a really small OpenLayer applic

Re: [OpenLayers-Users] browser does not support vector rendering message

2008-06-19 Thread Richard Duivenvoorde
re still on 2.6. In firebug, if you 'Watch' the variable OpenLayers.VERSION_NUMBER it shows '$Revision 6819' with me (this is a 2.6 release downloaded yesterday). Regards, Richard Duivenvoorde Adorian Ardelean wrote: > Hi, > > I have been playing with openlayers merging

Re: [OpenLayers-Users] Sample OL site...

2008-04-17 Thread Richard Duivenvoorde
minfeaturesize (50) (angle) end .. TILECACHE: [layerx] metaTile=true metaBuffer=10 Mmm, ended up with al long email, hope this helps for somebody. Maybe it's an idea to put this kind of info in a nice (illustrated) wiki article? Regards and fiddle around, Richard Duive

Re: [OpenLayers-Users] spherical mercator example

2008-04-13 Thread Richard Duivenvoorde
://www.openlayers.org/download/OpenLayers-2.5.zip in the examples dir of that one there is a spherical-mercator.html which doesn't use Projection (yet). Hope this helps, Regards Richard Duivenvoorde Tara Athan wrote: > I am trying to understand the spherical mercator example > http://openlay

Re: [OpenLayers-Users] LayerSwitcher

2007-11-13 Thread Richard Duivenvoorde
Hi R, I think, it is really working as it should: If I take the code of the example of: http://www.openlayers.org/dev/examples/custom-style.html and add a layerswithcher as in http://www.openlayers.org/dev/examples/layerswitcher.html I can change styles like position etc in a css style blok in t

Re: [OpenLayers-Users] Newbie: accessing Arcweb data

2007-11-11 Thread Richard Duivenvoorde
r Schmidt [mailto:[EMAIL PROTECTED] > Sent: November 6, 2007 7:18 AM > To: Richard Duivenvoorde > Cc: [EMAIL PROTECTED]; users@openlayers.org > Subject: Re: [OpenLayers-Users] Newbie: accessing Arcweb data > > > On Tue, Nov 06, 2007 at 03:42:18PM +0100, Richard Duivenvoorde wro

Re: [OpenLayers-Users] WMS overlay onto google maps

2007-11-11 Thread Richard Duivenvoorde
ayers (with arcims) onto google maps and > it's not possible to add a new epsg to the ArcIms, so i can't work with > epsg900913 like in http://trac.openlayers.org/wiki/SphericalMercator > > is there any other possibility? > > Is there a way to do this? > > >

Re: [OpenLayers-Users] Getting up and running with OpenLayers

2007-11-09 Thread Richard Duivenvoorde
'projection':'EPSG:32616', 'units':'m', 'maxExtent':new OpenLayers.Bounds(582919,4182989,610195,4207241), }); hope this helps something. grtz, Richard Duivenvoorde ps have also a look at http://www.openlayers.org/dev/examples/projected-map.ht

Re: [OpenLayers-Users] OverviewMap Container

2007-11-08 Thread Richard Duivenvoorde
with options that include {theme: null}. This will disable the default method of loading the stylesheet and allow you to declare style rules in your own linked stylesheets or style tags. << end cut Richard Duivenvoorde R. Ortner wrote: > hi, > > no, i only use my o

Re: [OpenLayers-Users] OverviewMap Container

2007-11-08 Thread Richard Duivenvoorde
Hi Reinhard, looks like the styles from you stylesheet are overridden by script? Did you include the default stylesheet as a link and declare any style modifications below that link? Like shown/mentioned here: http://www.openlayers.org/dev/examples/custom-style.html Richard Duivenvoorde R

Re: [OpenLayers-Users] Newbie: accessing Arcweb data

2007-11-06 Thread Richard Duivenvoorde
s HTTPRequest, WMS extends Grid etc. Regards, Richard Duivenvoorde Stewart Nimmo wrote: > I am a newbie to Openlayers, with limited javascript experience. I am > trying to access and display data services such as Arcwebservices, but > I'm not clear if I insert th

Re: [OpenLayers-Users] 900913 mismatch?

2007-10-25 Thread Richard Duivenvoorde
Ok FIXED I can confirm myself now. Stuff lines up ok. Old mistake: epsg:900913 was ok, but the string for the source projection was wrong on the server (old dutch 28992 problem :-( ) Lining up beautifull now! Richard D Richard Duivenvoorde wrote: > Hi List, > > I'm tryin

[OpenLayers-Users] 900913 mismatch?

2007-10-25 Thread Richard Duivenvoorde
mat':'image/gif', TRANSPARENT:true}, {'buffer': 0, isBaseLayer: false, singleTile: true} ); Tried both reprojecting the data in postgis, using +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +unit

Re: [OpenLayers-Users] OpenLayers Proxying in IIS

2007-10-07 Thread Richard Duivenvoorde
ecache. Which looks fine to me actually. Some checkpoints: - look in you mapserver (or IIS) logfiles IF the tilecache cgi is calling your mapserver in the right way (by the way your IIS logfiles are somewhere like: C:\WINDOWS\system32\LogFiles\W3SVC1\... ) - taking the mapserver url's from

[OpenLayers-Users] windows, build qgis from source

2007-08-22 Thread Richard Duivenvoorde
chive move? Or is the BuildingFromSource-page an old page (looks nice and clean though), not to be used anymore? Thanks, Richard Duivenvoorde ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] javascript lessons / learning

2007-07-20 Thread Richard Duivenvoorde
#x27;, use the Ajax and 'class' code of OL, organize your constants etc etc)? Richard Duivenvoorde ps: I do understand this is probably nothing new for the OL-dev-guys themselves, but posted for all the humble webapp builders (OL-users-guys) like me ;-)

Re: [OpenLayers-Users] ctrl-z behaviour while editing linestring

2007-07-11 Thread Richard Duivenvoorde
nents[lineidx]); lineControl.handler.modifyFeature(); lineControl.handler.drawFeature(); } It's maybe more clean to do it your way: make a new control. Thanks for your help! Richard Duivenvoorde Jachym Cepicky wrote: > Hi, > > I have this - using [backspace] or [delete]

[OpenLayers-Users] ctrl-z behaviour while editing linestring

2007-07-10 Thread Richard Duivenvoorde
while you are drawing it, and the point-callback get's a 'Point' as argument (instead of the Linestring?). Have been looking into the source of the DrawFeature control and Path Handler, but couldn't find a hook. Somebody an idea for

Re: [OpenLayers-Users] any click events in Control.DrawFeature while drawing polygon

2007-06-14 Thread Richard Duivenvoorde
Thanks both! It's working now. Richard Richard Duivenvoorde wrote: > Hi, > > I'm using the DrawFeature control to let users define linestrings. I can > capture the doubleclick event (for ending the line) using > lineLayer.onFeatureInsert > > But I cannot find

[OpenLayers-Users] any click events in Control.DrawFeature while drawing polygon

2007-06-12 Thread Richard Duivenvoorde
nt to be able to count the number of segments, because I want to be sure the will be not more then 20 segments in certain lines. Regards Richard Duivenvoorde ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Examples: GOOD!

2007-06-01 Thread Richard Duivenvoorde
Just wanted to say that the examples pages: http://www.openlayers.org/dev/examples/ are very very much appreciated! (that's what missing on google maps: you have to find everything out from fora and api or squ). I 'm building a featuredrawing application, and was 100% sure that I had seen it (l