Hi all,
Is there a way I could add additional parameters to event listeners? Please
refer to this example:
var control = new OpenLayers.Control.DrawFeature(
someLayer, OpenLayers.Handler.Point, {
featureAdded: someFunction
});
...
function: someFunction(feature, param2) {
...
}
In the
Hi all,
I have a function that is executed when a user hits a submit button in a
popup form (below). This saves changes both to the map feature and to the
database.
I have 2 problems.
One
My unselect isn't working - here and in other places in the code - but every
other function using my selec
Hi all,
I'm not sure to understand how to insert new geometry and pass
attributes to db via form...
So, I can add a new geometry (wfs-t) using "OpenLayers.State.INSERT", ok
but I'd want also open a popup with a form to compile (with select, text
input, check box ...) onclick event
Some tips?
than
Well, after many hours of struggling and the process of elimination I figured
it out . I'll share my results for anyone else struggling like me .
Previously, I was using a getFullSRequestString with a OpenLayers.loadURL to
return an Ajax object that contained my GML information. Then, I convert
On May 18, 2010, at 19:21 , mortac8 wrote:
>
> That actually seems a bit slower :(
> 2:59- to render my layer setting node.style.display="none"; then
> node.style.display="";
> 2:42- the original way
>
> I don't understand why setting node.style.cssText is different than
> node.style. Can you
That actually seems a bit slower :(
2:59- to render my layer setting node.style.display="none"; then
node.style.display="";
2:42- the original way
I don't understand why setting node.style.cssText is different than
node.style. Can you explain it briefly? I ask because the simple example
below
Hi,
setting cssText is not the same as setting the style. But you could instead try
to call
node.style.display = "none";
as first line of the setStyle method, and
node.style.display = "";
as last line of the setStyle method.
Let us know if this also boosts performance.
Good luck,
Andreas.
I think there is a potential to greatly improve the rendering performance in
IE (cases of large# of points).
Take points for example. In VML.js setStyle, every .style action seems to
trigger a browser reflow:
node.style.width="18px"; //1st reflow
node.style.height="18px"; //2nd reflow
node.styl
Hello all,
I am trying to display a map with openlayers but also provide
brightness/contrast sliders for the
user. I managed to implement a working demo for HTML5-Canvas with a static
image (without OpenLayers).
My question is now if it is possible to use an OpenLayers-Canvas-Layer for
that as w
Hi all,
I am trying to to get the getfeatureinfo-control example
(http://localhost/ol/OpenLayers-2.9.1/examples/getfeatureinfo-control.html)
to work with either right click or a key down click.
I tried the options
clickCallback: "rightclick"
and as well
handlerOptions: {"click":{keyMask:
Ope
Luis,
How about minScale or minResolution properties of the Layer object ?
Here's an example using these properties, but the lines are commented
and they are used in the map object. Try one in one of your layer objects.
http://www.openlayers.org/dev/examples/zoomLevels.html
Regards,
Alexa
Hi,
use minResolution or minScale instead.
Best regards,
Bart
> Hello everyone,
>
> I've been using the MinZoomLevel option on WFS layers to set the
> minimum resolution beyond which a layer can be rendered (useful for
> when there are lots of features).
>
> Today I'm trying to the same with a W
Hello everyone,
I've been using the MinZoomLevel option on WFS layers to set the
minimum resolution beyond which a layer can be rendered (useful for
when there are lots of features).
Today I'm trying to the same with a WMS layer, but in that case the
MinZoomLevel option is ignored. Should it be w
Hi,
in Safari, you could enable the "Zoom text only" option in the View menu.
In my opinion, you should create a Safari/WebKit ticket for this, not an
OpenLayers ticket. Page Zoom is supposed to zoom the whole page. Web
applications don't even know that the page is zoomed, so it is unlikely tha
14 matches
Mail list logo