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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jaakko’s picture

Status: Active » Patch (to be ported)
FileSize
1.92 KB

Here 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.

babbage’s picture

Status: Patch (to be ported) » Needs review

Happy 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.

babbage’s picture

Project: Google Maps location » Location Map
Version: 6.x-2.0 » 7.x-1.0-beta2

Location 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.

xlyz’s picture

Version: 7.x-1.0-beta2 » 7.x-1.0

The 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

babbage’s picture

Status: Needs review » Fixed

Have 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.

pkcho’s picture

Hello,

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

babbage’s picture

It'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. :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 7b51f14 on 7.x-1.x, master, 8.x-2.x authored by jaakko:
    Issue #980624: Set width and height of block map. Cleaner syntax and...