[OpenLayers-Users] Can I draw a "great circle" Vector?

2008-09-26 Thread Ken Martin
Newbie (and incredibly impressed) user. :) I'm drawing lines based on example code I've grabbed from openlayers.org, which is essentially using this... var lineFeature = new OpenLayers.Feature.Vector( new OpenLayers.Geometry.LineString(pointList),null,

[OpenLayers-Users] projections, ESPG 4326 and 900913

2008-09-26 Thread Andrew Schuh
I want to say first of all that this is a great suite of code and I apologize in advance if this question has been posed in various fashions before, because I assume most people have run into this. I tend to find a lot of GIS data coming over the web in either ESPG 4326 or 900913 and often it doe

[OpenLayers-Users] Associate Marker with its popup after drag

2008-09-26 Thread Bijoy K. Anupam
Hi All, I hope someone can help me with this. I am developing a map service where user can click on any point on the map, and the marker shows with its popup. User can than fill up the form and submit. This marker now contains the saved data. Now, user can also drag this marker to new loca

Re: [OpenLayers-Users] Transform Vector Layer / Vector Feature

2008-09-26 Thread Salvaro
Another doubt: vectorFeature.geometry.transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913")); I was looking the OpenLayers and Geometry.js aparently doesn't have a function "transform" (as her "sons" have), in this example geometry is calling transform fro

Re: [OpenLayers-Users] Can't get VE map to work

2008-09-26 Thread realjax
euzuro wrote: > > Yup, > > The problem is that you are requestion v6.1 of the VE library, and yet you > are > requesting the current API version of OpenLayers... which is v2.6. > As a side note it may be interesting to know that microsoft recently 'deprecated' all versions prior to 6. In eff

Re: [OpenLayers-Users] Transform Vector Layer / Vector Feature

2008-09-26 Thread Salvaro
Yes, you are right. But the gwt-openlayers unhappyly is uncomplete and "stopped", and haven't some things. And I've to implement it to can use (for an example I will have to create the method transform in Geometry, now I just can transform geometry.bounds). And know how it is in OpenLayers helps

Re: [OpenLayers-Users] Transform Vector Layer / Vector Feature

2008-09-26 Thread Christopher Schmidt
On Fri, Sep 26, 2008 at 04:30:16AM -0700, Salvaro wrote: > > The gwt-openlayers just transforms OpenLayers in Java, but the logic of the > solutions usually are the same. Sure, but the names being different means that an OL Developer probably can't tell you the exact things you should be using in

Re: [OpenLayers-Users] Transform Vector Layer / Vector Feature

2008-09-26 Thread Salvaro
The gwt-openlayers just transforms OpenLayers in Java, but the logic of the solutions usually are the same. Reproject the points in Java or JavaScript have the same idea, Java just use different names to call what is in JS. And my doubt was just how to change the coordinates of a Vector Feature an

Re: [OpenLayers-Users] custom layer switcher 1

2008-09-26 Thread Christopher Schmidt
On Fri, Sep 26, 2008 at 07:34:31AM +0200, Adorian Ardelean wrote: > Hi, > > Perhaps a very simple question: I would like to build a tree-like custom > layer switcher in a floating div outside of OL map div. > Could layers visibility (on/off) be controlled through code (base layers and > the rest)?

Re: [OpenLayers-Users] Transform Vector Layer / Vector Feature

2008-09-26 Thread Christopher Schmidt
On Fri, Sep 26, 2008 at 03:57:25AM -0700, Salvaro wrote: > > 1 - Yes, vector is an array of Feature; > 2 - I used the method getGeometry() of the lib gwt-openlayers, Sigh. gwt-openlayers is *not* OpenLayers: I don't mind people using it, but *please* at least mention it when you are, since it to

Re: [OpenLayers-Users] Transform Vector Layer / Vector Feature

2008-09-26 Thread Salvaro
1 - Yes, vector is an array of Feature; 2 - I used the method getGeometry() of the lib gwt-openlayers, it just returns the attribute geometry (public static native JSObject getGeometry(JSObject vector) /*-{ return vector.geometry; }-*/;), and covert the JSObject into a java

Re: [OpenLayers-Users] marker label?

2008-09-26 Thread Arnd Wippermann
You can use Popups and show them immediately without hover or click Arnd Wippermann -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Deli Soetiawan Gesendet: Freitag, 26. September 2008 07:52 An: users@openlayers.org Betreff: Re: [OpenLayers-Users

Re: [OpenLayers-Users] custom layer switcher 1

2008-09-26 Thread Adorian Ardelean
Hi Brad, Wow...quite similar to what I aim for: full screen map and floating window with layer switcher (loaded/adjusted through ajax). I will try to look on how you control layer visibility and switch base layers through code and if I have questions I return if you do not mind. All the best, Ado