Hi,
have you considered using a vector layer with an externalGraphic instead?
It should be fairly easy to change the appearance of that through the
asscioated styles and redraw the features.
Best regards,
Bart
New to Openlayers. Great project, many thanks to all who put so much work
into
As the title said,I want one of the layers refreshed every N seconds,I have
find some useful articles like that:
http://dev.openlayers.org/apidocs/files/OpenLayers/Strategy/Refresh-js.html
and http://trac.openlayers.org/ticket/2317. But i just cannot understand
it well .Could someone post
from quickly looking at the patches from the trac ticket and the source code
you just need to pass in the interval option to the strategy
like {interval: 5000} for 5s ?
z
On 11 August 2010 17:39, geekjack geekj...@163.com wrote:
As the title said,I want one of the layers refreshed every N
Hi,
did you try this:
var redgisOverview = new OpenLayers.Control.OverviewMap(options);
where options are projection, units, maxExtent.
best regards
Sarah
___
Users mailing list
Users@openlayers.org
Hi,
please always cc the list, since I don't know all the answers and people
with similar issues can find it in the e-mail archives later on.
Your first question: I don't know.
Redrawing can be done using:
feature.layer.drawFeature(feature);
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
I want to draw my own pin (because I want to make their appearance dynamic).
Other comments on this list suggest I would create a feature using the geometry
primitives. Which is fine, but what I really need to do is to specify one point
in latlong, the rest in relative coordinates (2 em up and
Regarding the first question:
i did something like this in order to create a rectangle of a given
pixel size centered on a coordinate on the map (to make a print tool)..
the relevant code parts are:
first i set up some choices for paper sizes
//the available paper sizes
papers: {
Hi all
I have added a location search function to my web app which recentres
the map at a given lat long (eg Berlin). However, the map window on
recentreing goes grey. Is there a way to rerequest the map tiles or
refresh the map etc?
Thanks in advance
Chris
IMPORTANT - This
On Aug 11, 2010, at 2:18 , Sveen Atle Frenvik (Geomatikk IKT) wrote:
var center = this.map.getLonLatFromPixel(new
OpenLayers.Pixel(centerPx.x,centerPx.y));
var leftBottom = this.map.getLonLatFromPixel(new
OpenLayers.Pixel(centerPx.x-addX, centerPx.y+addY));
var
Again thanks for bothering to reply, I know I'm not be the most experienced
with OpenLayers yet, so it might be beginner questions.
I've been trying to use Layer.Image, but I can't figure out how to place it
correctly, that's why I've used a point feature, since I can just place it
on a LonLat
Hi,
I got a little web-browser which is created with qt. When calling the
website every component is shown without problems, every component of
OpenLayers is rendered as well. Just one feature-type is laughing
about me, because it just disappears when panning the map or zooming
inside/outside.
Hi;
Are there any methods or properties to reach these sublayers directly over
ArcGIS93Rest without using esri service?
My layer is ;
openLayer = new OpenLayers.Layer.ArcGIS93Rest(ArcGIS Server Layer,
url,
{ layers:
Hi!
I want an EditingPanel with an additional modify control in my map.
After following the Customizing an existing panel example (
http://docs.openlayers.org/library/controls.html#customizing-an-existing-panel
), I have this:
controls = [
new OpenLayers.Control.DrawFeature(drawLayer,
Hi, thanks for the advice.. however I tried this -
//set options for overview map
var options = {
resolutions:
[1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125],
minScale: 100,
Hello all,
I've looked at Peter Robbins' example of a persistent layer using GeoJSON
(http://maps.peterrobins.co.uk/files/ol6.html) which is well behaved. I've
been trying to duplicate the entire structure. I have my own IIS 7.5 running
on Windows 7 which in turn is connected to a SQL Server
On Wednesday, August 11, 2010, Nathan Silver nsil...@imagesensingca.com wrote:
Hello all,
I’ve looked at Peter Robbins’ example of a
persistent layer using GeoJSON (http://maps.peterrobins.co.uk/files/ol6.html)
which is well behaved. I’ve been trying to duplicate the entire
-Original Message-
From: Eric Lemoine [mailto:eric.lemo...@camptocamp.com]
Sent: Wednesday, August 11, 2010 12:19 PM
To: Nathan Silver
Cc: Users@openlayers.org
Subject: Re: [OpenLayers-Users] Some help with persistent layers and
web server reponses.
On Wednesday, August 11,
I need to devise a way to get an array of markers from a layer...
I see this in the docs OpenLayers. Layer. Markers but under the Layer class
there is no Marker array ?
for example I tried this
var test = Map.layers
alert ( test.markers ) // undefined
alert ( test.Markers ) // undefined
I
I am trying to extract the WKT for a geometry selected with a
GetFeature control, like in this example:
http://openlayers.org/dev/examples/getfeature-wfs.html
For now the solution is eluding me, I will greatly appreciate some pointers.
Alex
___
Users
Have a look at the http://openlayers.org/dev/examples/vector-formats.html
Vector Formats Example .
-
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context:
Currently I am trying to export maps to a canvas element by using the example
posted at
http://trac.openlayers.org/browser/sandbox/camptocamp/canvas/openlayers/examples/exportMapCanvas.html
by tsauerwein. So far i've grabbed that html file and the exportMap.js file.
The issue i'm having is
22 matches
Mail list logo