From: Romain B. <bod...@gm...> - 2011-07-01 09:20:51
|
Hi everyone, I want to create areas which are crossing the International Date Line using the OpenLayers DrawFeature. I tried to set the wrapLine to true in the WMSOptions but it only displays an infinity of maps in my application. Every time I try to add a point after crossing the IDL, the point is appearing on the other side of the map. I can't add a screenshot but the fact is I want to add the point in the left side of the map but it will be added on the right side instead. Is there any way to do this ? By the way, it is possible to drag, resize, reshape and rotate the polygon so that it cross the IDL. Please advise. Thank you, Romain |
From: Romain B. <bod...@gm...> - 2011-07-05 14:54:53
|
Hi everyone, Is somebody can help me ? Can you at least tell me if it is possible or not please ? Thank you, Romain 2011/7/1 Romain BODNAR <bod...@gm...> > Hi everyone, > > I want to create areas which are crossing the International Date Line using > the OpenLayers DrawFeature. I tried to set the wrapLine to true in the > WMSOptions but it only displays an infinity of maps in my application. Every > time I try to add a point after crossing the IDL, the point is appearing on > the other side of the map. I can't add a screenshot but the fact is I want > to add the point in the left side of the map but it will be added on the > right side instead. > > Is there any way to do this ? > By the way, it is possible to drag, resize, reshape and rotate the polygon > so that it cross the IDL. > > Please advise. > > Thank you, > Romain > |
From: Lukas J. <luk...@de...> - 2011-07-06 07:27:30
|
Have you tried it in a plain openlayers client? (in plain javascript) Från: Romain BODNAR [mailto:bod...@gm...] Skickat: den 5 juli 2011 16:54 Till: gwt-openlayers-users Ämne: Re: [Gwt-openlayers-users] Adding polygon crossing the IDL Hi everyone, Is somebody can help me ? Can you at least tell me if it is possible or not please ? Thank you, Romain 2011/7/1 Romain BODNAR <bod...@gm...<mailto:bod...@gm...>> Hi everyone, I want to create areas which are crossing the International Date Line using the OpenLayers DrawFeature. I tried to set the wrapLine to true in the WMSOptions but it only displays an infinity of maps in my application. Every time I try to add a point after crossing the IDL, the point is appearing on the other side of the map. I can't add a screenshot but the fact is I want to add the point in the left side of the map but it will be added on the right side instead. Is there any way to do this ? By the way, it is possible to drag, resize, reshape and rotate the polygon so that it cross the IDL. Please advise. Thank you, Romain |
From: Lukas J. <luk...@de...> - 2011-07-06 07:37:42
|
Perhaps people in the ordinary openlayers mailinglist could have any ideas. If you can get it to work in plain js, we can get it to work I gwt-ol. Från: Lukas Johansson [mailto:luk...@de...] Skickat: den 6 juli 2011 09:27 Till: Romain BODNAR; gwt-openlayers-users Ämne: Re: [Gwt-openlayers-users] Adding polygon crossing the IDL Have you tried it in a plain openlayers client? (in plain javascript) Från: Romain BODNAR [mailto:bod...@gm...] Skickat: den 5 juli 2011 16:54 Till: gwt-openlayers-users Ämne: Re: [Gwt-openlayers-users] Adding polygon crossing the IDL Hi everyone, Is somebody can help me ? Can you at least tell me if it is possible or not please ? Thank you, Romain 2011/7/1 Romain BODNAR <bod...@gm...<mailto:bod...@gm...>> Hi everyone, I want to create areas which are crossing the International Date Line using the OpenLayers DrawFeature. I tried to set the wrapLine to true in the WMSOptions but it only displays an infinity of maps in my application. Every time I try to add a point after crossing the IDL, the point is appearing on the other side of the map. I can't add a screenshot but the fact is I want to add the point in the left side of the map but it will be added on the right side instead. Is there any way to do this ? By the way, it is possible to drag, resize, reshape and rotate the polygon so that it cross the IDL. Please advise. Thank you, Romain |
From: Roland S. <Rol...@no...> - 2011-07-07 14:04:38
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Romain,<br> <br> Take a look at this: <a href="http://code.google.com/p/referencemap/">http://code.google.com/p/referencemap/</a>.<br> <br> The code shows how to set up OpenLayers to allow drawing across the date line and once drawn the rectangles can be re-sized and dragged.<br> <br> Here is an example of this code in action: <a href="http://olmapwidget.appspot.com/MapExample.html">http://olmapwidget.appspot.com/MapExample.html</a>.<br> <br> Roland<br> <br> On 07/01/2011 04:20 AM, Romain BODNAR wrote: <blockquote cite="mid:BAN...@ma..." type="cite">Hi everyone,<br> <br> I want to create areas which are crossing the International Date Line using the OpenLayers DrawFeature. I tried to set the wrapLine to true in the WMSOptions but it only displays an infinity of maps in my application. Every time I try to add a point after crossing the IDL, the point is appearing on the other side of the map. I can't add a screenshot but <font size="-1">the fact is I want to add the point in the left side of the map but it will be added on the right side instead.<br> Is there any way to do this ?<br> By the way, it is possible to drag, resize, reshape and rotate the polygon so that it cross the IDL.<br> <br> Please advise.<br> <br> Thank you,<br> Romain</font> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-d2d-c2">http://p.sf.net/sfu/splunk-d2d-c2</a></pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Gwt-openlayers-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Gwt...@li...">Gwt...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users">https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users</a> </pre> </blockquote> <br> </body> </html> |