[OpenLayers-Users] problem with panel control

Eric Lemoine Eric.Lemoine at camptocamp.com
Wed Mar 21 10:15:57 EDT 2007


On 3/21/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Wed, Mar 21, 2007 at 09:09:00AM +0100, Eric Lemoine wrote:
> > Hi all,
> >
> > I'd like to build my own panel control object, composed of a
> > Navigation and a DrawFeature. So far I've had no success, my panel
> > refuses to display!
>
> You need some CSS :) Refer to the bottom of theme/default/style.css for
> the editingtoolbar CSS: You'll want a:
>
> .MyToolbar div {
>   width: 15px;
>   height: 15px;
>   background-color:red;
> }
>
> .MyToolbar .olControlDrawFeaturePointItemActive  {
>  background-color: blue;
> }
> .MyToolbar .olControlDrawFeaturePointItemInactive  {
>  background-color: orange;
> }
>
> or something similar. I believe this much should get you started.

Much better now ;-) Thanks Christopher !


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list