Hi all,
I need to perform an action when the user maximizes or minimizes the
OverviewMap Control (i.e. the overview map becomes visible or invisible).
But the Control doesn't seem to support this type of events. Any ideas?
Franz
___
Users mailing list
You can only retrieve/append markers from/to a markers layer:
http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/Markers-js.html
To retrieve an array of the markers layers in your map use
Map.getLayersByClass("OpenLayers.Layer.Markers"). Make sure that you
previously attached a markers layer
You don't need to run build.py as you've already downloaded a customized
openlayers build.
Your problem looks like a theme/css issue, your openlayers build can't find
the css files for the map theme.
Make sure your customized_openlayers.js is in the root directory of
openlayers (with the subdirec
> could perform the map request, parse out the map image bounds and url and
> > then add an ImageLayer with the requested image to the map.
> >
> > If the image layer gets moved, it would trigger a map request through the
> > control. When the map response arrives, th
Hi,
I want my openlayers map to fill the whole browser window, it should only
leave 200px left and 150 px top offset for UI Elements.
Here is my css for the map div:
.fluid-map {
position: absolute;
left: 200px;
right: 0px;
margin: 0px;
Hi Mengu,
I suppose you want to detect the newly activated baselayer in the layer
switcher.
If you activate a new baselayer in the layer switcher, you actually trigger
2 changelayer events: 1 for the old baselayer (because it gets invisible)
and 1 for the new baselayer (because it gets visible).
2010/8/3 Franz Buchinger
> In my case, creating the single-tiled map is rather expensive - because the
> map image is generated "on-the-fly".
>
> Therefore, I want my layer to "anticipate" the map action (zoom, pan), just
> like the ImageLayer does.
> I actuall
Hi Imran,
if you want to extent the layer switcher with custom functionality, the
cleanest way is to derive your own CustomLayerSwitcher class from
Control.LayerSwitcher.
You just need to redefine the redraw() method, where all the HTML of the
Control is assembled.
OpenLayers.Control.MyCustomLay
mage url
based on the new extent after a map action was performed.
Would that work?
Franz
2010/8/3
>
> On Aug 3, 2010, at 9:42 AM, ext Franz Buchinger wrote:
>
> > Hi Bart,
> >
> > yes, I've set these options. I noticed that these multiple requests only
> happen
Hi Bart,
yes, I've set these options. I noticed that these multiple requests only
happen when I set transitionEffect: 'resize'.
I'm using OpenLayers 2.9.1.
Franz
2010/8/3 Bart van den Eijnden (OSGIS)
> Hi Franz,
>
> and have you verified you only have a single tile?
>
> Do you have singleTi
Hi Bart,
I'm almost done with my layer implementation. The only problem: my
getURLasync() Method gets triggered far too often (about 3x per pan/zoom
action).
How can I make sure that getURLasync is only triggered once per map action?
Franz
2010/8/3 Bart van den Eijnden (OSGIS)
> Hi Franz,
>
Hi Bart,
thanks for the fast and helpful response!
One question though: which class actually invokes the methods
OpenLayers.Layer.ArcIMS.getUrl and OpenLayers.Layer.getUrlAsync?
They seem to be overriden methods, but i couldn't find them in
OpenLayers.Layer.Grid or OpenLayers.Layer.HTTPRequest.
Hi,
I'm a frontend developer and was programming a web viewer for a proprietary,
WMS-like map service.
I discovered Openlayers one month ago and I'm really fascinated by its
awesome capabilities, so I decided to integrate our map service in
OpenLayers.
Here is a short description how the map serv
13 matches
Mail list logo