Leveraging @mbarone iframe driver code I created a new version of the driver dedicated to displaying Google Maps based on latitude and longitude attributes. With this driver I was able to create a Hubitat Rule that triggers anytime the latitude or longitude attributes changes for my Tesla driver and then updates this new Google Maps Iframe driver with the current map location where my car is located. I'm also using this for other devices I have in HE that also contain Lat/Lon attributes to display map locations for those devices.
I've been attempting to create a Google Maps ifame advanced driver version based on @mbarone Iframe Advance code but as I'm new to Groovy Programming I stuck figuring out how to pass the values obtained from the commands into the "launcher" section of the code that are currently reading the values from the parameters section. If someone can point me to an example how to pass command values will be much appreciated.
Anyway, the code for the Google Maps iFrame driver is available at: