Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would it be possible to allow for a percentage to be added to the width field?
I think it would be a common use case for the map to appear as 100% width, and this should be the default. If possible we should allow for percentage based widths as well as no explicitly specified width at all, allowing the enclosing DIV to fill the space.
For now I've added an !important to my CSS to achieve this, but that is messy :)
Comments
Comment #2
Road Kill CreditAttribution: Road Kill commentedThis should be default with all the different size devices around, but I still can’t understand why google is still serving up everything in pixels.
Comment #3
scot.hubbard CreditAttribution: scot.hubbard commentedIt is possible to override the width of the map from your theme's CSS using: