All is right if i use the first  baselayer !

thank's
On Fri, Nov 26, 2010 at 9:59 AM, Tonton <[email protected]> wrote:

> i don't think is a css trouble (see capture)
> to miss overviewMap construct
> for the color it take the wms layer's one :)
>
> On Fri, Nov 26, 2010 at 7:02 AM, Imran Rajjad <[email protected]> wrote:
>
>> You can always modify style.css in openlayers directory, that is
>> incase you want it to be permanent and are not sharing css anywhere
>> else.
>>
>> below are the css classes you might want to toy around if you want to
>> change the outlook of your overview map
>> .olControlOverviewMapContainer
>>
>> .olControlOverviewMapElement
>> .olControlOverviewMapMinimizeButton
>> .olControlOverviewMapMaximizeButton
>> .olControlOverviewMapExtentRectangle
>> .olControlOverviewMapRectReplacement
>>
>> regards,
>> Imran
>>
>>
>> > i change some code to this  to construct the overview
>> >     var tunage = {
>> >         size: new OpenLayers.Size(200, 196),
>> >     layers:[wms1],
>> >     div: document.getElementById('div_map_key_map'),
>> >     minRatio: 16,
>> >     maxRation: 64
>> >     };
>> > var overview = new OpenLayers.Control.OverviewMap(tunage);
>> > map.addControl(overview);
>> >
>> > so now i have  my layer i chose but i loose the rectangle
>> > .olControlOverviewMapExtentRectangle and is just a point in html code i
>> read
>> > only this
>> >
>> > <div style="position: absolute; z-index: 1000;"
>> > class="olControlOverviewMapExtentRectangle"></div> whitout in style the
>> > height and with that is necessary and normaly appear
>> >
>> > my scale line start with 1000 000 km
>> >
>> > i use Lambert93 so epsg:2154
>> > and receive firebug alert about projection.js ligne 185 if(source.proj &
>> > dest.proj){
>> > dest.proj is null but i don't use reprojection
>> > may be i need to ?
>> > how use projection correctly with 2154 epsg code  ?
>> >
>> > _______________________________________________
>> > Users mailing list
>> > [email protected]
>> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
>> >
>> >
>>
>>
>>
>> --
>> I.R
>>
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to