Re: [OpenLayers-Users] [Geowanking] OpenLayers code ported to ActionScript 3

2009-03-09 Thread Christopher Schmidt
On Mon, Mar 09, 2009 at 04:10:53PM -0400, Scott Pezanowski wrote: > > Hi, > > The GeoVISTA Center at Penn State University had the need for a Flash/Flex > client mapping API. So about 8-12 months ago I had ported a portion of the > OpenLayers code from JavaScript to ActionScript 3. This code su

[OpenLayers-Users] Having Trouble with displaying features

2009-03-09 Thread George Silva
Hello everyone, I'm quite a novice OL user. I'm using Geoserver with PostGIS layers, and i would like to display them with OL. In the "Demo" session of GeoServer admin page i can see my FeatureType and GeoServer correctly renders a test page of this FeatureType for me. However, when i'm writin

[OpenLayers-Users] Deleting a feature

2009-03-09 Thread Dave Potts
Hi Folks I am trying to delate an feature object. Thanks to previous advice, I can create a polygon and delete, no problems, except a yellow circle is left at every vertex of the polygon after I have delete it. Is there any way off get rid of these spots ? Dave. begin:vcard fn:David Potts

[OpenLayers-Users] proxyhost using window url parameters

2009-03-09 Thread albert valls
hi list, I've found this problem... when using the proxy for the ajax queries, the proxy adds the window url parameters to the request. Let me explain with a sample: window.location.url: "http://server/index.jsp?param1=value1¶m2=value2 then, when a query is retreived with a OpenLayers.ProxyHost

Re: [OpenLayers-Users] need Static image as map of small city with correct longitude and latitude

2009-03-09 Thread Pierre GIRAUD
You're not adding the layer to the map. Try the following : function init(){ map = new OpenLayers.Map('map'); var options = { numZoomLevels: 5 }; var olbound = new OpenLayers.Bounds(15.865164, 58.172783, 16.651403, 58.620233); //bounds(left,bu

[OpenLayers-Users] Options in constructors - Beginner Question

2009-03-09 Thread Jaume Figueras
Hi, I can't find in the docs which are the options that can be configured in many constructors, and also, what they mean. I can figure out from some examples and try and error, but I can't find them in the docs. Can you link me where the options are explained? Now I'm searching the pointRaduis

Re: [OpenLayers-Users] KML Polystyle

2009-03-09 Thread VIDAUD Romain
Re- Actually the problem appears in IE7 and the kml is working in FF3.0.7 Romain De : VIDAUD Romain Envoyé : lundi 9 mars 2009 16:51 À : users@openlayers.org Objet : KML Polystyle Hello, I try to apply a style to KML Multigeometry Polygons but I get white (or transparent) shap

[OpenLayers-Users] KML Polystyle

2009-03-09 Thread VIDAUD Romain
Hello, I try to apply a style to KML Multigeometry Polygons but I get white (or transparent) shapes.. What is the trick for this ? Thks, Romain. ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] need Static image as map of small city with correct longitude and latitude

2009-03-09 Thread nab
Thanks for the reply, here is the code which i used with static map, but the longitued and latitude i got is incorrect or sometime i couldnot even get any image loaded on the canvas. function init(){ map = new OpenLayers.Map('map'); var options = { numZoomLevels: 5 };

Re: [OpenLayers-Users] mouse-line offset with Google maps

2009-03-09 Thread Christopher Schmidt
On Mon, Mar 09, 2009 at 04:29:21PM +0100, Erwin Poeze wrote: > Hello, > > I'm new to OpenLayer but I have programming experience with the Google > Maps API. I like the fact that OpenLayers is independent of the 'map > provider' and I am considering to continue programming in OpenLayers. > > I ran

[OpenLayers-Users] mouse-line offset with Google maps

2009-03-09 Thread Erwin Poeze
Hello, I'm new to OpenLayer but I have programming experience with the Google Maps API. I like the fact that OpenLayers is independent of the 'map provider' and I am considering to continue programming in OpenLayers. I ran into a problem that I'm unable to solve. I examined the example draw-featu

Re: [OpenLayers-Users] need Static image as map of small city with correct longitude and latitude

2009-03-09 Thread Pierre GIRAUD
Hi Nabin, Perhaps you should have a look at the "Image" layer class. http://dev.openlayers.org/docs/files/OpenLayers/Layer/Image-js.html You can find an example here : http://www.openlayers.org/dev/examples/image-layer.html If this is still not working, please come back with some code to show us

[OpenLayers-Users] need Static image as map of small city with correct longitude and latitude

2009-03-09 Thread nab
Hi, I had seen your posts and replies in this forum, which is impressive and helped me lot as well while using openlayer. Actaully i am new to openlayer and i am using static map image(jpg) of my city but i could not get correct long/lat value since i use map of very small city, i try to fix it thr

Re: [OpenLayers-Users] Question about selected feature

2009-03-09 Thread Gene Sally
Hi, Thanks for all of the help on this topic. This is the closest to what I need to achieve. I didn’t think to use the highlighting tool to get this effect. Thanks, gene -Original Message- From: Alexandre Dube [mailto:ad...@mapgears.com] Sent: Thursday, March 05, 2009 9:52 AM To: Ge

Re: [OpenLayers-Users] IE registers click postion with an offset to the left

2009-03-09 Thread Nico Mandery
Hi Christopher, I just found that the problem was caused by a "position: relative;" on an outer Div - so its not directly related to OpenLayers at all. I will keep your hint in mind for when I enconter another issue. thanks, nico Christopher Schmidt schrieb: > On Mon, Mar 09, 2009 at 10:00:41A

Re: [OpenLayers-Users] IE registers click postion with an offset to the left

2009-03-09 Thread Christopher Schmidt
On Mon, Mar 09, 2009 at 10:00:41AM +0100, Nico Mandery wrote: > Hello list, > > I am using a clickhandler to recieve events when a user clicks at some > point in the map. Inside the registered callback I use the method > getLonLatFromViewPortPx of the map to get the coordinates from the > pixel-co

[OpenLayers-Users] Background bounds

2009-03-09 Thread VIDAUD Romain
Hello, I have a problem fixing bounds for my background inside the "map" . I defined a 260x300px box and set a OpenLayers.Bounds(3.50, 43.9, 7.30, 46.8) which is larger than the region I need to display (Rhone Alpes, France). As you can see in the attachement, the region is anormaly flatterned

[OpenLayers-Users] IE registers click postion with an offset to the left

2009-03-09 Thread Nico Mandery
Hello list, I am using a clickhandler to recieve events when a user clicks at some point in the map. Inside the registered callback I use the method getLonLatFromViewPortPx of the map to get the coordinates from the pixel-coordinates associated with the event (Event.xy). This works great in Firef

[OpenLayers-Users] Symbols not following lines using MapServer layer

2009-03-09 Thread Ben Madin
G'day all, I can't find any reference to this, but I have a mapserver layer and symbol file that creates a line from points (in a postgis database) and then plots it. Using CGI mapserver I get an image (I don't know if I can attach an image) that looks like arrows moving along the lines. U