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.
It would be great if user could be able to set the width & height of the static map image. I will post a patch to do this.
Comment | File | Size | Author |
---|---|---|---|
#1 | gmaplocation-dimensionsOfStaticMap-980624-1.patch | 1.92 KB | jaakko |
Comments
Comment #1
jaakko CreditAttribution: jaakko commentedHere is the patch. The patch adds fields to the googlemap location block to set the width and the height of the map.
I would be grateful if somebody could verify that it works and it would get commited to the project.
Comment #2
babbage CreditAttribution: babbage commentedHappy to look at this; obviously useful functionality.
BTW, correct status is "needs review"... Patch (to be ported) is for where something has been successfully applied to the latest HEAD and now needs to be back-ported to an earlier version, e.g. for Drupal 6 when the initial patch was against the Drupal 7 version.
Comment #3
babbage CreditAttribution: babbage commentedLocation Map module is the successor to gmaplocation for Drupal 7. Any features to be added to the module must first be implemented there, and may then be backported to gmaplocation for Drupal 6. Moving this to the Location Map module issue queue.
Comment #4
xlyz CreditAttribution: xlyz commentedThe patch posted in #1018498: Additional text to show above the static block image does not work let set also width and height in 7.x
Comment #5
babbage CreditAttribution: babbage commentedHave committed aspects of this patch in http://drupalcode.org/project/locationmap.git/commit/bd09252 as it improved on the patch in {#1018498] that had already been committed.
Comment #6
pkcho CreditAttribution: pkcho commentedHello,
I guess I have to patch the module in order to be able to adjust the size of the map in a block? It has not been rolled into version 7.x-1.0?
Thanks,
Joe
Comment #7
babbage CreditAttribution: babbage commentedIt'll be officially released in 7.x-1.1 in due course. Had set it to publish a dev release in the meantime, so not sure why it hasn't. Perhaps I'll just tag a 1.1 release now and be done with it. :)