Chris Gurney Posted February 7, 2013 at 06:29 AM Share Posted February 7, 2013 at 06:29 AM Hi Before the latest update for geomaps in geomaps.js I had set var o = { types: ['geocode'] ,componentRestrictions: {country: 'au'} }; if(self.options.autocomplete === true) { and that has been working fine. In latest version code has changed so I guessed this would work but it didn't. var o = { types: ['geocode'] }; if(jreviews.geomaps.autocomplete_country !== 'au') { o.componentRestrictions = {country: jreviews.geomaps.autocomplete_country}; } if(self.options.autocomplete === true) { Can you assist please. Thanks Chris Link to comment
Chris Gurney Posted February 7, 2013 at 07:33 AM Author Share Posted February 7, 2013 at 07:33 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Chris Gurney Posted February 7, 2013 at 07:45 AM Author Share Posted February 7, 2013 at 07:45 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted February 7, 2013 at 12:46 PM Share Posted February 7, 2013 at 12:46 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Chris Gurney Posted February 7, 2013 at 01:21 PM Author Share Posted February 7, 2013 at 01:21 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts