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> |