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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Google Map Selection Field


Go to End


2 Posts   1573 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.