Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/363.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 从AngularJS中的表单数据创建Google地图链接_Javascript_Angularjs_Google Maps - Fatal编程技术网

Javascript 从AngularJS中的表单数据创建Google地图链接

Javascript 从AngularJS中的表单数据创建Google地图链接,javascript,angularjs,google-maps,Javascript,Angularjs,Google Maps,我的地址表范围如下: <md-input-container> <label>Address</label> <input name="text" ng-model="location.address"> </md-input-container> <md-input-container> <label>

我的地址表范围如下:

        <md-input-container>
          <label>Address</label>
          <input name="text" ng-model="location.address">
        </md-input-container>

        <md-input-container>
          <label>Zip</label>
          <input name="text" ng-model="location.zip">
        </md-input-container>

        <md-input-container>
          <label>City</label>
          <input name="text" ng-model="location.city">
        </md-input-container>

        <md-input-container>
          <select ng-model="selectedCountry" pvp-country-picker="country">
            <option value="" disabled>Please select your country</option>
          </select>
        </md-input-container>

地址
拉链
城市
请选择您的国家/地区
首先,我要找到经纬度别名并在谷歌地图上显示


我该怎么做?

所以,我想澄清一下,你想从表单中获取输入,并构建一个谷歌地图url,将它们发送到@GarrettWills是的,是的。