Any way to force the logo position of a Bing layer in OpenLayers? See this image for the strange location: enter image description here

  • 1
    Can you provide an example online via JSFiddle or an excerpt from your code? It seems CSS related but just an image is a small clue to help.
    – ThomasG77
    Oct 26, 2014 at 20:49
  • Note that the terms of use for Bing Maps states that you can not obscure the logo. See point 3.2 F: microsoft.com/maps/product/terms.html
    – rbrundritt
    Nov 4, 2014 at 23:57

1 Answer 1


You need to change the css tag olControlAttribution in style.css or override it in a style tag in the <head> element.

This tag looks like:

.olControlAttribution {
  font-size: smaller;
  right: 3px;
  bottom: 4.5em;
  position: absolute;
  display: block;

so changing bottom: 4.5em to something like bottom: 1px ought to do it.

The source of OpenLayers.Layer.Bing contains the comment that usage must be accompanied by OpenLayers.Control.Attribution and the css that applied to controls is always of the form olControl + ControlName.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.