Hi Sonny,
Thanks! This change is now in the repository.
fyi, I recommend instead of using that one use mojoPortal.Web.UI.LocationMap.cs which is in Web/Controls
so <portal:LocationMap rather than <goog:LocationMap
I've kept the old one for backward compatibility but recommend to use the newer one.
I made the same change in the newer mojoPortal.UI.LocationMap.cs except one small difference:
if (SiteUtils.IsSecureRequest()) { protocol = "https"; }
Whereas Page.Request.IsSecureConnection can give a false even for a secure request if proxying through a load balancer where the ssl cert is on the load balancer and not on the web site, so this SiteUtils method does some extra checks against some configurable server variables to allow detecting a secure connection in some alternate ways.
Best,
Joe