[OpenLayers-Users] Function to get visible layers on a map?

2010-07-02 Thread Robert Hicks
Hey all, is there a function or some easy way to find which layers are set to visible on a map? -- web http://www.hyxspace.com aim hyx1138 ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Style issue with LayerSwitcher

2010-05-13 Thread Robert Hicks
Hi all, I am having a problem with the CSS styles on my html page in which the OpenLayers map is in. Basically our graphic designer made a run that all text in the div, p and body tags are to be black and obviously the LayerSwitcher is inheriting that rule. No matter what I do I cannot override it.

[OpenLayers-Users] Set a layer visibility with a javascript function

2010-03-22 Thread Robert Hicks
Hey all, is there a stored procedure in OpenLayers that lets you turn on and off a layer (just like you can in the Layer Switcher) that can be called? I saw OpenLayers.Layer.display(); which didn't seem to do anything and I was wondering if that is the right function I should be calling. Thanks!

Re: [OpenLayers-Users] Really basic question about base layers

2010-03-05 Thread Robert Hicks
Works great, I probably should have taken a closer look at that :/ Thanks! On Fri, Mar 5, 2010 at 9:27 AM, wrote: > Options are the 4th parameter of the constructor, so use: > > var ol_wms = new OpenLayers.Layer.WMS( > "OpenLayers WMS", > "http://labs.metacarta.c

[OpenLayers-Users] Really basic question about base layers

2010-03-05 Thread Robert Hicks
Can you not hide the basic OpenLayers map in the layer switcher? I've done it with other base maps but for some reason: var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0";, { layers: 'basic',

[OpenLayers-Users] Changing the width of the LayerSwitcher?

2010-02-22 Thread Robert Hicks
Hey all, is there an easy way to do this? I tried the plain old CSS approach by referencing the class name(s): div.olControlLayerSwitcher { width: 250px; } div.olControlNoSelect { width: 250px; } But no luck. I also t

[OpenLayers-Users] Setting the map center with a bounding box?

2010-01-25 Thread Robert Hicks
Hey all, is it possible to call OpenLayers.Map.setCenter(); but with a bounding box instead of a lat lon (point), or an equivalent functionality? The reason for this is I need my map to load based on the minimum bounding rectangle of a bunch of points. I didn't see anything in the api except for sp

[OpenLayers-Users] Marker events register "hover"?

2010-01-21 Thread Robert Hicks
Is there anything in the OpenLayers API that allow a marker to have a mouse hover event? I want to change the cursor of the mouse and possibly some other JavaScript actions when a user hovers the mouse over a marker. Thanks! -- web http://www.hyxspace.com aim hyx1138

[OpenLayers-Users] Running Google Maps through port 443 (https)

2010-01-20 Thread Robert Hicks
Hi all, I have a web app that is basically a store front for geospatial data. Everything coming from our servers (data for map layers, OpenLayers itself, etc.) is 443 (https) but when the initial map loads I get the warning about mixed content because Google comes in on regular old http. I am guess

Re: [OpenLayers-Users] Clicking a marker on a marker layer and then calling some code

2010-01-08 Thread Robert Hicks
Thanks for the response! Is marker in the first line their a OpenLayers.Layer.Markers object or an OpenLayers.Marker? 2010/1/8 Yury Luneff > marker.events.register("click", this, function(e) { >alert(this). >}); > > "click" is the event, > "this" is context passed to event handler so

[OpenLayers-Users] Clicking a marker on a marker layer and then calling some code

2010-01-07 Thread Robert Hicks
Hey all, I was wondering if there were any examples available or if someone could tell me how I would register a mouse event with a bunch of markers in a marker layer. Basically I am going to have a map with several points and depending on what point they click a new page is going to open. For exam

Re: [OpenLayers-Users] [OpenLayers-Dev] Get lat/lon from user click?

2009-12-21 Thread Robert Hicks
gt; // you can def a pixel buffer with the map resolution > // you can do a asyn call > } > }); > > its work for me !! :-) > gretting Rodolfo B. > > > 2009/12/21 Robert Hicks > >> Hey all, is there a way to get the coordinates of a point on the m

[OpenLayers-Users] Get lat/lon from user click?

2009-12-21 Thread Robert Hicks
Hey all, is there a way to get the coordinates of a point on the map that a user has just clicked on? I see Mouse-position displays the coordinates at the bottom of the screen, and I also see you can register muliple mouse events to te map, but I need to store coordinates in a javascript var to sen

Re: [OpenLayers-Users] [OpenLayers-Dev] My map will not zoom in past 1: 1066

2009-05-22 Thread Robert Hicks
the base layer rather than the map… > > > > This may be a red herring, but it’s something to try. > > > > Chris. > > > > *From:* dev-boun...@openlayers.org [mailto:dev-boun...@openlayers.org] *On > Behalf Of *Robert Hicks > *Sent:* Friday, May 22, 2009 10:18 A

[OpenLayers-Users] My map will not zoom in past 1: 1066

2009-05-22 Thread Robert Hicks
No matter what I change in my options which are passed into the map constructor I cannot zoom in on my map past a scale of 1:1066. Here are my options: var options = { projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection

[OpenLayers-Users] Zoom level problem

2009-05-19 Thread Robert Hicks
Hi all, I am having a hard time getting my OpenLayers web client to zoom in past Scale = 1 : 1066. Here are my map options: var options = { projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:4326"),

[OpenLayers-Users] Ensure that a wms layer is always on top

2009-02-12 Thread Robert Hicks
Hi all, I am adding a OpenLayers.Layer.Markers layer to my map but when I add an additional WMS layer, the WMS ends up on top of the markers. I am using the final release of MapBuilder but I am programatically adding the Markers layer via just OpenLayers. I saw setZIndex() which seems like that mig

Re: [OpenLayers-Users] Problem when switching WMS layers on and off with Google Base Layer

2009-01-30 Thread Robert Hicks
metacarta.com> wrote: > On Thu, Jan 29, 2009 at 04:18:34PM -0500, Robert Hicks wrote: > > Hello all, > > I am having an issue when I have some WMS Layers over top of a Google > base > > map. Basically what happens is when I toggle to layers on and off in the > > lay

[OpenLayers-Users] Problem when switching WMS layers on and off with Google Base Layer

2009-01-29 Thread Robert Hicks
Hello all, I am having an issue when I have some WMS Layers over top of a Google base map. Basically what happens is when I toggle to layers on and off in the layer switcher the next time the layer appears it is shifted down relative to the Google map. It does not do this with the basic OpenLayers

[OpenLayers-Users] Question about WFS-T

2008-08-21 Thread Robert Hicks
I am trying to send a wfs-t request to Geoserver from a client (I want to insert a value in a relation stored inside POSTGIS). I have found several examples of what the request should look like, but I have not found an example of how to package up the request. In other words, how can I do this? Thr