Affects Version/s: None
Fix Version/s: 1.3
The Google and Yahoo mapping configuration options need to be consolidated into a two constants which control the mapping behavior for a site.
Instead of having 2 sections, w/ two places for API keys in config.inc.php (and .sample) - we need a single section with the following constants:
/** Map Contacts with External Provider:
- [K - just combine the two sets of instructions for now and I'll fix them up a bit ]
Default map provider will be Yahoo.
Modify the code to check for either 'Yahoo' or 'Google' AND an API key before exposing Mapping links/tasks.
Mapping links and actions conditionally implement the Yahoo or Google methods based on mapProvider value.
Action link text should be just 'Map' (not 'Gmap' or 'Ymap'...)
Task drop-down option should be just 'Map Contacts' (don't need 'with Google Maps' or 'with Yahoo Maps' - we'll use whichever is config'd in MAP Provider)