Hello All,
I have some problem with re positioning of icons on different layers.
I have added 2 layers and 3 icon layers to the main base layer.
after performing zoom in and zoom out operation for nearly 2 to 3 times. the
icons are changing it's position. once i refresh, the icons would be in a
Hi all, I am just beginning adding layers to my map and experimenting with
CQL filters.
When calling the function Layer.setName, to change the name of a layer,
Firebug gives the error clone.setName is not a function (where clone is
the variable holding the layer).
Could anyone point me in the
Not really an OpenLayers question but I think you need to use:
clone.get(layer).setName(pmpm);
Best regards,
Bart
Hi all, I am just beginning adding layers to my map and experimenting with
CQL filters.
When calling the function Layer.setName, to change the name of a layer,
Firebug gives
Hi,
I would advise you to look at OpenLayers.Layer.ArcIMS which uses a similar
approach.
Best regards,
Bart
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
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 Franz,
check out OpenLayers.Tile.Image.
Best regards,
Bart
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
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 Alex,
'clickTolerance' is a OpenLayers.Handler.Feature property. If you
look in the Select.js file, you'll see that the handler is set inside
the initialize method and that there is no way other than modifying the
code there to set your own 'clickTolerance'. A thing you could do is to
Hi Franz,
and have you verified you only have a single tile?
Do you have singleTile: true, ratio: 1 and buffer: 0 in your layer options?
Best regards,
Bart
Hi Bart,
I'm almost done with my layer implementation. The only problem: my
getURLasync() Method gets triggered far too often (about
Is this not the way to do this?
var layer = new OpenLayers.Layer.Vector( name );
Map.addLayer(layer);
layer.events.register(loadend, layer, function (e) {
alert(in);
var objFs = layer.features;
for(var i=0;iobjFs.length;i++)
{
alert(objFs[i])
Is this not the way to do this?
var layer = new OpenLayers.Layer.Vector( name );
Map.addLayer(layer);
layer.events.register(loadend, layer, function (e) {
alert(in);
var objFs = layer.features;
for(var i=0;iobjFs.length;i++)
{
alert(objFs[i])
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) bart...@osgis.nl
Hi Franz,
and have you verified you only have a single tile?
Do you
Hi Group
Is it possible to prevent OL fetching the map until you release your mouse
from panning. Because I don't want it to be fetching maps, until the panning
is done. Yes I know it seems a bit ackward, but it for a mobile app where
the bandwidth is not fast, so therefor I need this.
Google
You may want to listen to featureadded or featuresadded events instead.
Got this from email, and used
layer.events.on({
featureadded:
function(event) {
alert(in +
On Aug 3, 2010, at 9:46 AM, ext Tue Topholm wrote:
Hi Group
Is it possible to prevent OL fetching the map until you release your mouse
from panning. Because I don't want it to be fetching maps, until the panning
is done. Yes I know it seems a bit ackward, but it for a mobile app where
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 when I set transitionEffect: 'resize'.
This is basically expected. The transition effect creates multiple tiles, and
since
creating images is
Hello,
I have a map. Base layer is standard google maps, SRS of map is
EPSG:900913. I have a PostGIS database with Tiger state boundaries, native
SRS is EPSG:4269.
I would like to overlay the tiger data on top of google maps.
Here is the entire HTML/Javascript snippet:
html
Hi,
this is not currently supported for tiled layers, but if the layers in question
are WMS, you can set the singleTile option of the WMS layers to true (and ratio
to 1). This will result in fetching a map for the visible extent when the mouse
is released.
Regards,
Andreas.
On Aug 3, 2010,
Andreas, that was the one, thx.
--
Med venlig hilsen / Kind regards
Tue Topholm
Sugee
Tlf: +45 32 13 32 32
W: http://www.sugee.dk
2010/8/3 Andreas Hocevar ahoce...@opengeo.org
Hi,
this is not currently supported for tiled layers, but if the layers in
question are WMS, you can set the
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 actually had a well working implementation of my map viewer based on
ImageLayers,
Hi list,
I encountered a strange behavior I don't understand: Sometimes I want to cover
my whole world map with a dark layer except a distinct region. This is meant to
emphasize a certain region of the world. My approach is creating a polygon
with the size of the earth and a hole with the
Dear all,
I'm trying to show an untiled WMS layer on top of a Google Map in
OpenLayers, but under certain conditions (esp. zoomlevel 2) the overlay
is not displayed. I have this problem with our own WMS layers but also
with the default MetaCarta WMS layer, both in Firefox 3.6 and IE8,
using
Hi,
does the feature also disappear in Internet Explorer? If not, and if you are
not interested in support for older versions of Firefox, Safari and Opera, you
could set
OpenLayers.Renderer.SVG.prototype.MAX_PIXEL = Number.MAX_VALUE;
before creating your map.
Regards,
Andreas.
On Aug 3,
Hi Andreas,
thank you for your answer. Unfortunately it didn't work either in IE. Do you
know what mechanism is responsible to remove the feature from the map, maybe
there is a way to prevent it. If there is no way to achieve this I will have to
search another way to stress this region...
I have added the on load and it seem not to be affecting other features now
but I still get a smudge for a fount.
http://osgeo-org.1803224.n2.nabble.com/file/n5369221/font.bmp
--
View this message in context:
Here is my font in red and in green
http://osgeo-org.1803224.n2.nabble.com/file/n5369394/font.bmp
You can clearly see its renders horizontally still by one pixel. Vertically
seems to be ok( it does changes its height with the size of the font.).
--
View this message in context:
Hi,
I have a map with several vector layers. The application allows the user to
execute a proximity search around a point, targeting one or more of the vector
layers on the map - this is implemented as a WFS request with a DWITHIN filter.
I would like to highlight all features displayed on
Hi,
Set ratio:1, then the layer should displayed
{'opacity': 0.9, 'isBaseLayer': false, 'visibility': true, 'singleTile' :
true, ratio:1}
Arnd
-Ursprüngliche Nachricht-
Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im
Auftrag von Arjen de Korte
Gesendet:
Hello Group,
Is it possible to have a single map tile ( WMS and/or other map services )
in OpenLayers ?? I want to have a single tile for the whole bounds I set for
the map. Also, when I zoom in , out or pan the map should generate single
tile but not multiple tiles.
Any one has any ideas ??
On Wednesday, August 4, 2010, Kalyan Kamepalli
kalyan.kamepa...@gmail.com wrote:
Hello Group,
Is it possible to have a single map tile ( WMS and/or other map services ) in
OpenLayers ?? I want to have a single tile for the whole bounds I set for the
map. Also, when I zoom in , out or pan
Hi list,
is it possible to add checkbox and text to the layer switcher which
have custom functionality , I have a set of checkboxes that when
interacted with apply filters to a wms layer..i want these check boxes
to appear beneath that layer instead of somewhere outside, so i was
wondering , if
31 matches
Mail list logo