I placed the wix html widget at top of page and put in Google maps iframe to embed mymap on a dynamic page. I then have a repeater with wix code controlling the repeater connections. The result is that the map embed does not work.
Apparently the Wix html widget does not work well with Wix Code. Thoughts/Suggestions?
My page: https://www.ourozarks.com/antiques
HI Jeff:
I have implemented a pretty interesting google maps page using the html widget. Check out this page where the map shows points of interest based on a repeater.
https://www.spiritoftheknights.com/our-favourite-places
Building this type of page isn’t trivial because you have to get the html code right in the widget to drive google via the messaging protocols and make sure you are catching problematic data.
One thing I would note, based on looking at your page in the developer tools, is that there appears to be a bug on the page probably where you are trying to assign a url to something from a dataset? Looks like there are 5 occurrences.
This is probably crashing the page’s javascript runner leading to your problem. I would look into that as a likely problem. If you have code that assigns data that is calculated, or retrieved from an asynch interface like a dataset then make sure there is a value being assigned to .src.
Perhaps you are passing info to your iFrame in a postMessage that is bad?
Hope this helps
Yes that is a great example Yisreal. I think that is what inspired the page I created referenced above.