Re: [OpenLayers-Users] Customize layer switcher look and feel

2009-05-27 Thread Lehtonen, Mika
Hi Peter, someone will probably provide you a more thorough answer but I once adjusted the look with the following: .olControlLayerSwitcher { font-size: x-small !important; padding-right: 50px !important; } - mika - Peter Dawn kirjoitti: > hi

[OpenLayers-Users] Customize layer switcher look and feel

2009-05-27 Thread Peter Dawn
hi everyone, i would like to customize the layer switcher look and feel. i mean change background and font etc. which file should i edit. i've tried to use firebug to find the exact place, but am unable to find which file. it isn't theme\style.css can somebody tell me which file i should edit. t

Re: [OpenLayers-Users] How to make panzoombar invisible

2009-05-27 Thread Kris Geusebroek
Hi Chris, I don't know where my head was yesterday but trying it this morning works like a charm. Thanks for refreshing me ;-) Cheers Kris -Original Message- From: Christopher Schmidt [mailto:crschm...@metacarta.com] Sent: Wednesday, May 27, 2009 4:54 PM To: Kris Geusebroek Cc: users@o

Re: [OpenLayers-Users] Cluster Strategy Based on Attribute

2009-05-27 Thread Jerome Freyre
Hi, I think you have two solutions. The first one is to separate your single layer in three differents layers. The first one will contain points "Company", the second will contain points "Airport" and the third will contain lines. Then you can easily (de)activate a cluster strategy for the "Comp

Re: [OpenLayers-Users] Control activate and deactivate events

2009-05-27 Thread Kris Geusebroek
Hi George, I'm using it this way (with activate but deactivate wouldn't be hard I think ;-)) var modifyEventListeners = { "activate": activateModifyFunction }; var modifyMode = OpenLayers.Control.ModifyFeature.RESHAPE; modifyMode |= OpenLayers.Control.ModifyFeature.RESIZE;

Re: [OpenLayers-Users] Control activate and deactivate events

2009-05-27 Thread George Mu'ammar
Thanks Robert, unfortunately that does not help. I am interested in capturing the event so I know when the user has modified a feature and I can then use the GML. I am caught in a spiral of problems. I should really be using the afterfeaturemodified event on the layer but this does not work

[OpenLayers-Users] Print or export

2009-05-27 Thread Peter Dawn
hi everyone, am using openlayers with geoserver and google maps to display layers on top of google maps. now when the user adds a bunch of layers on top of google maps, is there a way to save that pic. say if the user wants to print that pic, they can click on a Print link and it would convert t

Re: [OpenLayers-Users] Fwd: geowebcached images

2009-05-27 Thread Arnie Shore
In different contexts, I've had problems using

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-05-27 Thread Gregor at HostGIS
Tom B wrote: > Has anyone had a chance to try this out? Gregor, any luck with getting R&D > funding, by any chance? If not, I might go ahead and take a crack at it, > since it is something our map will eventually need. The customer wasn't up for it when I presented it to him, so I have nothing

[OpenLayers-Users] Fwd: geowebcached images

2009-05-27 Thread chris Wild
Hi, Im using Geoserserver 1.7.4 and Openlayers 2.8. Im wondering if anyone else has had problems displaying geowebcached images in OpenLayers. The Mrsid images display fine as a cached images singularly but if more than one cached image is added to the map only the first one displays. They don't d

[OpenLayers-Users] Cluster Strategy Based on Attribute

2009-05-27 Thread Matt Kenny
Hello, I've got a quick question that I'm hoping someone knows the answer to. I've got a single vector layer containing both point and line features. All features have a 'TYPE' attribute. Points are either 'TYPE:COMPANY' or 'TYPE:AIRPORT', and lines are always 'TYPE:ROUTE'. I'm wondering if it

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-05-27 Thread Tom B
Has anyone had a chance to try this out? Gregor, any luck with getting R&D funding, by any chance? If not, I might go ahead and take a crack at it, since it is something our map will eventually need. Thanks, Tom Chris Adams wrote: > > Gregor at HostGIS wrote: >> Chris Adams wrote: >>> How ab

Re: [OpenLayers-Users] htmlfile: unspecified error in IE6+7 when creating new map

2009-05-27 Thread Christopher Schmidt
On Wed, May 27, 2009 at 01:31:48PM -0700, ir0s wrote: > > Hello, > > Any chance someone could shed some light on why I might be getting the > error: "htmlfile: unspecified error" in IE6/7when creating a new map? The > issue appears to be in the call document.namespaces. > > I am creating a map o

Re: [OpenLayers-Users] Control activate and deactivate events

2009-05-27 Thread Robert Sanson
Hi George Here is how I specify the controls: //Select, Draw and Modify controls - these are specific to the layer controls = { select: new OpenLayers.Control.SelectFeature(crops, {callbacks: {'over':feature_info}}), dpolygon: new OpenLayers.Contr

[OpenLayers-Users] Control activate and deactivate events

2009-05-27 Thread Geo-rge
Dear List, I am having trouble trying to capture events when the ModifyFeature control is activated and deactivated. I define my control as such: modify = new OpenLayers.Control.ModifyFeature(lyrPlanning,{'displayClass': 'olControlModifyFeature', 'mode': OpenLayers.Control.ModifyFeature.

[OpenLayers-Users] htmlfile: unspecified error in IE6+7 when creating new map

2009-05-27 Thread ir0s
Hello, Any chance someone could shed some light on why I might be getting the error: "htmlfile: unspecified error" in IE6/7when creating a new map? The issue appears to be in the call document.namespaces. I am creating a map on the document.observe("dom:loaded"..) callback (using prototype) so i

Re: [OpenLayers-Users] Apply CSS style to popup content

2009-05-27 Thread Kris Geusebroek
Hi Maxime AutoSizeAnchored = OpenLayers.Class(OpenLayers.Popup.Anchored, { 'autoSize': true, 'contentDisplayClass': 'olPopupLabelContent' }); Creates a subclass of popupAnchored with a different content style. In your css you can specify the specifics of this style Cheers Kris

[OpenLayers-Users] Apply CSS style to popup content

2009-05-27 Thread Maxime Phaneuf
Hi guys, Based on this example: http://openlayers.org/dev/examples/getfeatureinfo-control.html, I succeeded in querying a WMS layer with WMSGetFeatureInfo. The only difference is that I make a pop-up appear instead of a on the page. The only problem I encounter is that I want to apply CSS style

[OpenLayers-Users] Saving Input

2009-05-27 Thread ventolinmono
Hello ¿How can i write pois on click to an xml on the server? I asked this question at dev and been told it belongs to users. Thank you ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Question to OpenLayers and printing

2009-05-27 Thread Alexandre Dube
Hi, Kai Behncke wrote: >> I'm not aware of any existing printing tool that can use Google Maps >> data n the printout in a way that is allowed unde rthe Google Maps terms >> of service. (You're not allowed to download the tiles directly, and >> the alternative export service is somewhat limited.)

Re: [OpenLayers-Users] How to make panzoombar invisible

2009-05-27 Thread Christopher Schmidt
On Wed, May 27, 2009 at 04:49:15PM +0200, Kris Geusebroek wrote: > Hi all, > > > > I want to make the panzoombar control invisible when I deactivate it so > that I can make it visible again if activated. > > I found issue 1764 stating this won't be released soon. > > > > But is there a way

[OpenLayers-Users] How to make panzoombar invisible

2009-05-27 Thread Kris Geusebroek
Hi all, I want to make the panzoombar control invisible when I deactivate it so that I can make it visible again if activated. I found issue 1764 stating this won't be released soon. But is there a way I can do it programmatically. I already tried setting the display of the control.div to

Re: [OpenLayers-Users] Question to OpenLayers and printing

2009-05-27 Thread Kai Behncke
> I'm not aware of any existing printing tool that can use Google Maps > data n the printout in a way that is allowed unde rthe Google Maps terms > of service. (You're not allowed to download the tiles directly, and > the alternative export service is somewhat limited.) > I found that application

Re: [OpenLayers-Users] Question to OpenLayers and printing

2009-05-27 Thread Christopher Schmidt
On Wed, May 27, 2009 at 02:26:40PM +0200, Kai Behncke wrote: > Thank you very much for that help. > > WMS is fine, but I also would like to print Open Street Map-Layer and Google > Satellite-Layer. I'm not aware of any existing printing tool that can use Google Maps data n the printout in a way

Re: [OpenLayers-Users] Question to OpenLayers and printing

2009-05-27 Thread Kai Behncke
Thank you very much for that help. WMS is fine, but I also would like to print Open Street Map-Layer and Google Satellite-Layer. I think for that the most elegant way should be via mapfish, right? Best regards, Kai Original-Nachricht > Datum: Wed, 27 May 2009 08:18:51 -040

Re: [OpenLayers-Users] Question to OpenLayers and printing

2009-05-27 Thread Alexandre Dube
Hi Kai, I also made a wms-only printing tool for OpenLayers. It currently has no framework though, I used a customized Ext.FormPanel for that. See (1) if you're interested. Regards, Alexandre (1) http://dev4.mapgears.com/wmsprint/ Kai Behncke wrote: > Dear users, > > I would like to know

Re: [OpenLayers-Users] MapGuide useHttpTile with IIS

2009-05-27 Thread gingerbbm
FYI I've created an IIS version of the example Apache script. I've uploaded it and edited the following accordingly: http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/ServingTilesViaHttp http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/ServingTilesViaHttp My script works slightly diffe

Re: [OpenLayers-Users] Question to OpenLayers and printing

2009-05-27 Thread Lehtonen, Mika
Hi Kai, I built my own printing framework (or actually still am building) with Apache FOP (and Cocoon). But actually it's just a wms-printing tool. I can choose an area of my map, scale, paper size and so on and the "printing framework" creates a wms request out of the parameters. The response

Re: [OpenLayers-Users] ZoomToExtent works in Firefox, Safari and IE7, but not in IE6

2009-05-27 Thread sendeman
Adam Eskreis wrote: > > If that fails, try to find something that works with IE6. Anything. Do > whatever you can to get it to work. > Thanks. I'll do that. I do really have to get it to work in IE6 though. There are still too many users around to ignore it. So, to put my words into action:

[OpenLayers-Users] Question to OpenLayers and printing

2009-05-27 Thread Kai Behncke
Dear users, I would like to know how you handle print outs in OpenLayers? Do you use OL and an application like this: http://trac.openlayers.org/wiki/Printing Or is it better to integrate OL in a framework like Mapfish? Thank you very much, Kai -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6

Re: [OpenLayers-Users] WFS-T example won't work bec ause of error in gears_init.js line 51

2009-05-27 Thread Barbara Fiederer
Hi Alexandre and Eric! It wasn't gears_init.js. It has got something to do with the WFS I use, because the error does not occur when I delete the pieces of code related to it. By chance I tried to open the same html-file with IE 7.0 and it worked. So, at the moment, just for testing and learnin

[OpenLayers-Users] OGRS2009 : pre-program & registration

2009-05-27 Thread Olivier ERTZ
-- OGRS2009 : pre-program is available & registration is open First International Opensource Geospatial Research Symposium 2009 Dates & place: July 8th to 10th, 2009, Ecole Centrale de Nantes (France) Website: http://www.ogrs2009.org ---