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   1262 Views

Avatar
Ben_W

Community Member, 80 Posts

7 December 2009 at 2:02pm

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

Community Member, 14 Posts

14 January 2010 at 9:26am

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.