I like to plot Multiple Location in Google Maps. however encounter some issues...
Seems like K2 Does not seem to render JavaScript Code with a Data Label on Literal..
And does not seem to be able to build the Map. almost looks like Java Script is not loading...
https://agilestorelocator.com/blog/multiple-markers-google-map-v3-api-wordpress-tutorial/
https://www.taniarascia.com/google-maps-apis-for-multiple-locations/
https://www.tutsmake.com/add-show-multiple-markers-pins-on-google-map/
https://medium.com/@limichelle21/integrating-google-maps-api-for-multiple-locations-a4329517977a
http://flowfactory.fr/blog/en/2019/07/16/integrate-a-map-to-locate-an-address-into-a-k2-smartforms/
The only thing that works is IFrame.. however does not seem to be possible to append more locations to an IFrame feed from a SMO.
As another alternative was thinking if there is a way to have some JQuery or JS Function that actually modify the DOM in the Iframe and inject the Additional Locations to the Embed Solution.
With a Data Label and Expression was able to create a Concat of 4 lines.
<iframe width="800" height="600" frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/place?key=YOUR_API_KEY
&q=12345+Your_Address+Your_City+Your_State" allowfullscreen>
</iframe>
And that works great.. however I need more locations... Any ideas suggestions will be appreciate it.
Thanks in advance.