Hi,

Thank you for this module which I am presently testing. I seem to be missing something, is there any way to change the size of the map to suite my specific requirements or is the size fixed no matter what.

Thanks

Comments

mistergroove’s picture

Yeah this is one point I was wrestling with a bit. Do I add size fields? I left out size because I figured everything else in drupal was scaled in the style sheet - keeping design and content separate.

You can set the size for all maps via css using the class 'mapcanvas' - or individual maps too has a unique id - e.g. :

div.mapcanvas {
  width:300px;
  height:300px;
}

#simplemap2 {
  width:300px;
  height:300px;
}

#column1 div.mapcanvas {
  width:200px;
  height:200px;
}

I'm still thinking I may add it in via the advanced options. Would you like to see it in there.

mistergroove’s picture

I have added these instructions to the project documentation page in my site.

http://www.atomicant.co.uk/blog/julian/simplemap

gmasky’s picture

Status: Closed (works as designed) » Active

Thanks I just figured this just now and altered the div.mapcanvas in the simplemap css file. Should have read the simplemap help before posting. I like the fact that I can precisely size the map. I cannot achieve this by embedding the code from Google maps.

Is there any chance of you adding get directions feature to simplemap?

mistergroove’s picture

Status: Active » Closed (works as designed)

Status: Active » Closed (works as designed)