arnor@icetips.com
Member
Hi guys,
I have successfully implemented a Google Maps element, with one exception. When it loads it still shows the default (Wales) but if I click the "Geocode" button it puts the pin the the right place and re-centers.
Everything else seems to be working fine, but in Chrome console I see this:
jos_iscm_data_purchase_order_list___gm_map_info attach to form:TypeError: Cannot read property 'geocode' of undefined
So something isn't set quite right when it loads. I have the Geocoding set to "Use elements" and "Trigger geocode with" set to "Button" Using "As you type" makes no difference, still loads Wales. I have "Geocode on load" set to "Always"
Is there some trick to make it load automatically when the form opens, using the specified geocode elements?
Best regards,
Arnor
I have successfully implemented a Google Maps element, with one exception. When it loads it still shows the default (Wales) but if I click the "Geocode" button it puts the pin the the right place and re-centers.
Everything else seems to be working fine, but in Chrome console I see this:
jos_iscm_data_purchase_order_list___gm_map_info attach to form:TypeError: Cannot read property 'geocode' of undefined
So something isn't set quite right when it loads. I have the Geocoding set to "Use elements" and "Trigger geocode with" set to "Button" Using "As you type" makes no difference, still loads Wales. I have "Geocode on load" set to "Always"
Is there some trick to make it load automatically when the form opens, using the specified geocode elements?
Best regards,
Arnor