Because many mapping APIs require a per-domain key it is best to store these in the site's settings.php file, then maybe allow this value to be overridden through the View for people who don't need that functionality.

CommentFileSizeAuthor
#1 mapstraction-n568418.patch1.51 KBdamienmckenna

Comments

damienmckenna’s picture

StatusFileSize
new1.51 KB

A simple patch that loads a variable in the format: $api_id . 'map_api_key', e.g. 'googlemap_api_key'.

damienmckenna’s picture

Status: Active » Needs review

It's a starting point, something to get by on until a better solution is worked out.

levelos’s picture

Status: Needs review » Fixed

There is now a separat admin section for managing mapstraction API keys

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

geerlingguy’s picture

Subscribe.