Kolyunya / yii2-map-input-widget

A Yii2 input widget which provides a user-friendly interface for selecting geographical coordinates via Google maps. Allows users to select geographical coordinates by clicking on an interative Google map embedded into your web-page. Also allows users to type in a place name to search for it via Google Places API.
http://kolyunya.github.io/yii2-map-input-widget/
GNU General Public License v3.0
28 stars 24 forks source link

http instead of https #4

Closed therealjg closed 10 years ago

therealjg commented 10 years ago

You have to check if the actual connection is secure or not.

Like this:

$scriptUrl = "http".(Yii::$app->request->isSecureConnection ? 's': '')."://maps.googleapis.com/maps/api/js?";

Kolyunya commented 10 years ago

@HannibalSmith13 thank you for the report!