diff --git a/modules/geolocation_googlemaps/geolocation_googlemaps.module b/modules/geolocation_googlemaps/geolocation_googlemaps.module
index a704a1f..0415091 100644
--- a/modules/geolocation_googlemaps/geolocation_googlemaps.module
+++ b/modules/geolocation_googlemaps/geolocation_googlemaps.module
@@ -191,7 +191,7 @@ function geolocation_googlemaps_field_formatter_view($entity_type, $entity, $fie
           $query['markers'] = 'icon:' . $path . '|' . $query['markers'];
         }
         $variables = array(
-          'path' => url('//maps.google.com/maps/api/staticmap', array('query' => $query)),
+          'path' => url('https://maps.googleapis.com/maps/api/staticmap', array('query' => $query)),
           'alt' => 'Geolocation',
           'attributes' => array('class' => 'geolocation-googlemaps-static'),
         );
@@ -219,11 +219,11 @@ function geolocation_googlemaps_field_formatter_view($entity_type, $entity, $fie
         // Attach CSS and JS files via FAPI '#attached'.
         $map_element['googlemap']['#attached']['css'][] = drupal_get_path('module', 'geolocation_googlemaps') . '/geolocation_googlemaps.css';
         $map_element['googlemap']['#attached']['js'][] = array(
-          'data' => '//maps.google.com/maps/api/js?sensor=false',
+          'data' => 'https://maps-api-ssl.google.com/maps/api/js?sensor=false',
           'type' => 'external',
         );
         $map_element['googlemap']['#attached']['js'][] = array(
-          'data' => '//www.google.com/jsapi',
+          'data' => 'https://www.google.com/jsapi',
           'type' => 'external',
         );
         $map_element['googlemap']['#attached']['js'][] = array(
@@ -380,11 +380,11 @@ function geolocation_googlemaps_field_widget_form(&$form, &$form_state, $field,
       // Attach CSS and JS files via FAPI '#attached'.
       $element['googlemap']['#attached']['css'][] = drupal_get_path('module', 'geolocation_googlemaps') . '/geolocation_googlemaps.css';
       $element['googlemap']['#attached']['js'][] = array(
-        'data' => '//maps.google.com/maps/api/js?sensor=false',
+        'data' => 'https://maps-api-ssl.google.com/maps/api/js?sensor=false',
         'type' => 'external',
       );
       $element['googlemap']['#attached']['js'][] = array(
-        'data' => '//www.google.com/jsapi',
+        'data' => 'https://www.google.com/jsapi',
         'type' => 'external',
       );
       $element['googlemap']['#attached']['js'][] = array(
