[OpenLayers-Users] Horizontal Toolbar???

Richard Greenwood richard.greenwood at gmail.com
Fri Dec 19 00:25:40 EST 2008


On Thu, Dec 18, 2008 at 8:02 PM, Semantica <jvanulde at nrcan.gc.ca> wrote:
>
> Hi all,
>
> I need to add the following controls to a horizontal panel that is near the
> top of the viewport:
>
> - pan
> - zoom-box
> - navigationhistory: next & previous
>
> I can easily add the individual controls to the map but can't get all of
> them in the same panel. Has anyone been able to do this? If so, can you
> share your solution?
>
> Thank you in advance!

Try adding  float:left; to your style.css, something like:
  .olControlPanel div {

      float:left;
  }

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the Users mailing list