These browser nowadays pretty good at handling bigger DOM. As recommended in
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions, you should keep
~100-200 Features in vector layer. marker.moveTo() for number of markers
within 100-200 should be OK.
>> this looks pretty easy, but for few number
Refer this http://openlayers.org/pipermail/users/2009-June/012274.html
My example code:
function setLonLat(marker, lonlat) {
var newPx = map.getLayerPxFromLonLat(newLonLat);
marker.moveTo(newPx);
}
var marker = new OpenLayers.Marker(new OpenLayers.LonLat(102.2168, 3.09185),
new OpenLayer
Is this possible at all?
Currently I use WMS layer from Geoserver, and I can make selection on it,
and get all needed feature info:
onclick.events.register("featureselected", this, function(e) {
var object = (e.feature);
var bbox = (object.geometry.bounds);
Pierre,
That worked like a charm.
Many thanks!
Regards,
João Duarte
SAPO Mapas - http://mapas.sapo.pt
-Original Message-
From: Pierre Giraud [mailto:pierre.gir...@camptocamp.com]
Sent: sexta-feira, 30 de Outubro de 2009 15:51
To: Christoph Boehme
Cc: Joao Campos Duarte; users@openlaye
Joao Campos Duarte wrote:
> Is the graphicZIndex style property working for everyone? I try to
> bring some features on top of other by changing this property and
> re-drawing the feature but with no success.
>
> Am I doing something wrong?
I am currently playing with it as well and have not quit
Is the graphicZIndex style property working for everyone? I try to bring some
features on top of other by changing this property and re-drawing the feature
but with no success.
Am I doing something wrong?
Thanks,
João Duarte
SAPO Mapas - http://mapas.sapo.pt
__
On Fri, Oct 30, 2009 at 06:30:45AM +0100, Eric Lemoine wrote:
> On Thursday, October 29, 2009, Wendell Turner wrote:
> >
> > I can't get pop-ups to appear when using png images on a
> > vector layer in IE. I have a vector layer with points that
> > have .png images. The images show properly in b
Hi everyone;
I have an elemantary problem.I have a google layer and on my google layer
i'm drawing a line dynamically there is no problem while drawing the line
.My problem is when i try to move the map, map moves but my vector layer
stays at the same position .it works on firefox and explore
Hello list,
I have a problem with the Layerswitcher control. Perhaps somebody can help me.
I use two different maps with different layers in one side. Now I will realise
a Layerswitcher for both maps. But the layerswitcher only works for one map.
The second one shows my layers but I can't
Eric Lemoine-2-2 wrote:
>
> implementing a specific control based on a Drag handler is what I'd go
> with. You can look at the DragPan control to know how to use the Drag
> handler - I tend to think that you could rely on the "move" and "done"
> callbacks only. Now regarding the conflict with t
Ok, thanks. Now the unregistering works and the function that gets called
when the event was triggered only runs once. But another problem appeared.
The layer that contains the features I want to select is shown or hidden
depending on the resolution. For this reason I need to query the WFS-Server
Hi,
I have a GetFeatureInfo Request with the following code:
map.events.register('click', map, function(e) {
var url = "http://.../geoserver/wms"; + "?REQUEST=GetFeatureInfo" +
"&EXCEPTIONS=application/vnd.ogc.se_xml"
+ "&BBOX=" + map.getExtent().toBBOX()
+ "&X=" + e.xy.x
+ "&Y=" + e.xy.y
+
12 matches
Mail list logo