Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Google Map Selection Field


Reply

2 Posts   1204 Views

Avatar
Ben_W

7 December 2009 at 2:02pm Community Member, 80 Posts

I have downloaded and installed Google Map Selection Field module, but couldn't make it work.

I have add the following line in the _config.php
EditableGoogleMapSelectableField::$api_key = 'ABQIAAAAdc7-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';

and inside one of the page type in the cms, I have added the following:

$fields->addFieldToTab('Root.Content.GoogleMap', new GoogleMapSelectableField('MyMap'));

The tab and field show up correctly, however every time I fill in the address and click 'go' button the page go blank, the url shows that its calling the EditForm function. what should I do to get this field to work properly?

Thank you for taking your time to read this.

Avatar
Miles

14 January 2010 at 9:26am Community Member, 14 Posts

I get the same issue. I believe it comes down to the required js not being included in the module. I'm troubleshooting this now. If I come up with something I'll post here.