Could this module possibly work as a content type instead of just a hard coded page? This way you could have many content pages instead of just /locationmap. If done this way the header and footer fields could then easily support text filters etc.

Also if the "Map Pin Text" could support html that would be great as the text can easily overflow and go off the edges of the map border.

Love the module, its easy to use and very stable as it is!

Comments

jvdurme’s picture

I can use HTML in the map pin text. If I put a <br> I can create new lines.
What we are indeed missing is text filters. In my case that would allow the use of wysiwyg editors.
See also this issue: http://drupal.org/node/1692348

babbage’s picture

Status: Active » Closed (works as designed)
  • Latest development version of the module now supports HTML in the header, footer and map pin text. This will be in the next stable release. Would be interested to know whether this solves your problem of the map pin text going "of the edges of the map border" since this isn't why this was added. Note however that the map itself is rendered by Google, not this module, so there may be limited latitude to fix any issue here, if you're wanting lengthy text.
  • This module will never generate a map content type. If you need that kind of functionality, see gmap module and the more modern variations it recommends for adding location and map fields to nodes.
  • In contrast, it is likely that a future version of this module will move the main map to a block, or provide a block as an option, which will allow much greater flexibility in the placement of the map within a site. No promises on timeframe.
  • We'd need to think about whether adding the option of creating more than one main map block would be consistent with the primary "keep it simple" driver of this module. I don't have a personal use case for this but I can see a situation where you might have a business with three locations, that might want three maps, but not want the greater complexity of gmap or its like. The move to a block-based main map might potentially open up a possibility here; something to think through when that feature is available.

Edit: Oh my goodness. I really should pay more attention to what my awesome co-maintainer was working on in my 'absence'... If you are happy to sacrifice the static map image block, you can right now in the 2.x branch instead have an interactive map in a block, make it whatever size you like, and embed it in content in the same way as any other block... It doesn't have exactly the same features as the main map, in terms of text above, below and for the marker, but it is pretty similar... :)

Caffeine Addict’s picture

Babbage,

Thanks for the update, I'll be sure to check the development branch out in a dev environment soon and post back after testing the other issue raised by jvdurme.