Closed (fixed)
Project:
Location Map
Version:
7.x-2.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
1 May 2012 at 15:23 UTC
Updated:
10 May 2012 at 11:13 UTC
Hi,
I've added 960px to the width field in the block, and it is only displaying half that width.
Comments
Comment #1
rupertj commentedI get a 960px map if I set the width to 960. This is probably due to the theme on your site. Have you got a public URL for it?
Comment #2
antonyanimator commentedI will be making the site live tomorrow, and will post a link. Thanks
Comment #3
antonyanimator commentedhttp://hglass2.animareltd.com/contact
I do not think it is do with the theming but maybe I'm wrong
Comment #4
rupertj commentedI'm happy to have a look and help, but that link's asking for a username and password.
Comment #5
antonyanimator commentedSorry, the link is working now.
Scroll to bottom of page to see map. Thanks
Comment #6
rupertj commentedAh, you're using the static map block - I didn't try that with a large width.
From the looks of it, Google's static maps API has some size limits, which you can read about here: https://developers.google.com/maps/documentation/staticmaps/#Imagesizes
(These limits should really be represented in the locationmap UI.)
Have you tried the interactive map block available in the newer versions of locationmap? That uses the interactive map, so shouldn't have the same limitations. (You'll have to get this from git for the moment, as there isn't a release with it in yet.)
Comment #7
antonyanimator commentedThanks for the reply, I will try out the newer version.
Thanks for the module too!
Comment #8
antonyanimator commentedJust implemented the interactive map from the git version of the module, it works great! Thanks