[OpenLayers-Users] full screen mode and other html objects
jrom
jerome.gasperi at gmail.com
Mon Jun 21 04:20:16 EDT 2010
HI Imran,
Perhaps you should try to force the z-index of your "table" div in the
css to a high value to be sure that it is always rendered on top
Id est, in the css file you should add something like this :
#table {z-index:20000;}
Best regards
On Mon, Jun 21, 2010 at 9:19 AM, Imran Rajjad <rajjad at gmail.com> wrote:
> Hi,
>
> I`m trying to make a full screen map. the problem I am facing is that
> open layers is rendering the tiles over my html content which is
> outside the map div. I have set the fallthrough=false but I think that
> is related to events .
>
>
> my html code:
> <div id="map"></div>
> <div id="table" style="position:absolute;top:500px;left:400px;width:20px">
> <table id="table_indicator" align="centre">
> <tr>
> <td id="tdError" width="20"
> align="centre"></font></td>
> </tr>
> <tr>
> <td id="tdLoading" width="20"
> align="centre"></font></td>
> </tr>
> </table>
> </div>
>
> map initialization:
>
> map = new OpenLayers.Map('map', { // initializing map div
> controls: [ // adding controls
> new OpenLayers.Control.Navigation(), //buttoms
> new OpenLayers.Control.PanZoomBar(),//bar
> new OpenLayers.Control.LayerSwitcher(),
> //{'ascending':false} omited for now
> new OpenLayers.Control.ScaleLine(),
> new OpenLayers.Control.MousePosition(), //
> mouse position will be displayed
> new OpenLayers.Control.OverviewMap(),
> new OpenLayers.Control.KeyboardDefaults() //
> keyboard pan
> ],
> numZoomLevels: 20,
> fallThrough: false
> });
>
>
>
>
> What could I be doing wrong here?
> --
> I.R
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
--
jrom.
More information about the Users
mailing list