Re: [OpenLayers-Users] Map doesn't load in Internet Explorer

2010-02-10 Thread Kenneth Skovhede, GEOGRAF A/S
Short of having VS 2008, IE8 also has a built-in developer plugin, just press F12. You get a console with error messages, and even a script debugger. Regards, Kenneth Skovhede, GEOGRAF A/S On 09-02-2010 21:59, Christopher Schmidt wrote: support trailing commas in lists or hashes, however

Re: [OpenLayers-Users] Editing polygon in OL

2010-01-21 Thread Kenneth Skovhede, GEOGRAF A/S
If you draw a polygon, then select the modify feature radiobutton, and click the polygon in the map, you can edit its vertices. Regards, Kenneth Skovhede, GEOGRAF A/S On 20-01-2010 11:29, Diego Roberto wrote: I am developing an application and need to draw a polygon by clicking

Re: [OpenLayers-Users] Cursor style on control activation

2010-01-14 Thread Kenneth Skovhede, GEOGRAF A/S
). What class name is actually applied depends on what control you are using. The ZoomBox uses this classname: displayclass + Active.olDrawBox Where the pan tool uses this name: displayclass + Active.olDragDown Regards, Kenneth Skovhede, GEOGRAF A/S On 14-01-2010 01:46, Richard Greenwood wrote

[OpenLayers-Users] Split with Polygon

2010-01-04 Thread Kenneth Skovhede, GEOGRAF A/S
Skovhede, GEOGRAF A/S ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] IE: OpenLayers not visible

2009-11-27 Thread Kenneth Skovhede, GEOGRAF A/S
The most common reason something works in FF but fails in IE is a trailing comma: var obj = { x: 1, y: 2, //--- Causes error in IE, fine in FF }; Regards, Kenneth Skovhede, GEOGRAF A/S Chau skrev: Hi! I've made a fairly simple OpenLayers page, that just displays a map, zoom/pan, overview

Re: [OpenLayers-Users] Supress loading of surrounding tiles?

2009-09-15 Thread Kenneth Skovhede, GEOGRAF A/S
You can also set buffer to 0: http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Layer/Grid-js.html Regards, Kenneth Skovhede, GEOGRAF A/S Ingo Weinzierl skrev: Hi Swärd, On Tuesday 15 September 2009 15:26:59 Swärd Mårten wrote: Hi folks! Is there any way

Re: [OpenLayers-Users] IE 7/8 Openlayers.js single File Problem

2009-09-03 Thread Kenneth Skovhede, GEOGRAF A/S
This is a known issue that was fixed in the 2.8 final: http://trac.openlayers.org/ticket/1910 Perhaps it is a cache thing, or perhaps the OpenLayers.js you are linking to is not the 2.8 final. Regards, Kenneth Skovhede, GEOGRAF A/S Max Weidemann skrev: Hello List, i have a problem

Re: [OpenLayers-Users] What is the relationship between zoom level and longitude/latitude

2009-08-07 Thread Kenneth Skovhede, GEOGRAF A/S
#OpenLayers.Map.getZoomForExtent You can examine the code if you are interested in the inner workings of calculating a zoom level from a rectangle. Regards, Kenneth Skovhede, GEOGRAF A/S Adrian Popa skrev: Hello everybody. I'm trying to zoom to view an area for which I have the minimum and maximum

Re: [OpenLayers-Users] How to show nothing when a tile is not found with TileCache

2009-06-24 Thread Kenneth Skovhede, GEOGRAF A/S
You can override the function: OpenLayers.Util.onImageLoadError and make it do something else, like show a specific blank tile. Regards, Kenneth Skovhede, GEOGRAF A/S Linde Ackermans skrev: Hi all, I defined my layers with OpenLayers.TileCache f.i. var l1= new

Re: [OpenLayers-Users] Map not showing in IE6 IE7, FF, Safari and Chrome are fine

2009-06-16 Thread Kenneth Skovhede, GEOGRAF A/S
It means there is an error in test_ie2.html line 690. Most likely there is an invalid object initialization: { x: 0, y: 0, -- IE breaks, FF ignores comma } Regards, Kenneth Skovhede, GEOGRAF A/S sendeman skrev: Hi All, I have a test site for a mapping application I'm building. Depending

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-06-12 Thread Kenneth Skovhede, GEOGRAF A/S
it's not the correct long term solution, you can use it until the issue is fixed more permanently. Regards, Kenneth Skovhede, GEOGRAF A/S Asle Benoni skrev: Hello, I have a MapFish setup with everything working fine in all browsers exept IE8. When I load the page in IE8 the map is blank

Re: [OpenLayers-Users] Invalid argument. OpenLayers.js, line 599 character 110 version 2.8 rc2

2009-05-27 Thread Kenneth Skovhede, GEOGRAF A/S
It sounds like this: http://trac.openlayers.org/ticket/1910 There is a quick fix mentioned: http://trac.openlayers.org/ticket/1910#comment:20 Regards, Kenneth Skovhede, GEOGRAF A/S stephane.poir...@usherbrooke.ca skrev: Hi All, Running my code in IE80, I get an Invalid argument

Re: [OpenLayers-Users] How the OL MapGuide layer class relates to the MapDefinition

2009-03-16 Thread Kenneth Skovhede, GEOGRAF A/S
If you have 20 layers, you will also get 20 http requests, which would worry me. You can't point to a single layer inside a map, but you can use server code to toggle layer visibility, and thus have a single MG layer and control what layers are visible. Regards, Kenneth Skovhede, GEOGRAF A/S

Re: [OpenLayers-Users] How the OL MapGuide layer class relates to the MapDefinition

2009-03-16 Thread Kenneth Skovhede, GEOGRAF A/S
, Kenneth Skovhede, GEOGRAF A/S gingerbbm skrev: Hmm. Can I not use the showLayers and hideLayers options in the OL MapGuide layer constructor? Presumably I could then set up 20 OL MG layers pointing to a single MapDefinition that contains my 20 layers, defining which to show/hide. I'm

Re: [OpenLayers-Users] Override maxExtent for one layer

2009-02-05 Thread Kenneth Skovhede, GEOGRAF A/S
I was unlear there. I imagine you should have been I think you should. Nice if you got it working though. Regards. Kenneth Skovhede, GEOGRAF A/S Luca Casagrande skrev: Hi Keenth! Nope, the map's maxExtent is set to Italy, because if I set it to Europe a lot of transparent tiles are generated

Re: [OpenLayers-Users] Can't get GetLegendGraphic to work with SLD=

2009-02-04 Thread Kenneth Skovhede, GEOGRAF A/S
to convert encoding, and add/remove the BOM. Regards, Kenneth Skovhede, GEOGRAF A/S Kimball, David (DCR) skrev: Turns out there were some hidden characters  at the beginning of the SLD XML file. I don't know how they got there, and you can't see them in notepad, wordpad, XML Copy Editor

Re: [OpenLayers-Users] MapGuide overlay session ID requirements

2009-01-16 Thread Kenneth Skovhede, GEOGRAF A/S
Yes, that is all there is to it. I think there is a problem with browser cache, but other than that it works right away. Regards, Kenneth Skovhede, GEOGRAF A/S gingerbbm skrev: Dear all I want to utilise OpenLayers.Layer.MapGuide to show overlay layers in my map. The documentation

Re: [OpenLayers-Users] openLayers User Guide / Tutorial

2009-01-09 Thread Kenneth Skovhede, GEOGRAF A/S
Is this close to what you are looking for: http://workshops.opengeo.org/openlayers/intro/doc/ Regards, Kenneth Skovhede, GEOGRAF A/S Derek Watling skrev: Hi I am new to this list and relatively new to openLayers. We already have a site developed with ASP.NET (VB) / MySQL / AJAX and using

Re: [OpenLayers-Users] Firefox Vector Rendering in Modify Feature Example

2008-10-30 Thread Kenneth Skovhede, GEOGRAF A/S
There is a snapping patch. Eric Lemoine said he would make it more accesible soon: http://www.nabble.com/Snap-td20187491.html#a20187491 Regards, Kenneth Skovhede, GEOGRAF A/S dizzle skrev: Thanks for the info. Do I have to write my own line snapping, or is there a js include that I need

Re: [OpenLayers-Users] Firefox Vector Rendering in Modify Feature Example

2008-10-29 Thread Kenneth Skovhede, GEOGRAF A/S
is not included, and must be added manually. Regards, Kenneth Skovhede, GEOGRAF A/S dizzle skrev: I'm not familiar with what vector rendering is when it comes to browsers, so can someone explain to me why http://dev.openlayers.org/sandbox/camptocamp/feature/examples/modify-feature.html doesn't

[OpenLayers-Users] Problem with Trac notifications

2008-10-19 Thread Kenneth Skovhede, GEOGRAF A/S
it, or is it meant to be that way for OL? -- Regards, Kenneth Skovhede, GEOGRAF A/S ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Problem with Trac notifications

2008-10-19 Thread Kenneth Skovhede, GEOGRAF A/S
Then I will recieve all messages generated by the trac system? It's a bit much for following a few issues, but alright. Regards, Kenneth Skovhede, GEOGRAF A/S Eric Lemoine skrev: Hi. Have you registered to the trac mailing list? If not go to the OpenLayers list registration page and register

Re: [OpenLayers-Users] Problem with Trac notifications

2008-10-19 Thread Kenneth Skovhede, GEOGRAF A/S
, Kenneth Skovhede, GEOGRAF A/S Eric Lemoine skrev: Yes. If you just want to receive messages of a specific ticket add your email to that ticket's CC: field. Eric 2008/10/19, Kenneth Skovhede, GEOGRAF A/S [EMAIL PROTECTED]: Then I will recieve all messages generated by the trac system

Re: [OpenLayers-Users] Problem with Trac notifications

2008-10-19 Thread Kenneth Skovhede, GEOGRAF A/S
The Reported by contains my OL login, from which my email is avalible. Regards, Kenneth Skovhede, GEOGRAF A/S Eric Lemoine skrev: You may also get notifications if the reporter field includes your email address. For this to work it may be that the always_notify_reporter must be set to true

Re: [OpenLayers-Users] Problem with Trac notifications

2008-10-19 Thread Kenneth Skovhede, GEOGRAF A/S
enter a comment myself. If anything, it should send notifications ONLY when others comment, I assume most people are aware that they have just posted a message. Regards, Kenneth Skovhede, GEOGRAF A/S Christopher Schmidt skrev: On Sun, Oct 19, 2008 at 02:01:54PM +0200, Kenneth Skovhede

Re: [OpenLayers-Users] Problem with Trac notifications

2008-10-19 Thread Kenneth Skovhede, GEOGRAF A/S
Yes! If there are no objections I would like that very much. Regards, Kenneth Skovhede, GEOGRAF A/S Christopher Schmidt skrev: On Sun, Oct 19, 2008 at 03:38:15PM +0200, Kenneth Skovhede, GEOGRAF A/S wrote: I think you are wrong. If I click on the Settings link after being logged in, I

Re: [OpenLayers-Users] Custom cursor problems

2008-10-15 Thread Kenneth Skovhede, GEOGRAF A/S
It's a work in progress: http://trac.openlayers.org/ticket/1484 You can pull some pointers from the attached diff to see where the pointers are reset. Regards, Kenneth Skovhede, GEOGRAF A/S j-ms skrev: Hi I want to use custom cursors to allow the user to easily differentiate what mode

Re: [OpenLayers-Users] [ZS0] layer on/off

2008-10-05 Thread Kenneth Skovhede, GEOGRAF A/S
Yes, you can use: a href=javascript:layer.setVisibility(true); Show/a a href=javascript:layer.setVisibility(false); Hide/a a href=javascript:layer.setVisibility(!layer.getVisibility()); Toggle/a Where layer is the layer to show/hide. Regards, Kenneth Skovhede, GEOGRAF A/S Kenny skrev: Hi

Re: [OpenLayers-Users] OL code JS (ECMA?) standarts compliance and code packing

2008-10-03 Thread Kenneth Skovhede, GEOGRAF A/S
it. Regards, Kenneth Skovhede, GEOGRAF A/S Christopher Schmidt skrev: On Thu, Oct 02, 2008 at 05:55:37AM -0700, BrainDrain wrote: I think that code strictness is not such a bad property. Are you saying that the OL code fails JSLint? It doesn't seem to for me at the moment. If that's

Re: [OpenLayers-Users] util.js: Line 585 encodedValue = encodeURIComponent(value);

2008-09-18 Thread Kenneth Skovhede, GEOGRAF A/S
the extra c=f keypair, but you should not add such a value there, because parsing the key/value list other places becomes a real pain. More info here: http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp Regards, Kenneth Skovhede, GEOGRAF A/S Carolin Wengerter skrev: Why or when do I

Re: [OpenLayers-Users] WMS request too long

2008-08-22 Thread Kenneth Skovhede, GEOGRAF A/S
You can try to send the request as a POST, rather than a GET. AFAIK, there is no way you can fix IE to send arbitrary request strings. Regards, Kenneth Skovhede, GEOGRAF A/S Bas Couwenberg skrev: Hello, when retrieving my layer with WMS I want to send a SLD document in the sld_body tag

Re: [OpenLayers-Users] Smooth transition between two Image layers

2008-07-15 Thread Kenneth Skovhede, GEOGRAF A/S
at runtime, but that is bound to break when OpenLayers is updated. Regards, Kenneth Skovhede, GEOGRAF A/S Jesper Larsen skrev: Hi Christopher, realjax and others, As I understand your answer Christopher there is nothing I can do to avoid the blinking. Is that a correct understanding? In case

Re: [OpenLayers-Users] Smooth transition between two Image layers

2008-07-15 Thread Kenneth Skovhede, GEOGRAF A/S
I was thinking of resize. I found some code in .\Tile.js that appeared to have this effect. Regards, Kenneth Skovhede, GEOGRAF A/S Jesper Larsen skrev: Hi Kenneth and others, Thank you for taking the time to elaborate on Christophers suggestion, it was really helpful (I am new to OpenLayers

Re: [OpenLayers-Users] Incompativili with IE 6

2008-06-23 Thread Kenneth Skovhede, GEOGRAF A/S
might want to try installing a Javascript debugger for IE (like Visual Studio). Regards, Kenneth Skovhede, GEOGRAF A/S David Martinez Morata skrev: Hi list! I'm developing a Openlayers environement and I fund a problem. I used FireFox v2 to develop and every thing it's OK but when I try

Re: [OpenLayers-Users] Handling double click

2008-06-10 Thread Kenneth Skovhede, GEOGRAF A/S
, the conclusion is: It cannot be done. Thank you for looking at it. Regards, Kenneth Skovhede, GEOGRAF A/S Eric Lemoine skrev: On Mon, Jun 9, 2008 at 8:20 PM, Kenneth Skovhede, GEOGRAF A/S [EMAIL PROTECTED] wrote: Yes. I have the problem even though I always activate the click handler last. As always

Re: [OpenLayers-Users] Handling double click

2008-06-09 Thread Kenneth Skovhede, GEOGRAF A/S
you have any suggestion on how to deal with this problem? Regards, Kenneth Skovhede, GEOGRAF A/S Eric Lemoine skrev: Hi. I'm not sure i understand. Do you use OL click handler or have you implemented your own double click handler? OL click handler supports double click. So use that handler

Re: [OpenLayers-Users] Handling double click

2008-06-09 Thread Kenneth Skovhede, GEOGRAF A/S
draghandler.activate(); dblclick.activate(); } /script div style=width:400px; height:200px; border: 1px blue solid; id=map/div div id=eventlog/div /body /html Regards, Kenneth Skovhede, GEOGRAF A/S Eric Lemoine skrev: On Mon, Jun 9, 2008 at 3:02 PM, Kenneth Skovhede, GEOGRAF A/S

Re: [OpenLayers-Users] Animation in OpenLayers

2008-05-19 Thread Kenneth Skovhede, GEOGRAF A/S
Yes, exactly. I thought it was included as the default transition effect, but it is not. There is one bug though, in FF2, you cannot stretch a PNG image (with alpha?) more than 4 times, or it goes black. Other than that, very nice, thanks. Regards, Kenneth Skovhede, GEOGRAF A/S Eric

[OpenLayers-Users] Handling double click

2008-05-19 Thread Kenneth Skovhede, GEOGRAF A/S
; }, The return false does not prevent the click events from occuring. Stopping the single click events makes the current tool useless. -- Regards, Kenneth Skovhede, GEOGRAF A/S ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo

Re: [OpenLayers-Users] Handling double click

2008-05-19 Thread Kenneth Skovhede, GEOGRAF A/S
I see. For some reason I have a handler called OpenLayers.Handler.DoubleClick with a MetaCarta copyright notice. I can see that the Click handler is much closer to what I want. I will try it out. Thank you. Regards, Kenneth Skovhede, GEOGRAF A/S Eric Lemoine skrev: Hi. I'm not sure i

[OpenLayers-Users] Animation in OpenLayers

2008-05-18 Thread Kenneth Skovhede, GEOGRAF A/S
I can see that there are several patches supporting zoom animation, which are reportedly included in OpenLayers 2.6. Why are these not enabled in the demo application on the main page? http://openlayers.org/ -- Regards, Kenneth Skovhede, GEOGRAF A/S