Remove Google References
This removes most references to Google, with some remaining since they may point to things which are still relevant. References to Google Code, Google Buzz and Google Maps have been removed
This commit is contained in:
@@ -49,9 +49,9 @@ class MapstractionPlugin extends Plugin
|
||||
const VERSION = GNUSOCIAL_VERSION;
|
||||
|
||||
/** provider name, one of:
|
||||
'cloudmade', 'google', 'microsoft', 'openlayers', 'yahoo' */
|
||||
'cloudmade', 'microsoft', 'openlayers', 'yahoo' */
|
||||
public $provider = 'openlayers';
|
||||
/** provider API key (or 'appid'), if required ('google' and 'yahoo' only) */
|
||||
/** provider API key (or 'appid'), if required ('yahoo' only) */
|
||||
public $apikey = null;
|
||||
|
||||
/**
|
||||
@@ -97,10 +97,6 @@ class MapstractionPlugin extends Plugin
|
||||
case 'cloudmade':
|
||||
$action->script('http://tile.cloudmade.com/wml/0.2/web-maps-lite.js');
|
||||
break;
|
||||
case 'google':
|
||||
$action->script(sprintf('http://maps.google.com/maps?file=api&v=2&sensor=false&key=%s',
|
||||
urlencode($this->apikey)));
|
||||
break;
|
||||
case 'microsoft':
|
||||
$action->script((GNUsocial::isHTTPS()?'https':'http') + '://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6');
|
||||
break;
|
||||
|
Reference in New Issue
Block a user