Plugin:Mapstraction

From StatusNet
Jump to: navigation, search

Contents

Overview

This plugin adds maps to your StatusNet site. It uses the Mapstraction mapping library, which is included in the distribution.

Getting it

It's part of the standard distribution of StatusNet.

Turning it on

It's enabled by default.

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']);

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.
Personal tools
Namespaces
Variants
Actions
Navigation
Status.net
Toolbox