Hi there,

I have a node form which uses Location Module for an address, and uses GMap to get the co-ordinates for that address. By default, the functionality works fine - gmap displays with location address fields, user can use gmap to pick latitude/longitude values etc, etc: Everything works as expected. Whoo hoo.

However, I need to theme my node form, and so I have created a template file for my node form in my theme, and within that template file I use drupal_render($form) to output the form fields display.

When I use this method to theme my node form (and pass the $form variable through drupal_render()) I get the following message:

Duplicate map detected! GMap does not support multiplexing maps onto one MapID! GMap MapID: auto1map

.

If I remove the node form template file, and don't override the default form themeing behaviour, the error dissapears. Wierd huh?!

Any thoughts or ideas welcomed - thanks to the maintainers for a great module!

Cheers.

Comments

summit’s picture

Status: Active » Closed (duplicate)

Hi,
Isn't this a duplicate of: http://drupal.org/node/404424
Greetings, Martijn