[OpenLayers-Users] How put a fix image on the map?
Andreas Hocevar
ahocevar at opengeo.org
Mon May 3 11:48:06 EDT 2010
Hi,
this is just a matter of css. No need to change any file, just use a DOM inspector to see what CSS class the output has (should be something like "olControlAttribution", create a selector with that class (e.g. ".olControlAttribution) and give it an appropriate positioning in your application css.
Regards,
Andreas.
On May 3, 2010, at 17:33 , Estelle A wrote:
>
> Hi,
>
> Do anybody knows which file has to be modified to change image position in
> the map?
> Thanks in advance
>
> Estelle
>
>
> Christopher Schmidt-2 wrote:
>>
>> On Mon, Aug 31, 2009 at 12:27:19PM +0200, Jimmy Aumard wrote:
>>> Hi list,
>>>
>>> I want to know how it's possible to put a fix image on the right bottom
>>> on
>>> the map? (like google logo)
>>
>> new OpenLayers.Layer.Vector("My Data", {
>> 'attribution': " /foo/bar.png "
>> });
>>
>> Ensure that you have the OpenLayers.Control.Attribution in the map, and
>> you
>> should be good. (It's there by default, unless you're overriding the
>> default
>> controls.)
>>
>> Regards,
>> --
>> Christopher Schmidt
>> MetaCarta
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-put-a-fix-image-on-the-map-tp3552625p4998418.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list