Re: [OpenLayers-Users] Custom Controls

2008-12-20 Thread Christopher Schmidt
On Sat, Dec 20, 2008 at 09:55:22AM +0100, Eric Lemoine wrote: > This discussion makes me wonder if it'd make sense to make > Map.removeControl also deactivate the control. There are controls that > are automatically activated upon being added to the map (e.g. > Navigation), and there are controls t

Re: [OpenLayers-Users] Custom Controls

2008-12-20 Thread Eric Lemoine
Dezembro de 2008 10:32 > To: 'Christopher Schmidt' > Cc: Users@openlayers.org > Subject: Re: [OpenLayers-Users] Custom Controls > > Are there any method at Control class that is called when the users remove > their controls from the map? That were nice, because when

Re: [OpenLayers-Users] Custom Controls

2008-12-19 Thread André Matos
-Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of André Matos Sent: sexta-feira, 19 de Dezembro de 2008 10:32 To: 'Christopher Schmidt' Cc: Users@openlayers.org Subject: Re: [OpenLayers-Users] Custom Controls Are there any method at Con

Re: [OpenLayers-Users] Custom Controls

2008-12-19 Thread André Matos
hmidt [mailto:crschm...@metacarta.com] Sent: quinta-feira, 18 de Dezembro de 2008 18:17 To: André Matos Cc: Users@openlayers.org Subject: Re: [OpenLayers-Users] Custom Controls On Thu, Dec 18, 2008 at 05:44:23PM -, André Matos wrote: > Hi Guys! > > > > I am starting on OpenLayer

Re: [OpenLayers-Users] Custom Controls

2008-12-18 Thread Christopher Schmidt
On Thu, Dec 18, 2008 at 05:44:23PM -, André Matos wrote: > Hi Guys! > > > > I am starting on OpenLayers API and I have two questions… > > > > I am studing the controls and I have notice that, there’s no API methods or > API properties in Control type. That means the open layers develo

[OpenLayers-Users] Custom Controls

2008-12-18 Thread André Matos
Hi Guys! I am starting on OpenLayers API and I have two questions… I am studing the controls and I have notice that, there’s no API methods or API properties in Control type. That means the open layers developers can change it, without any advise. The way I am doing my controls is this: