urlencode($this->apikey)));
break;
case 'microsoft':
- $action->script('http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6');
+ $action->script((StatusNet::isHTTPS()?'https':'http') + '://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6');
break;
case 'openlayers':
// XXX: is this not nice...?