Currently there is no possibility to add libraries to Google Maps API js file. For example I wanted to use places library from API, but open layers adds API js file and this file should be added only once. Because of this I have created patch which allows user to add libraries on 'admin/structure/openlayers/layers/settings' screen for API v 3.5. Then just the '&libraries=' . $libraries is simply added to url.
Please review this patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, openlayers_layer_type_google.inc_.patch, failed testing.

reeller_sk’s picture

FileSize
1.6 KB

Accidentally attached wrong patch file.

reeller_sk’s picture

Status: Needs work » Needs review
Pol’s picture

Status: Needs review » Fixed

Good stuff !

Thanks, committed and pushed.

Status: Fixed » Closed (fixed)

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