Hi Alexandre,
the error is here: line 513 of vector.js:
!(feature.geometry instanceof this.geometryType)) { .
feature.geometry is undefined, this.geometryType is
OpenLayers.Geometry.MultiLineString
When I check in line 488 of vector.js addFeatures: function(features,
options) { ... there
Hi!
I have been wondering how come my layer switcher appears in left top corner
of the map. It does not look good. Here is screen:
http://img171.imageshack.us/img171/303/errir1.png
When I open it it looks like this:
http://img512.imageshack.us/img512/994/error2l.png
In version 2.8 of
Hi,
I'm trying to add some features from 2 WFS different layers to the same Vector
Layer in Openlayers. If I don't ask for any attribute apart from the geometry,
the features are added without any problem. But in my case I want the features
to be added with some attributes that may differ.
Did you update your theme directory?
The css has changed (things have been moved in to css from the
LayerSwitcher).
Best regards,
Bart
Hi!
I have been wondering how come my layer switcher appears in left top
corner
of the map. It does not look good. Here is screen:
Thanks a lot for your help Bart! That was it. I copied only the OpenLayers.js
file without the theme folder. Now everything is working fine.
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/LayerSwitcher-in-OpenLayers2-9-RC2-in-wrong-place-on-the-map-tp4906606p4906776.html
Hi Phil,
You could make the features larger by changing the 'strokeWidth'
property of your features.
Alexandre
Phil Scadden wrote:
I am finding that you need incredibly accurate clicking to selectfeature
(especially when geometry is a line). Is there away of expanding the hitbox?
OpenLayers 2.9 RC 2
I'm attempting to create a custom tool and toolbar class but I seem to be
running into an issue with the custom toolbar.
Here is my code below
ZoomToAgreementExtent = OpenLayers.Class(OpenLayers.Control, {
type: OpenLayers.Control.TYPE_BUTTON,
trigger: function() {
Hi,
I am developing an openlayers application with data from geoserver. I have 5
wms baselayers which I would like to display base on a users zoom scale
instead of having the layerSwitcher added to the map control. How can it be
achieved without the layerswitcher?
Thanks in advance.
--
View
Anthony,
Take a look at the minScale/maxScale and/or minResolution/maxResolution
properties of the Layer object. This might be enough to accomplish what
you're looking for. See also [1] for an example of use (isn't really
used in the example, but looking at the code source will show how to
The easiest thing is to print the page containing the map (or a simpler print
page containing the map).
For other approaches, this may help:
http://trac.openlayers.org/wiki/Printing
--
View this message in context:
rakesh.modi1585 wrote:
Hi,
I want to print map area (WMS Layer) with overlay vector layers. Is it
possible in openlayers, if it then how it is done?
Thanks
Rakesh
Check out the link that Lisa said in her e-mail. We resorted to a server
side stitching because we couldn't rely on
Dear all
I have a situation that I can't get to the bottom of, and I'm hoping that
someone can help me understand it. The following code is intended to add a
new circle each time the user clicks a map, which it does.
My problem is that two clicks are needed for any circle to be drawn: it
Hello list,
I didn't found an example. How can I load es.js and get messages in spanish by
dafault?
Thank's in advance
Antoni Vidal
Unitat d'Aplicacions SIG-WEB
Institut Cartogràfic de Catalunya
I've created a very simple ArcGIS Server dynamic map service (REST) for a
single polygon layer with about 10 features. When I view the service in my
OpenLayers demo app, the labels are duplicating -- that is, I'm seeing about 5
labels per feature. Not sure why. Has anyone seen this before and
Assalam o alaikum dear all.
I have recently started coding in openlayers 2.8, my starting point was the
code generated by map tiler tool. Now I want to add further functionality by
clicking on the map, and adding a custom marker. By custom I mean to specify
following:
1. Specify marker's location.
Chris,
Chris Green wrote:
I have a situation that I can’t get to the bottom of, and I’m hoping
that someone can help me understand it.
circle1 = new OpenLayers.Control.DrawFeature(circle1Layer,
OpenLayers.Handler.RegularPolygon, {handlerOptions: circle1Options});
Use
Antoni,
1. Add the lang file
script src=$PATH_TO_OL/lib/OpenLayers/Lang/es.js/script
2. On init (body onload or whatever you load first)
OpenLayers.Lang.setCode(es);
That should do it.
Regards,
Alexandre
Vidal, Antoni wrote:
Hello list,
I didn’t found an example. How can I load es.js
Hi Ghulam,
Subhani Minhas wrote:
1. Specify marker's location.
2. Custom Marker icon
Here's a really good example for you to start from :
http://dev.openlayers.org/releases/OpenLayers-2.8/examples/styles-unique.html
In it, you'll be able to find what you need for 1) and 2). Please
Hi Alex
Thanks for the suggestion, it works!
ButI can't see how to change the radius of the point that is drawn - is
it possible?
Chris
-Original Message-
From: Alexandre Dube [mailto:ad...@mapgears.com]
Sent: 15 April 2010 18:05
To: chris.gr...@ibstv.co.uk
Cc:
Chris Green wrote:
Hi Alex
Thanks for the suggestion, it works!
ButI can't see how to change the radius of the point that is drawn - is
it possible?
Yes. Take a look at the following file at line 392 :
Alexandre Dube wrote:
see in this acticle (the first gray box, below *Basics*)
http://trac.openlayers.org/wiki/Styles
--
Alexandre Dubé
Mapgears
www.mapgears.com
___
Users mailing list
Users@openlayers.org
The filter I've setup should return 6 records. The same request sans filter
returns 10 records.
Is my date string correct? What am I doing wrong?
Thanks
var currentTime = new Date(); //from 01-01-1970 12:00 AM
var dd = currentTime.getDay();
var mm = currentTime.getMonth();
var yy
I'm building a site that involves a couple of editable vector layers drawn on
top of a landbase. In development, I've been working with a publicly
accessible WMS, but that won't fly for our production system. I need more
control of what features will be displayed at which resolutions. So I
Hey Jeff,
I've had great performance with a GeoServer/OpenLayers setup.
GeoServer will offer you several configuration options- so you can tweak
your environment to match your needs as they change. GeoServer supports
shapefiles, postgis, and sql server- as well as several other data stores
and
I have been having trouble with access denied using openlayers on a
USB stick (off internet) application when the browser is IE8. Hassles
with ajax (possibly) and with XMLHttpRequest. I noticed that ajax via
JQuery has no problem so started comparing code.
It would seem that the in IE7 8, the
Hello OpenLayers Users,
We plan to use OpenLayers for a project that requires accurate positioning
of overlay objects drawn on an overlay layer above the map layer. We plan
to use an updated base map layer such as one of the GSHHS tile sets.
One of the stakeholders in this project has asked me
If I change XMLHttpRequest to
function cXMLHttpRequest() {
if (window.location.protocol == file:) {
this._object= new
window.ActiveXObject('Microsoft.XMLHTTP');
} else {
this._object= oXMLHttpRequest ? new oXMLHttpRequest :
new
27 matches
Mail list logo