[OpenLayers-Users] Moving Vector Markers with ExternalGraphic & Style-based Rotation

2009-08-21 Thread Matt Priour
Just posted some examples of moving vector markers which makes use of externalGraphic & a dynamic rotation based style. http://priour.wordpress.com/2009/08/21/openlayers-moving-vector-markers/ Updates the example in this message (http://n2.nabble.com/externalGraphic-rotation-in-a-vector-layer-td

Re: [OpenLayers-Users] Double click on map highlights pan up image

2009-08-21 Thread Christopher Dale
Hi everybody, This looks like it's only on Chrome so far. If you notice it on another browser, let the list know. Thanks, Chrelad On Fri, Aug 21, 2009 at 4:18 PM, Christopher Dale wrote: > Hey everyone, > > This is a wierd one, but I noticed that when I double click on the map > the pan up imag

Re: [OpenLayers-Users] problem selecting vector features with labels - Potential IE bug

2009-08-21 Thread Paul Spencer
perhaps http://trac.openlayers.org/ticket/2148 is relevant? On 21-Aug-09, at 3:55 PM, Michael Anderson wrote: > Hi, > > I added labels to a vector layer and hooked up a ModifyFeature > control. > Everything works fine in FireFox. In IE 7 and 8 when you try to > click on a > feature to select

[OpenLayers-Users] Double click on map highlights pan up image

2009-08-21 Thread Christopher Dale
Hey everyone, This is a wierd one, but I noticed that when I double click on the map the pan up image is is selected. I've included a shot of this happening on one of the example pages on OpenLayers.org. http://yfrog.com/b5openlayers5g The example page I tried this on was http://openlayers.org/

Re: [OpenLayers-Users] Overriding map style causing major drift

2009-08-21 Thread Christopher Dale
Hey everyone, I'm running into another problem with this way of setting the vector layer's style. It looks like the editing handles are inheriting the styles from the vector layer as well, which makes for some nasty looking handles. Anyone know of a way to directly target the vector features them

[OpenLayers-Users] alguien habla/escribe hispano???

2009-08-21 Thread Mauricio Marquez
Buenas tardes a todos, saludos desde Venezuela. Tengo la siguiente necesidad, deseo que cuando se cargue la vista desde el explorador al menos una capa aparezca en modo inactivo, supongo que es algo sencillo pero me considero un novato, no tengo más de 1 mes que comencé a adentrarme a openlayers

[OpenLayers-Users] problem selecting vector features with labels - Potential IE bug

2009-08-21 Thread Michael Anderson
Hi, I added labels to a vector layer and hooked up a ModifyFeature control. Everything works fine in FireFox. In IE 7 and 8 when you try to click on a feature to select it, and you click over the label, nothing happens. If the feature is selected and you click over the label it is unselected as

Re: [OpenLayers-Users] Overriding map style causing major drift

2009-08-21 Thread Christopher Dale
Heya Everyone, I found an example on OpenLayer's site that shows another way of accessing and modifying properties of layers. http://openlayers.org/dev/examples/modify-feature.html This is the line that worked for me: OpenLayers.Feature.Vector.style['default']['strokeWidth'] = '2'; Thanks ever

Re: [OpenLayers-Users] Panning button in the editing toolbar re-enables zoom via scroll wheel

2009-08-21 Thread Christopher Dale
Good news, Figured out how to at least get the navigation control in the editing toolbar to not allow zooming via the scroll wheel until the zooming gets fixed. After adding your Navigation control to the map, drop this in: var controls = map.getControlsByClass('OpenLayers.Control.Navigation'); f

Re: [OpenLayers-Users] Panning button in the editing toolbar re-enables zoom via scroll wheel

2009-08-21 Thread Christopher Dale
Hey team OpenLayers, Just another shot of the bug mentioned in the first message. This time I managed to capture the panning problem as well as the zoom problem. http://yfrog.com/15openlayers3g Lemme know what you think and thanks, Chrelad On Fri, Aug 21, 2009 at 11:20 AM, Christopher Dale wro

Re: [OpenLayers-Users] Panning button in the editing toolbar re-enables zoom via scroll wheel

2009-08-21 Thread Christopher Dale
Hi everyone, I tested this on Chrome and it seems to do the same thing. Just checking to make sure it wasn't a Firefox only thing. I took a sec to record this attempt also. http://yfrog.com/15openlayers2g Lemme know what you think and thank you, Chrelad On Fri, Aug 21, 2009 at 10:47 AM, Chris

Re: [OpenLayers-Users] Panning button in the editing toolbar re-enables zoom via scroll wheel

2009-08-21 Thread Christopher Dale
Hi everyone, I thought maybe an example of what I'm talking about might help everyone here get an idea of what I'm talking about. http://yfrog.com/74openlayers1g Let me know what you think and thanks again, Chrelad On Fri, Aug 21, 2009 at 10:03 AM, Christopher Dale wrote: > Hi everyone, > > Co

[OpenLayers-Users] Printing in IE

2009-08-21 Thread jim.meyer
Hi, I am using a tiled map and it appears ok in my print preview window. But, when it prints the map images aren't displayed on paper. Any help would be appreciated. Thanks, Jim Jim Meyer Java Programmer ConceptSolutions, LLC We Make Business Intelligent 703.889.8434 [desk]

[OpenLayers-Users] Still popup issues...

2009-08-21 Thread Nicholas Efremov-Kendall
Hi all, I'm still having troubles with my popups. I don't think I fully grasped Eric's advice. The error I get in Safari's error console is the following result of expression popup is not an object, referencing line 10 of my code and line 803 of Openlayers.js (2.8). Any suggestions? function onPo

[OpenLayers-Users] Panning button in the editing toolbar re-enables zoom via scroll wheel

2009-08-21 Thread Christopher Dale
Hi everyone, Couple things :) First off, I found that zooming with the scroll wheel can cause some big headaches. Here are some of the things I ran into while zooming in and out and panning. Note that all tests were done with Firefox 3 + OpenLayers SVN + Virtual Earth base tiles + Spherical merca

[OpenLayers-Users] specify offset for vector features

2009-08-21 Thread Nicholas Efremov-Kendall
Hi all, I've got some reprojected GML displayed over a NASA WMS layer and I'm noticing a very slight but apparently consistent offset of my geometry from the underlying features. Is there anyway to apply a consistent offset to all the vectors in the map, or do I have to re-project everything and re

Re: [OpenLayers-Users] How to make a drag and drop for markers?

2009-08-21 Thread Alexandre Dube
Hi, One way to accomplish this is to use a Vector layer instead of a Marker layer and use a ModifyFeature control do move your points (markers) around. See an example (1). Draw a point, then using the "modify feature" control, drag and drop your point where you want. Best of luck, Alexa

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread bartvde
Hi Arthur, check out the console tab of Firebug, and make sure XMLHttp requests are on (check out options on the right in Firebug). It's because OpenLayers uses POST by default for WFS, so that's why you don't see any parameters. You will see the POST body though in Firebug. Best regards, Bart

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread Arthur Delorme
I have no attributes because I use "gml_exclude_items" "all" (for now I only need the vectors to display so I thought it was good to minimize the request because it's a huge file). But I tried without, with "gml_include_items" "all" and with the inclusion of the ID attribute only, I can see all

Re: [OpenLayers-Users] Issues with some popups

2009-08-21 Thread Nicholas Efremov-Kendall
Eric, If I understand you correctly, every instance of feature.something, should now be evt.feature.something? On Sun, Aug 16, 2009 at 8:00 PM, Eric Lemoine wrote: > On Sunday, August 16, 2009, Nicholas Efremov-Kendall > wrote: > > Hi all, > > I'm having some issues with my code, and I'm not sur

[OpenLayers-Users] Overriding map style causing major drift

2009-08-21 Thread Christopher Dale
Hi everyone, This is my first post to the list, so let me know if I'm missing anything or could improve on my posts. I have an OpenLayers map with two layers. The first layer contains virtual earth base tiles (street view) and the second is a vector layer I use in conjunction with the editing too

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread bartvde
Your GML looks okay to me. You don't have any attributes (next to the geometry), but that should be no problem. Can you see the request go off with Firebug at all when adding the vector layer to your map? Are you using a proxy in between or is the traffic local? Best regards, Bart > Indeed, I se

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread Arthur Delorme
Indeed, I see ms:aster_gdem in the XML flow. I added featurePrefix but it's still not working. Maybe I did some bad things in the map file ? But if it works when I make an URL request... I added an ID attribute to my shapefile objects to indicate the gml_featureid in the map file. Here is a sam

[OpenLayers-Users] How to make a drag and drop for markers?

2009-08-21 Thread Jimmy Aumard
Hi list, I want to know how it's possible to make drag and drop who work for a marker. Thanks Jim ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Openlayers on android

2009-08-21 Thread f campos
Hi, anyonw is using Openlayers on android ? thanks, Filipe ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Get bounding box.

2009-08-21 Thread Mr. Rahul Teni
Hi All, Thanks Ivan for your help. Sorry for disturbing you all. Actually i was newbie with OL and TileCache and i was so short of time  that i was putting everything on net instead of going through documents :-) I am sorry for that and i will right OL documents 10 times when i will be out of

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread bartvde
Hi, is there any prefix used in your GML, again Mapserver defaults to ms:, so in that case you need to add: featureType: "aster_gdem", featureNS: "http://mapserver.gis.umn.edu/mapserver";, featurePrefix: "ms" Best regards, Bart > Thank you ! > > Now I think I am close but it's still not working

[OpenLayers-Users] Fwd: OpenLayers.Lang.setCode doesn't work? 2.8 version

2009-08-21 Thread Jimmy Aumard
Hi list, I use the 2 version and I try to put the langage in French with OpenLayers.Lang.setCode('fr'); but that doesn't work. Thanks for help Jim ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread Arthur Delorme
Thank you ! Now I think I am close but it's still not working... Vectors are not displayed. Do you see where I am wrong ? var map, wms, test_WFS; function init() { map = new OpenLayers.Map('map', { controls: [new OpenLayers.Control.Navigation(), new OpenLayers.Control.Pan

Re: [OpenLayers-Users] Getting tile URL from event parameters

2009-08-21 Thread protos
Never mind - I figured it out. For anyone else that might need it : var px = new OpenLayers.Pixel(event.clientX, event.clientY); var lonlat = map.getLonLatFromViewPortPx(px); var bbox = map.Layer.getTileBounds(px); Where map is an instance of your OpenLayers.Map protos wrote: >

Re: [OpenLayers-Users] Adding new features: WFS-T PostGIS

2009-08-21 Thread Alexandre Dube
Hi Juan, Here's an old OpenLayers demo using WFS-T with TinyOWS (using a PostGIS DB) (1). You have the same example using the MapFish and ExtJS API (2). Click on the "ModifyFeature" icon then on a feature. See the code for more details. Regards, Alexandre (1) http://dev4.mapgears.com/b

Re: [OpenLayers-Users] Adding new features: WFS-T PostGIS

2009-08-21 Thread Gabriel Nolasco
Hi, To set a feature attributes use the property 'attributes' from the class 'OpenLayers.Feature.Vector'. You can control the type of the transaction doing something like: if (selectedFeature.state != OpenLayers.State.INSERT) {     selectedFeature.state = OpenLayers.State.UPDATE; } Some example

Re: [OpenLayers-Users] Users Digest, Vol 35, Issue 58

2009-08-21 Thread Gabriel Nolasco
Hi! To set the feature attributes use the proprerty 'attributes' from the class 'OpenLayers.Feature.Vector'. You can control the the transaction type using something like his: if (selectedFeature.state != OpenLayers.State.INSERT) { selectedFeature.state = OpenLayers.State.UPDATE;

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread bartvde
Hi Arthur, yes the BBOX strategy will take care of that. The GML version is determined by the protocol version, WFS 1.0 is tied to GML2, whereas WFS 1.1 is tied to GML3. The WFS protocol version defaults to 1.0, so you will get the Format.GML.v2 parser. So you should not need to change anything.

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread Arthur Delorme
Thank you for your answer. If I understand, the BBOX strategy option will do the stuff with the limits to take into account for not reading the whole data. I have some other questions : - I am not sure which URL to put for "featureNS"? - I also had a problem of GML format : I used the option O

Re: [OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread bartvde
Hi, please check examples\wfs-protocol.html for the right way to do this as of OpenLayers 2.8. Best regards, Bart > Hello, > > I am trying to display part of the data of a big shapefile with a WFS > request and BBOX to filter the data and display only the vectors > contained in the map view. > >

[OpenLayers-Users] Problem with a WFS request

2009-08-21 Thread Arthur Delorme
Hello, I am trying to display part of the data of a big shapefile with a WFS request and BBOX to filter the data and display only the vectors contained in the map view. I just finished configuring the WFS server (Mapserver) : URL request is working and I could read the XML that I saved in a fi

[OpenLayers-Users] Getting tile URL from event parameters

2009-08-21 Thread protos
Hi, I need to get the URL for a tile that has been clicked on - specifically the bbox of the tile. Is there a way to get the bbox / url of a tile from any of the event parameters ? Was looking at clientX / clientY but I haven't had any success yet .. Thanks in advance for any help. Colm

Re: [OpenLayers-Users] Issues with display of overview map in Chrome.

2009-08-21 Thread Nicholas Efremov-Kendall
Hi Bill, Can you elaborate on this a little? Here's my code for reference. map = new OpenLayers.Map ("map", { controls:[ new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoomBar(), new OpenLayers.Control.LayerSwitcher(), new OpenLayers.Control.Attribution(), new OpenLayers.Contr