• Resolved Bence

    (@charybdis)


    Hi,

    thanks for the wonderful plugin! I selected the OpenLayers map provider, so I use the OpenStreetMap option. There is a plus sign with blue background in the top right corner in the maps, if the user clicks on that plus sign, then the “Overlays” and “Base Layer” options will be displayed. How can I remove that plus sign? Because it is obsolete.

    My other problem is: the “(c) OpenStreetMap contributors” copyright line should be displayed in the very right bottom corner, but now this text is a little bit above from the bottom, so it is a little annoying. How can I remove it or place it in the very bottom of the map?

    https://www.ads-software.com/plugins/geo-mashup/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Bence

    (@charybdis)

    Since then I accidentally figured out how to remove the plus sign (map type control): I must use the add_map_type_control="false" option in the shortcode.

    Now my only problem is the location of the “(c) OpenStreetMap contributors” copyright line, it should be attached to the bottom, now it overlays the map (Firefox web browser).

    Thread Starter Bence

    (@charybdis)

    Ok I think I figured it out. I included this custom CSS into the map-style.css (which is in my theme main folder):

    /* OpenStreetMap copyright notice position */
    #OpenLayers_Control_Attribution_4 {
    position:absolute;
    bottom: 0;
    right: 0;
    }

    It would be nice if you could include something similar into the default stylesheet, because this position is much better than the default position.

    And I noticed that the add_map_type_control="false" option is not documented, the documentation doesn’t mention that you can use the false option. I think it should be false by default, because the map type control has no value, no function in case of OpenStreetMap maps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘OpenStreetMap – better display of controls and copyright text’ is closed to new replies.