When you put a control on a map, OpenLayers builds a rather cryptic classid for
it based on the class name. You can supply your own replacement for part of
it, but OpenLayers appends ItemActive or ItemInactive to the class, depending
upon the state of the control.
This class is used to select
When I display an OpenLayers map, with a MousePosition control in an external
div, when I destroy the map, the external div is not cleared.
The div into which the map is displayed is cleared, and I see the background
color it had before the map was opened, but the external div into which the
Mo
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 ne
I'm adding some attributes to the GML data I'm using to draw a vector layer,
and have set the label member of the style object to display those attributes.
It works fine, except that it looks lousy when I zoom out. The labels are
still drawn the same, even though the features may be nearly invi
I'm passing GML features to a Vector layer. I need to put the feature name in
a label. Some of my features have numeric names, for which the leading zeros
are significant. My problem: the leading zeros are being stripped.
I've tracked this down to OpenLayers.Style.createLiteral(), which chec
@openlayers.org [mailto:users-boun...@openlayers.org] On
Behalf Of Jeff Dege
Sent: Thursday, April 08, 2010 5:54 PM
To: users@openlayers.org
Subject: [OpenLayers-Users] Does Control.ModifyFeature not work with
Geometry.MultiPolygon?
I've been putting together a site around a Layer.Vector, and in
I've been putting together a site around a Layer.Vector, and in the early
versions Control.ModifyFeature worked just fine. But in those versions, I was
working with polygons I created with Control.DrawFeature. In my latest
versions, I'm rendering GML into the layer with Format.GML, and now
Mo
the rest of the system working, I may revisit my derived class solution.
Thanks.
From: Pierre Giraud [mailto:pierre.gir...@camptocamp.com]
Sent: Tuesday, April 06, 2010 9:36 AM
To: Jeff Dege
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] Different types of polygons?
Relying on events
it seems a bit kludgy, and is likely to break if a future version of
OpenLayers makes changes to how DrawFeature.drawFeature() works. So I was
wondering if there was a better way to do it.
From: Pierre Giraud [mailto:pierre.gir...@camptocamp.com]
Sent: Tuesday, April 06, 2010 2:46 AM
To: Jeff
I find myself needing to draw two different kinds of polygons on a Vector
layer. First, they need to have different colors, and second, they need to be
processed differently when they are complete.
I'm currently working on the first problem, and am playing around with two
DrawFeature controls.
A few years back (OpenLayers 2.5) I built a site that allowed the users to
create, update, and delete geometric features, using OpenLayers.Layer.Vector,
using it's preFeatureInsert and onFeatureInsert hooks to save data on the
server via ASP.NET's asynchronous callbacks. Geometries were communi
I'm playing around with OpenLayers again, after a pause of a year or so. I'm
trying to see what I can do with the commercial service layers.
Working in 2.8:
I'm looking at two examples, one is the map on the homepage:
http://openlayers.org/
This map is constructed with the following call:
Has IMAGE_RELOAD_ATTEMPTS stopped working in 2.5?
I used to regularly have problems with missing tiles. This went away
when IMAGE_RELOAD_ATTEMPTS was introduced in 2.3.
Now, running against 2.5, I'm seeing them again. As the tiles draw, a
few show up with red-x. I've always seen that. B
-0600, Jeff Dege wrote:
> I have a layer I'm turning off at certain zoomlevels, by setting
> maxResolution and/or minResolution.
>
> At zoomlelelels where it's not being drawn, it still shows up in the
> layerSwitcher, with no title and a disabled checkbox.
>
> Is thi
On Monday, March 03, 2008 5:03 PM, Jeff Dege wrote:
>
> I have a layer I'm turning off at certain zoomlevels, by setting
maxResolution and/or minResolution.
>
> At zoomlelelels where it's not being drawn, it still shows up in the
layerSwitcher, with no title and a disabl
I have a layer I'm turning off at certain zoomlevels, by setting
maxResolution and/or minResolution.
At zoomlelelels where it's not being drawn, it still shows up in the
layerSwitcher, with no title and a disabled checkbox.
Is this intended behavior?
_
};
It's ugly, and it may get me into real trouble, some time in the future, but it
works.
If I set map.events.idle = true, no events fire at all.
-Original Message-
From: Steve Lime [mailto:[EMAIL PROTECTED]
Sent: Wed 11/28/2007 5:12 PM
To: Jeff Dege; users@openlayers.
Do you want the map to not respond to clicks on your help or legend div?
If so, you'll need to define event handlers, the way Popups do.
Or do you want the map to not respond at all, while your help or legend is
visible?
-Original Message-
From: [EMAIL PROTECTED] on behalf of Steve Lim
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tim Schaub
> Sent: Friday, November 16, 2007 11:37 AM
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] How do I unselect a feature?
>
> Hey-
>
> Jeff Dege wr
> -Original Message-
> From: Eric Lemoine [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 13, 2007 12:39 PM
> To: Jeff Dege
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] How do I unselect a feature?
>
> On Nov 13, 2007 6:19 PM, Jeff Dege &
Why did I never try that?
Thanks.
> -Original Message-
> From: Eric Lemoine [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 13, 2007 12:39 PM
> To: Jeff Dege
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] How do I unselect a feature?
>
> On No
I have a vector layer displayed, with a number of features visible.
I have a select control active, so when I click on a feature, it becomes
selected.
If I click on another feature, the new feature becomes selected, and the
feature that was selected becomes unselected.
How do I unselect a featur
Thanks.
> -Original Message-
> From: Christopher Schmidt [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 09, 2007 4:19 PM
> To: Jeff Dege
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] Handler.Keyboard in IE?
>
> On Fri, Nov 09, 2007 at 04:
I'm taking a first look at Control.ModifyFeature, in 2.5, and the delete
key doesn't work in IE.
Works fine in Firefox, but in both IE6 and IE7,
ModifyFeature.handleKeypress() is never called at all. On exploring a
bit, it seems that Handler.Keyboard.handleKeyEvent() is never being
called.
I'm r
ginal Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Dege
> Sent: Monday, October 29, 2007 4:57 PM
> To: users@openlayers.org
> Subject: [OpenLayers-Users] layer.div is null?
>
> I'm getting occassional, unreproducable errors, in Map.destro
I'm getting occassional, unreproducable errors, in Map.destroy().
This is in 2.3-rc3
Among other things, Map.destroy() loops through all the controls that
have been added to the map, and calls destroy() on each.
Control.destroy() looks through all the handlers that have been set for
the control,
&service=wms&request=Ge
tCapabilities
For your site, it would be something like:
http://username:[EMAIL PROTECTED]/gexservlets/wms?version=
1.1.1&service=wms&request=GetCapabilities
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Se
.
> -Original Message-
> From: John Cole [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 05, 2007 10:56 AM
> To: Jeff Dege; users@openlayers.org
> Subject: RE: [OpenLayers-Users] OpenLayers Proxying in IIS
>
> Search the mailing list, I posted a WFS proxy in asp.net a
OpenLayers uses AJAX, and AJAX has a problem with cross-domain http
requests. So OpenLayers has a mechanism by which a proxy prefix can be
prepended to every request, directing the request to a proxy site on the
host domain.
The issue has always been how to set up such a proxy site.
If your webs
I'm serving pages containing maps with IIS and ASP.NET 2.0. The pages,
once they load in the browser, have always worked fine. Javascript in
the browser is javascript in the browser, how the server built the pages
doesn't much matter.
Until it does.
I was making changes in the web.config file,
On Monday, August 27, 2007 2:37 AM, Pierre GIRAUD wrote:
>
> On 8/27/07, Chris Hardin <[EMAIL PROTECTED]> wrote:
> > Anyone know how to get tooltip hoovers for the Editing tools??
>
> This has already been discussed and it will probably be implemented
> but not untill the 2.6 release.
>
> http://
On Tuesday, August 14, 2007 2:47 PM, Tim Schaub wrote:
>
> Jeff Dege wrote:
> >
> > This doesn't look like it's been through even the most cursory unit
> > test. In fact, it look like it's half-way through a restructuring.
> >
> > But tha
On Tuesday, August 14, 2007 at 1:39 PM Christopher Schmidt wrote:
>
> On Tue, Aug 14, 2007 at 01:31:55PM -0500, Jeff Dege wrote:
> > I'm still seeing a lot of calls to document.createElementNS() in
> > /tschaub/feature.
>
> Right you are. Copy paste failed me.
> h
y, August 14, 2007 12:00 PM
> To: Jeff Dege
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] document.createElementNS on IE
>
> On Tue, Aug 14, 2007 at 11:30:31AM -0500, Jeff Dege wrote:
> > Is there a way of converting a Vector.Feature to a GML
> string that wi
I'm trying to convert a newly-inserted Vector feature into a GML string.
What I'm trying so far:
function editLayer_onFeatureInsert(feature)
{
var g = new OpenLayers.Format.GML();
var x = g.createFeatureXML(feature);
var s = g.read([x]);
}
I'm not entirely sure this is the righ
before you call Layer.setVisibility().
Layer.setVisibility() will throw a changelayer event, which will cause
the layer switcher to update it's layer list.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Dege
> Sent: Monda
I've a problem where I need to be able to toggle a vector layer on and
off.
I'd originally thought about adding and removing a vector layer, but the
panel edit controls need to have the layer existing when they are
constructed, and there's no method for removing controls from a panel,
so I thought
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Erik Uzureau
> Sent: Tuesday, July 31, 2007 5:48 PM
> To: Jeff Dege
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] Stopping map events
>
> On 7/31/07, Jeff Dege <[EMAIL PROTECTED]> w
I have a div that is being drawn on top of the map.
Clicks in this div are being interpreted as clicks on the map.
Is there a way of either keeping clicks in this div from reaching the
map, or of temporarily stopping event handling by the map, while the div
is in place?
__
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tim Schaub
> Sent: Wednesday, July 25, 2007 3:42 PM
> To: users@openlayers.org
> Subject: Re: [OpenLayers-Users] OverviewMap - outside div?
>
> Jeff Dege wrote:
> > But one thing I've noticed.
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tim Schaub
> Sent: Wednesday, July 25, 2007 2:43 PM
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] OverviewMap - bad coords?
>
> Jeff Dege wrote:
> > Now I seem to remember having had a si
rking.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Dege
> Sent: Wednesday, July 25, 2007 2:08 PM
> To: users@openlayers.org
> Subject: Re: [OpenLayers-Users] OverviewMap - bad coords?
>
> On doing some websearching, I found c
e-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Dege
> Sent: Wednesday, July 25, 2007 1:51 PM
> To: users@openlayers.org
> Subject: [OpenLayers-Users] OverviewMap - bad coords?
>
> I'm trying to add the OverviewMap control to a map built
I'm trying to add the OverviewMap control to a map built with KaMap
layers.
I'm using OL version 2.4.
The example - examples\overviewmap.html - works perfectly.
Mine doesn't work at all.
When the OverviewMap control requests tiles from KaMap, the tiles are
generated correctly - or at least they
ing openlayers, so as to avoid this?
Didn't think so ;)
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Erik Uzureau
> Sent: Wednesday, July 25, 2007 9:43 AM
> To: Jeff Dege
> Subject: Re: [OpenLayers-Users] New INI in stage
>
There's a new adlshost.ini file in stage - changing the mapping URLs to
point to Flanders
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
> -Original Message-
> From: Christopher Schmidt [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 16, 2007 5:42 PM
> To: Jeff Dege
> Cc: openlayers user list; [EMAIL PROTECTED]
> Subject: Re: [OpenLayers-Users] Problem with GML coordinates?
>
> On Mon, Jul 16,
> -Original Message-
> From: Christopher Schmidt [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 16, 2007 4:53 PM
> To: Jeff Dege
> Subject: Re: [OpenLayers-Users] Problem with GML coordinates?
>
> On Mon, Jul 16, 2007 at 04:47:27PM -0500, Jeff Dege wrote:
> &g
I've been working with the OpenLayers.Layer.GML, and things have been
working, mostly.
I've been working with the default EPSG:4326 projection, but my users
don't like the looks of it. (Decimal degrees are stretched,
left-to-right.)
So I've been trying to convert things to EPSG:102004.
My origi
t; Sent: Thursday, July 05, 2007 4:00 PM
> To: Jeff Dege
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] Augmenting a method?
>
> > addFeatures: function(features) {
> > /// your code
> >
> OpenLayers.Laye
In a derived class, how do I override a method, and then call the
parent's implementation of that method?
In C++:
class Foo()
{
virtual void snaffle() { cout << "Snaffle!" << endl; }
}
class Bar: public Foo
{
virtual void snaffle() { Foo::snaffle(); Foo::snaffle(); }
I'm displaying an Openlayers map with one layer being a GML file that
I'm building from a number of sources. This GML layer displays points
that I'm given as Lat/Long values.
I'd like my map to be displayed in a projection other than Lat/Long -
maybe epsg:2163, instead of the epsg:4267 my source
How well does OpenLayers handle arc geometries?
If I'm drawing a layer with perhaps 100 features, described in GML,
would it be faster to draw using arcs (which could describe the data
with fewer points), or with polygons (which would need more points, but
might be faster, if the drawing engines u
I'm creating a GML layer from a GML file.
I want the map to zoom to the smallest box bounding all the features in
the GML file.
What I've tried is:
var map = new OpenLayers.Map('map', {controls: []});
var gmlLayer = new OpenLayers.Layer.GML("GML",
"FEATURELIST.GM
Thanks. That works.
> -Original Message-
> From: Christopher Schmidt [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 06, 2007 6:19 PM
> To: Jeff Dege
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] GIS Layer as baselayer?
>
> On Wed, Jun 06,
I'm trying to draw a very simple map from a GML file. One layer, three
features. About as simple as it gets.
And it's not working, because Layer.GML is derived from Layer.Vector,
and Vector cannot be a baselayer.
Now, I might have wanted to revisit that, and try to determine exactly
why it was
56 matches
Mail list logo