Plugin:Mapstraction
From StatusNet
Contents |
[edit] Overview
This plugin adds maps to your StatusNet site. It uses the Mapstraction mapping library, which is included in the distribution.
[edit] Getting it
It's part of the standard distribution of StatusNet.
[edit] Turning it on
It's enabled by default.
[edit] Turning it off
You can disable it by removing it from the list of default plugins. In your config.php, add:
unset($config['plugins']['default']['Mapstraction']);
[edit] Configuration options
Note that if you want to change the configuration, you'd need to disable and re-enable it!
unset($config['plugins']['default']['Mapstraction']);
addPlugin('Mapstraction', array('option1' => value1, 'option2' => value));
These are the values you can set.
- provider
- the name of the mapping provider. It's one of 'openlayers' (the default), 'cloudmade', 'google', 'microsoft', 'yahoo'.
- apikey
- the API key for the selected provider. Note that only Google and Yahoo require API keys.