[fusion-users] Overview Map embedded in map (Google-like)

Tómas Guðmundsson tomas at snertill.is
Mon Aug 11 10:12:10 EDT 2008


Tim,

You can easily create a new widget that inherits from Widget and ButtonBase and then stamp it on to the menubar. But you can also modify a Boolean value into the "ShowOverviewMap" widget so that it keeps track on its state.

bShown ? hide() : show(); // I think :)

Just one line it ;)

Regards,
Tómas.

-----Original Message-----
From: fusion-users-bounces at lists.osgeo.org [mailto:fusion-users-bounces at lists.osgeo.org] On Behalf Of Nolte, Tim
Sent: 11. ágúst 2008 13:57
To: Fred warnock
Cc: fusion-users at lists.osgeo.org
Subject: RE: [fusion-users] Overview Map embedded in map (Google-like)

Fred,

Thanks, actually I was impatient so just decided to go the CSS route. I
actually did get a pretty good embedded Google style overview map. Only
thing now I'm trying to accomplish is some sort of show/hide button for
it.

- Tim

----
Timothy J Nolte - tnolte at ilpcs.com
Network Planning Engineer

iPCS Wireless, Inc.
4717 Broadmoor Ave, Suite G
Kentwood, MI 49512

Office: 616-656-5163
PCS:    616-706-2438
Fax:    616-554-6484
Web: www.ipcswirelessinc.com 

> -----Original Message-----
> From: Fred warnock [mailto:fred.warnock at gmail.com] 
> Sent: Friday, August 08, 2008 10:50 AM
> To: Nolte, Tim
> Cc: fusion-users at lists.osgeo.org
> Subject: Re: [fusion-users] Overview Map embedded in map (Google-like)
> 
> Hi Tim,
> 
> As you have suggested it is just a matter of applying the 
> right CSS to 
> the DIV you created.
> 
> something like the following will put it in the bottom right 
> corner of 
> the map:
> 
> #OverviewMap {
>    display: block;
>    position: absolute;
>    width: 100px;
>    height: 100px;
>    z-index: 1001;
>    bottom: 0px;
>    right: 0px;
> }
> 
> Make sure you set the z-index high enough to get on top of the open 
> layers map, and also make sure you put a z-index on the map container 
> because FF3 is now quite picky about how the z-index stacks work.
> 
> Fred
> 
> Nolte, Tim wrote:
> > I was wondering if there is a built-in way to embed the Overview Map
> > inside the Map window either like Google Maps has it or as 
> a floating
> > window like in MGOS/Fusion? I have moved it from the Panels 
> layout and
> > added an 'OverviewMap' div inside my 'Map' div and I can 
> see it in there
> > in a weird way so I supposed it could be just a matter of 
> applying the
> > right CSS to get something close to what I want. Anyone 
> doing something
> > like this already?
> > 
> > - Tim
> > 
> > ----
> > Timothy J Nolte - tnolte at ilpcs.com
> > Network Planning Engineer
> > 
> > iPCS Wireless, Inc.
> > 4717 Broadmoor Ave, Suite G
> > Kentwood, MI 49512
> > 
> > Office: 616-656-5163
> > PCS:    616-706-2438
> > Fax:    616-554-6484
> > Web: www.ipcswirelessinc.com
> > _______________________________________________
> > fusion-users mailing list
> > fusion-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/fusion-users
> > 
> 
> 
_______________________________________________
fusion-users mailing list
fusion-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fusion-users


More information about the fusion-users mailing list