- This topic has 5 replies, 3 voices, and was last updated 1 year, 2 months ago by .
I may be missing something obvious, but I've tested and searched on here to no avail.
Here's what I'm trying to do:
- Using MB Builder + MB Geolocation, set the "Types" option to return 2 types. Like in the example on the MB Geolocation docs, I would like to set it to "(cities)" and ""establishment"
'geo' => array( 'api_key' => 'YOUR API KEY', 'types' => array( '(cities)', 'establishment' ) ),
How can I do that in the Settings tab of MB Builder?
I tried adding a custom attribute of
But on the front end I get the following error:
InvalidValueError: setTypes: not an Array
_.Wc @ js?libraries=places&key=AIzaSyDgNeQLcJwxuVJC8yC_F1HYfXONXoTVaxc&ver=5.2.2:60
Can this be done with MB Builder + Geolocation?
Thanks for your help.
- You must be logged in to reply to this topic.