[OpenLayers-Users] What Makes a Layer "queryable"? (ref: WMSGetFeatureInfo())

2009-09-28 Thread Bill Thoen
u're passing into OL accordingly? Or is there another, less kludgy approach that I've missed? Thanks, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Beyond the LayerSwitcher Limit

2009-09-24 Thread Bill Thoen
imate Layer Control just now (even if I could my time is getting tight), but are there any useful techniques to somehow juggle the visibility and displayInLayerSwitcher Layer properties or tweak the CSS to get around this limitation? Any suggestions, anyone? TIA, - Bill Thoen _

Re: [OpenLayers-Users] Bounds / Projection

2009-09-21 Thread Bill Thoen
gle use for Google Maps > > We use the Mercator projection for our maps. Wolfram MathWorld has a good > page on the projection (and a bunch of other map projections): > > http://mathworld.wolfram.com/MercatorProjection.html - Bill Thoen ___

Re: [OpenLayers-Users] two different versions of docs

2009-09-20 Thread Bill Thoen
hey, might be willing to do short and quickly. This could go in the wiki, linked to the general Documentation page and eventually be incorporated in the official documentation. (sorry for writing a novel here this morning, but three cups of coffee can cause loggorhea!) - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] map.getLayersBy() Question

2009-09-02 Thread Bill Thoen
right syntax. TIA, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] How Do I Contribute to the User Examples?

2009-08-25 Thread Bill Thoen
in the Examples (at http://openlayers.org/dev/examples/), so it runs quick and takes up little space. So if someone could tell me how I should add my two or three grains of knowledge to the documentation, I'd appreciate it. Regards, - Bill Thoen __

[OpenLayers-Users] How Do I Contribute to the User Examples?

2009-08-22 Thread Bill Thoen
etted HTML and JavaScript code into the site. But if someone with the right authority would please contact me I'd like to know how I can add to the examples collection there. TIA, - Bill Thoen ___ Users mailing list Users@openlayers.org http://open

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

2009-08-20 Thread Bill Thoen
te layers for the overview, it worked perfectly. - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] What's the Best Way to Create Lengends with OL/MapServer?

2009-08-15 Thread Bill Thoen
r own that sometimes I hardly know where to start! Thanks, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Question on the TYPE_BUTTON Control

2009-07-09 Thread Bill Thoen
TYPE_TOGGLE and TYPE_TOOL controls or is this single button icon behavior a WAD (Works As Designed) to keep the tool simple? Thx, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Another Cursored Question

2009-07-02 Thread Bill Thoen
one can point me to what I'm looking for. - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bill Thoen
see that your displayClass is olInfo, so you need to use > olInfoActive for the map cursor: > > .olControlPanel .olInfoItemActive { > background-image: url("../img/info-on.png"); > } > > .olInfoActive { > cursor: pointer; > } > > Best reg

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bill Thoen
Hi Bill, > > please try: > > .olControlPanel .olInfoItemActive { > background-image: url("../img/info-on.png"); > } > > .olInfoItemActive { > cursor: pointer; > } > > Best regards, > Bart > > > Bill Thoen wrote: >> I'm not sur

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bill Thoen
uot; : false}; // Add the control panel var toolArray = []; for( var i=0; i Hi Bill, > > not sure, can you check the css class which has been set on the map > viewport div when you activate a tool? They should have those values. > Maybe there is another class which is preventing

Re: [OpenLayers-Users] Support for Cursors?

2009-07-02 Thread Bill Thoen
ht there had been some work done on this. >> >> If not, can someone tell me the best place to set the cursor icon for >> tool buttons? Is there an "on activate" event I can listen for, or is >> there a better way to do this? >> >> Thx, >> -

[OpenLayers-Users] Support for Cursors?

2009-07-01 Thread Bill Thoen
s? Is there an "on activate" event I can listen for, or is there a better way to do this? Thx, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] How to change Box style ...

2009-06-30 Thread Bill Thoen
Just change the css style in ol/theme/default/style.css for .olHandlerBoxZoomBox. It looks like this: .olHandlerBoxZoomBox { border: 2px solid red; position: absolute; background-color: white; opacity: 0.50; font-size: 1px; filter: alpha(opacity=50); } For example, to chan

[OpenLayers-Users] Comparision between MapServer/OpenLayers and ESRI ArcIMS

2009-05-26 Thread Bill Thoen
s I can put those questions out for consideration, but I'd like to know the answers too. Thanks, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Get point on line?

2009-05-02 Thread Bill Thoen
lf into places you have no business being. But if you got the answers to all your problems immediately, your heart wouldn't become purified by the long quest. Good luck! - Bill Thoen shane_china wrote: > Hi, Bill Thoen, I go to the website and find the formulary I want. As > f

[OpenLayers-Users] Can't Convert Coordinates to Picels and Back Again

2009-05-01 Thread Bill Thoen
e that I can use these functions on projected coordinates... but maybe not? - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Can't Convert Coordinates to Picels and Back Again

2009-05-01 Thread Bill Thoen
Never mind, I think I got it. You don't use 'new' with these functions. Bill Thoen wrote: > Just trying to debug a box drawing routine, I got this error: > > *this.getViewPortPxFromLonLat is not a function* > > on Line #746 in file: http://mydomain.com/ol/OpenLayer

Re: [OpenLayers-Users] Get point on line?

2009-04-30 Thread Bill Thoen
Yes, it's a little different for the spherical (Lon/Lat) case. For those formulas, check out Ed Williams' Aviation Formulary website at http://williams.best.vwh.net/avform.htm. What you're looking for is determining waypoint locations, i think. - Bill Thoen shane_china wrote:

Re: [OpenLayers-Users] Get point on line?

2009-04-29 Thread Bill Thoen
stance is D = sqrt((X1-X0)*(X1-X0) + (Y1-Y0)*(Y1-Y0)) Then if the ratio between this and the distance to your point is d, your new point's coordinates will be: X= X0+(X1-X0)*d/D Y=Y0+(Y1-Y0)*d/D HTH, - Bill Thoen ___ Users mailing list Users@op

Re: [OpenLayers-Users] minScale maxScale on layer

2009-04-15 Thread Bill Thoen
There's a good description on that subject right here: http://trac.openlayers.org/wiki/SettingZoomLevels - Bill Thoen toni hernández wrote: > Does anyone know if it is possible to set the minscale and maxscale on > a layer so it shows and hides depending on the scale of the map. >

[OpenLayers-Users] OT - Javascript library for Forms to go with OpenLayers?

2009-03-26 Thread Bill Thoen
locations between IE and FireFox? Don't developers read WC3 specs? Arrg! Anyway, if anyone has a suggestion (or can direct me to a better place to post this) I'd appreciate hearing from you. Thanks, - Bill Thoen ___ Users mailing list Users@o

Re: [OpenLayers-Users] Classic GIS Info tool

2009-03-23 Thread Bill Thoen
ibutes displayed. Then in OpenLayers for each layer you want to be queryable, you need to add the queryable:true parameter to the options object when you load each WMS layer. Since this uses AJAX , you may also need to set up a proxy script. Anyway, if you do all that, you can then use this t

Re: [OpenLayers-Users] How to Set Up Layer Visibility by Scale

2009-03-20 Thread Bill Thoen
he layer is visible between 1:1 and 1:100,000 or that it is visible only at scales smaller than 1:100,000? Bart van den Eijnden (OSGIS) wrote: > Hi, > > minScale and maxScale should be denominators, so use 10 and not > 0.1. > > Best regards, > Bart > > Bill T

[OpenLayers-Users] How to Set Up Layer Visibility by Scale

2009-03-20 Thread Bill Thoen
1, expecting that once I zoom out to say, 1:120,000, the land parcel layer should have its visibility property set to false and the layer should be invisible. But it continues to stay visible. Can somebody tell me what I'm doing wrong? (I'm using OpenLayers 2.7, in case that matters.

Re: [OpenLayers-Users] this.callbacks is undefined error

2009-03-20 Thread Bill Thoen
he code gets into the read() function in WMSGetFeatureInfo.js at line 74-75. Under the same conditions FireFox sets the response.responseXML to null and has no problems. - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] distances in spherical mercator

2009-03-19 Thread Bill Thoen
ds. Google coordinates certainly won't work with Vincenty because that expects coordinates in decimal degrees. - Bill Thoen Alessio Di Lorenzo wrote: > Hi all, > > I'm using the measurement tool in an application that uses google maps as > base. > My problem is that the me

Re: [OpenLayers-Users] Advice for Debugging IE7 in an OpenLayers Project

2009-03-02 Thread Bill Thoen
't name a file correctly.) And I discovered that the line numbers make sense if you can guess which js module to open (the IE error reporter always says the error is in the main html module, even if it's in a *.js file.) Thanks for the help, guys! - Bill Thoen

[OpenLayers-Users] Advice for Debugging IE7 in an OpenLayers Project

2009-03-02 Thread Bill Thoen
rough the whole code alternately commenting out chunks until you find the one with the bug in it (which is never where IE says it is!) Is there a tool like Firebug for IE? Any suggestions or tips on how to deal with this cranky software would be welcome. - Bill Thoen __

[OpenLayers-Users] Overlapping CSS controls on the Map Window

2009-02-28 Thread Bill Thoen
reasonable? - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Background Color - Overview and LayerSwitch

2009-02-28 Thread Bill Thoen
I think that 'color' is one of the options you can use when you create a LayerSwitcher control. Ivan Grcic wrote: > Hi, > > you can use firebug to find which style is being used for desired > component (inspect button) and create ur own style class to override > defaults. > > cheers > > On Fri, F

Re: [OpenLayers-Users] Displaying attributes by onmouseover

2009-02-24 Thread Bill Thoen
I'd recommend you use the wiki, maybe the UserRecipes page http://trac.openlayers.org/wiki/UserRecipes Kai Behncke wrote: > Dear Openlayers-Users, > > > I use an application with a couple of point objects (500) visualized by a wms > in the map. > > I´m looking for a function that pops up a small

[OpenLayers-Users] Inducing LayerSwitcher to Update Through Programming

2009-02-23 Thread Bill Thoen
tBaseLayer() or similar, and redraw() alone doesn't react to a changed base layer. So what I did was set layerStates.length = 0 and called redraw(). This works, but I was wondering if this is the best way to handle it? - Bill Thoen ___ Users mai

[OpenLayers-Users] Grouping Layers

2009-02-20 Thread Bill Thoen
ed into OL as a WMS layer with the name 'naip'. Is this the right approach for creating a multi-zoom layer or can I even do something like this with OpenLayers? Thx, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] OpenLayers Coding Standards

2009-02-02 Thread Bill Thoen
ition -- published just prior to all the excitement with JSON and AJAX. I wondered why such a thick book seemed to have said little or nothing about a big part of the language. - Bill Thoen Tim Schaub wrote: > Hey- > > Bill Thoen wrote: > >> In the OpenLayers wiki on page >> ht

[OpenLayers-Users] OpenLayers Coding Standards

2009-02-02 Thread Bill Thoen
In the OpenLayers wiki on page http://trac.openlayers.org/wiki/CodingStandards it says, "OpenLayers uses the JSAN standard for laying out source files" Is there a reference URL for this standard? I'd like to learn more about it. ___ Users mailin

Re: [OpenLayers-Users] WMS GetFeatureInfo - difficult to click exactly on a point

2009-01-29 Thread Bill Thoen
yline in one query layer crossing a polygon in another query layer, I get the nearest record from each, with the line record listed first only if I click very exactly on the line. Otherwise it appears second in the returned data. - Bill Thoen Kimball, David (DCR) wrote: > Hi everyone, > &g

[OpenLayers-Users] Communicating and Coordinating Maps Among Several Servers

2009-01-29 Thread Bill Thoen
ible, so we want to avoid platform-specific protocols. So does anyone have some suggestions as to what the best way to do this is, or where I could go to learn more about doing something like this? TIA, - Bill Thoen ___ Users mailing list Users@openlayer

Re: [OpenLayers-Users] getFeatureInfo() Only Works on One Layer?

2009-01-28 Thread Bill Thoen
returns if they are closer than records that are visible. But at least it's working now and will solve my problem of providing data attributes for features in WMS layers. - Bill Thoen Arnd Wippermann wrote: > Hi Bill, > > You have to delete the blank in QUERY_LAYERS: "us

[OpenLayers-Users] getFeatureInfo() Only Works on One Layer?

2009-01-27 Thread Bill Thoen
ly. Even if I click on a spot where features in both layers coincide, it returns only the attributes for the layer listed first. So how do I use multiple layers in the QUERY_LAYERS parameter, or do I get only one at a time? Also, I just guessed at using the layer called 'base&#x

[OpenLayers-Users] Querying Features on a WMS Layer

2009-01-25 Thread Bill Thoen
into a querymap or a table template. Anyway, if anyone has done this and has an example they'd be willing to share, I'd like to see how it's done. If this technique actually works, I think it might be a good way to get the benefits of vector features without having to use featur

[OpenLayers-Users] WFS Layer Behavior

2009-01-14 Thread Bill Thoen
When you open a WFS layer does OL load the entire data file, or just the features that are visible in the map window? I tried feeding it a large table and it took quite a while to display, so I was wondering if that was because it had to dig into the table to find the features in the map window

Re: [OpenLayers-Users] Problem with multiple SelectFeature controls

2009-01-14 Thread Bill Thoen
From the responses I'm getting in the "[OpenLayers-Users] Switching Layers Assigned to a SelectFeature Control" thread and some Googling it appears that handling multiple vector layers simultaneously in OpenLayers is not well supported. In fact, it basically won't work. Only one layer of featu

[OpenLayers-Users] Switching Layers Assigned to a SelectFeature Control

2009-01-13 Thread Bill Thoen
I've got three vector feature layers and I'd like to use the same tool to select any feature from any of these layers. But I understand that you can only have one layer selectable at a time. So I'm thinking that if I change the layer reference in the control as needed, that will do it. But it d

Re: [OpenLayers-Users] OpenLayers Book

2009-01-13 Thread Bill Thoen
If we could get enough commitments at say, $45 each or more, then maybe there would be enough to pay the developers to put a technical writer to work on some electronic documentation that has more detail than the current short scope works and robo-generated stuff. I'm thinking of the same model

Re: [OpenLayers-Users] XMLHttpRequest.open Error on WFS layer

2009-01-12 Thread Bill Thoen
Never mind... I solved it by changing all references to the IP 192.168.0.250 to 'localhost'. Even though on my network localhost is 192.168.0.250, I guess if the URL says localhost, then all your data resources need to be referenced the same way. ___ U

[OpenLayers-Users] XMLHttpRequest.open Error on WFS layer

2009-01-12 Thread Bill Thoen
I'm trying to get a layer of lines to open as a WFS layer and I'm getting this error: uncaught exception: Permission denied to call method XMLHttpRequest.open When I issue a GetRequest directly to the server via the browser url window, I get an XML file with all the expected data. But when I tr

Re: [OpenLayers-Users] Need Help with OpenLayers.Request

2009-01-11 Thread Bill Thoen
Sorry, that DOES work. I had a typo. Thanks again! Arnd Wippermann wrote: > I would think, your Content-Type is wrong > > http://faq.openlayers.org/ajax/how-do-i-post-form-encoded-data/ > > Arnd Wippermann > > ___ Users mailing list Users@openlayers.

Re: [OpenLayers-Users] Need Help with OpenLayers.Request

2009-01-11 Thread Bill Thoen
layers.org [mailto:users-boun...@openlayers.org] Im > Auftrag von Bill Thoen > Gesendet: Sonntag, 11. Januar 2009 20:48 > An: users@openlayers.org > Betreff: [OpenLayers-Users] Need Help with OpenLayers.Request > > Can somebody explain to me how to pass data to my server side program us

[OpenLayers-Users] Need Help with OpenLayers.Request

2009-01-11 Thread Bill Thoen
Can somebody explain to me how to pass data to my server side program using OpenLayers.Request? The following example seems to work, only there are no variables in the $_POST array. My handler prints only: result is $_POST variables But apparently the array is empty. What am I missing here? H

Re: [OpenLayers-Users] Example Needed Demonstrating OpenLayers.Request

2009-01-09 Thread Bill Thoen
Christopher Schmidt wrote: > On Fri, Jan 09, 2009 at 01:24:27PM -0700, Bill Thoen wrote: > >> Does anyone have a simple example showing how to use OpenLayers.Request >> to move data back and forth between an OL application and a >> PostgreSQL/PostGIS database? I got

[OpenLayers-Users] Example Needed Demonstrating OpenLayers.Request

2009-01-09 Thread Bill Thoen
x27;t need to load that library. Unfortunately, I'm still pretty new to AJAX, and the lack of detailed documentation on the OpenLayers.Request class puts this out of my reach without some help. TIA, - Bill Thoen ___ Users mailing list Users@openlayer

[OpenLayers-Users] Map Labeling

2009-01-06 Thread Bill Thoen
I have a vector layer of points with associated attributes and I want to use one of those attributes as a label for the points. I thought this would be simple, but it's proving to be elusive. Can someone here explain how to do this in OpenLayers 2.7? Thanks, - Bill

[OpenLayers-Users] What's the Difference Between feature.data and feature.attributes?

2009-01-05 Thread Bill Thoen
I want to create some points in a vector layer and associate some data values with them. It looks like I could store them in either the point feature's data object or its attributes object. Which should I use and what's the difference between these feature objects? __

Re: [OpenLayers-Users] Where Do I Find A List of Available Hashtable Options?

2009-01-02 Thread Bill Thoen
mat them as specified in http://mapserver.osgeo.org/cgi/controls.html#changing-map-file-parameters-via-a-form-or-a-url, putting the directive hierarchy in the key and the final parameter and its value in the value. Also use spaces instead of the '+' characters. Thanks again! - Bill Thoe

Re: [OpenLayers-Users] Where Do I Find A List of Available Hashtable Options?

2009-01-02 Thread Bill Thoen
Chris Adams wrote: > Could you clarify what you mean by setting the layer color? Perhaps > you mean adding a tint to colour of the tiles, or changing the colour > of tile backgrounds before they load? > What I want to do is change the global fill color for the layer's polygon features from pale

Re: [OpenLayers-Users] Where Do I Find A List of Available Hashtable Options?

2009-01-02 Thread Bill Thoen
ot;init=epsg:32614" # UTM Zone 14 N WGS84 END STATUS DEFAULT END Christopher Schmidt wrote: > On Thu, Jan 01, 2009 at 04:08:24PM -0700, Bill Thoen wrote: > >> In several places in the OpenLayers Constructor functions there is a >> parameter that is an object

[OpenLayers-Users] Where Do I Find A List of Available Hashtable Options?

2009-01-01 Thread Bill Thoen
an object. What are the available tags that can be used here and where do I find out what these are? Are they the parameters from a map file, like LAYER.CLASS.STYLE.COLOR: "255 255 0" or something like that? TIA, - Bill Thoen ___

[OpenLayers-Users] Multi-User Applications

2008-12-30 Thread Bill Thoen
I'm working on an OpenLayers application that requires the user to create a polygon that is used in a separate server-side calculation so I have to turn it into a shape file first. For any one user, I can just create a new PostGIS table and simply call it "RegionOfInterest" and then run the CGI

Re: [OpenLayers-Users] Determining polygon area? Trying to see through the confusion.

2008-10-17 Thread Bill Thoen
plen wrote: > I see that there is a feature.geometry.getArea() function. This returns > some value which I am unsure as to its meaning (square degrees?). I have > seen previous posts that sort of get into determining polygon areas but > nothing seems clear. Maybe this is a bigger type issue than

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

2008-10-02 Thread Bill Thoen
s into the library. (I've got lots of experience with GIS, but I'm pretty new to JavaScript and OpenLayers.) So if you're interested in this, let me know. I could use the help. In the meantime, I'll put together the code I have into a short demonstration and get it out

[OpenLayers-Users] Question on Points and Memory

2008-09-10 Thread Bill Thoen
I'm still trying to puzzle out how things work in the OpenLayers library with its JSON syntax. TIA, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Can't get Proj4js.js to Work

2008-09-08 Thread Bill Thoen
I'm trying to get transform() to convert coordinates from WGS84 to UTM Zone 14. I've included Proj4js.js in this little example, but I can't get it to work. Can anyone tell me what's wrong? Projection Test http://openlayers.org/api/2.7-rc1/OpenLayers.js";>

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-08 Thread Bill Thoen
Christopher Schmidt wrote: > On Fri, Sep 05, 2008 at 01:10:53PM -0600, Bill Thoen wrote: > >> Christopher Schmidt wrote: >> >>> In 2.7RC1 (just released) you can use getDataExtent() for that. (We >>> didn't add getDataExtent for vector layers unt

Re: [OpenLayers-Users] Line

2008-09-05 Thread Bill Thoen
That line is in the Atlantic Ocean at a spot just north of the Azores. But if you're expecting it to show up somewhere in South Africa, you need to specify coordinates as Lon, Lat instead of Lat, Lon. Kenny France wrote: > could somebody Pleaase have a look at the following and tell me why > i

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-05 Thread Bill Thoen
Never mind... I just figured out that getDataExtent() applies to markers, not features like polygons and linestrings. Does anybody know if there is a function for WFS layers that returns the bounding box of that layer regardless of what type of map objects it contains? Bill Thoen wrote: >

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-05 Thread Bill Thoen
s myStates.getDataExtent() return null? Shouldn't this function return the bounds of the features now loaded into this layer? Or are the bounds not updated when a WFS layer is loaded? Eric Lemoine wrote: > How about map.zoomToMaxExtent()? Eric > > 2008/9/5, Bill Thoen <[EMAIL PROT

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-05 Thread Bill Thoen
these are pipeline networks for different companies). Eric Lemoine wrote: > Hi. Why don't you use map.setCenter to zoom to a specific zoom level? Eric > > 2008/9/3, Bill Thoen <[EMAIL PROTECTED]>: > >> I want to zoom a map to the extent of a layer (called baseLayer)

[OpenLayers-Users] Changing One Feature's Style

2008-09-04 Thread Bill Thoen
I've got a WFS layer of line features and I got the 'loadend' event to call a function, and in that function I'm trying to change a feature's strokeColor to yellow. Here's my code that doesn't work. But why doesn't it? function changeFirst (e) { e.object.features[0].style.strokeColor="#FF0";

Re: [OpenLayers-Users] How Do I Access Lines in a WFS layer via JavaScript?

2008-09-04 Thread Bill Thoen
t when the features are loaded and then call my function to cycle through them that would make my day. Bill Thoen wrote: > I've got a collection of lines in a WFS map layer, and I can access them > interactively with a selection control, but I want to be able to step > tr

[OpenLayers-Users] How Do I Access Lines in a WFS layer via JavaScript?

2008-09-03 Thread Bill Thoen
e markers, yet I can see and select the lines from this layer. I just can't find them in the layer object. Are they stored in some other object? How do I get one of these lines into a variable so I can work with it? TIA, - Bill Thoen ___ User

[OpenLayers-Users] Zoom to a Layer's Extent

2008-09-03 Thread Bill Thoen
I want to zoom a map to the extent of a layer (called baseLayer) but when I try: map.zoomToExtent(baseLayer.getDataExtent()); the baseLayer.getDataExtent() function returns null. When I don't include this line everything works fine (the layer appears normally, only without the zoom that I want.)

[OpenLayers-Users] Enumerating Features in a WFS Layer and WFS Styling

2008-09-02 Thread Bill Thoen
? The default style for linear features appears to be solid 1px orange, but I want to apply some different styles. TIA, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Another Dumb Question?

2008-09-01 Thread Bill Thoen
In the example http://openlayers.org/dev/examples/custom-control-point.html, the line that says: map = new OpenLayers.Map( $('map') ); I suppose this must return a reference to a div named 'map' but why wrap it in such a weird function? Wouldn't map = new OpenLayers.Map( "map" ); work just a

Re: [OpenLayers-Users] What is a Pernalink?

2008-09-01 Thread Bill Thoen
Sanjiv > > On Mon, Sep 1, 2008 at 10:52 PM, Bill Thoen <[EMAIL PROTECTED]> wrote: > >> What is a Permalink? I can't seem to find a definition for this. >> ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] What is a Pernalink?

2008-09-01 Thread Bill Thoen
What is a Permalink? I can't seem to find a definition for this. ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Animating a Polyline to Simulate Fluid Flow in a Pipeline

2008-08-27 Thread Bill Thoen
ode studies," but I can also put together a short explanation of the algorithms and the pros and cons of the three different approaches for the wiki, if you think that would be useful. - Bill Thoen Erik Uzureau wrote: > Hi Bill, super interesting work you've done here. Would you be

[OpenLayers-Users] Animating a Polyline to Simulate Fluid Flow in a Pipeline

2008-08-23 Thread Bill Thoen
ting lines. So Long, and Thanks for All the Fish, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] How do I Set Up Both ZoomIn and ZoomOut tools?

2008-08-14 Thread Bill Thoen
I figured out that by setting the property 'out' on the ZoomBox control to 'true' the tool then becomes a ZoomOut tool. So I made two copies of the tool and set one of them to out=true. But then how do I style them differently? Since they're both ZoomBox controls they get assigned the same CSS

Re: [OpenLayers-Users] Map Layer Requirements

2008-08-13 Thread Bill Thoen
ctor", {isBaseLayer: > false}). Hope i am correct and this is helping :-) Eric > > 2008/8/13, Bill Thoen <[EMAIL PROTECTED]>: > >> I'm trying to set up some little experimental maps in OpenLayers using >> just a vector layer -- no base map. It's not wo

[OpenLayers-Users] Map Layer Requirements

2008-08-13 Thread Bill Thoen
I'm trying to set up some little experimental maps in OpenLayers using just a vector layer -- no base map. It's not working and I wondered is a base map layer required, or can you supply all the necessary options when you create the map object? ___ Use

Re: [OpenLayers-Users] Need Explanation of destroyFeatures()

2008-08-12 Thread Bill Thoen
Never mind I found a working example of destroyFeatures() in the source code in Vector.js under destroy: Unlike most libraries, the source code to this one is amazingly helpful and well-organized. Bill Thoen wrote: > From the API online docs it appears that Layer.Vector.destroyFeatu

[OpenLayers-Users] Need Explanation of destroyFeatures()

2008-08-12 Thread Bill Thoen
se it? Can someone please show me a working example? Thanks, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Deleting a Vector Layer - How?

2008-08-12 Thread Bill Thoen
es();' How should I do this? - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Problem with Projected Map

2008-08-08 Thread Bill Thoen
ed. I don't think it should matter, but note that this is a MapServer layer and not a WMS layer. Does anyone know why this isn't working? TIA, - Bill Thoen ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Zoom Question

2008-08-07 Thread Bill Thoen
Does the zoom-in tool only work at integral zoom steps? I don't seem to be able get to any map scales that are not available through the ZoomPan control. Is this normal behavior and is it possible to get to say, zoom level 2.3 or set the map to any scale desired? - Bill

[OpenLayers-Users] Horizontal Custom Contol Panel

2008-08-05 Thread Bill Thoen
I've been experimenting with the Custom Control Panel example (http://openlayers.org/dev/examples/panel.html) but I was wondering what the most efficient way to arrange the buttons horizontally instead of vertically? - Bill Thoen ___ Users ma

[OpenLayers-Users] SUM: OpenLayers, MapServer Map files and AGG

2008-08-05 Thread Bill Thoen
AT section, as in the following example: var layer = new OpenLayers.Layer.MapServer( "World", "http://my_domain.com/cgi-bin/mapserv";, { map_imagetype: 'AGG', layers: 'my_layer', map: '/var/www/html/my_mapfile.map', }, { single

[OpenLayers-Users] OpenLayers, MapServer Map files and AGG

2008-08-04 Thread Bill Thoen
I'm just getting started with OpenLayers so I have a lot of questions, but I'll try to pace myself. Anyway I've been using MapServer and I've compiled it with AGG support so I can get nice anti-aliased maps, but when I feed a .map file to OpenLayers that includes the AGG driver in the OUTPUTFO