Permalink
Browse files

use relative protocols on URLs

  • Loading branch information...
1 parent 025d591 commit aab46ddd1b7506a8fc28290a6451f008df7aff1c @MDrollette MDrollette committed May 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Model/Overlays/MarkerImage.php
  2. +1 −1 Templating/Helper/MapHelper.php
@@ -17,7 +17,7 @@ class MarkerImage extends AbstractJavascriptVariableAsset
/**
* @var string URL of the marker image
*/
- protected $url = 'http://maps.gstatic.com/mapfiles/markers/marker.png';
+ protected $url = '//maps.gstatic.com/mapfiles/markers/marker.png';
/**
* @var Ivory\GoogleMapBundle\Model\Base\Point Anchor of the marker image
@@ -285,7 +285,7 @@ protected function renderGoogleMapAPI(Map $map)
{
self::$apiIsLoaded = true;
- $url = 'http://maps.google.com/maps/api/js?';
+ $url = '//maps.google.com/maps/api/js?';
$encodedPolylines = $map->getEncodedPolylines();
if (!empty($encodedPolylines))

0 comments on commit aab46dd

Please sign in to comment.