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
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.
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!
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
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',
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
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
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
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
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
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
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
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
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
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
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"),
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
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
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
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
20 matches
Mail list logo