谷歌地图在Angularjs中的位置
我使用模型,在键入时获取位置。当我将这些信息传递给谷歌地图时,它不会显示位置,但如果我手动将其放入谷歌地图在Angularjs中的位置,angularjs,Angularjs,我使用模型,在键入时获取位置。当我将这些信息传递给谷歌地图时,它不会显示位置,但如果我手动将其放入center=“London street”中,它会显示出来。这里有什么问题 <div class="form-group move-down"> <label for="Autocomplete">Generic Autocomplete</label> <input ng-model="result1" type
center=“London street”
中,它会显示出来。这里有什么问题
<div class="form-group move-down">
<label for="Autocomplete">Generic Autocomplete</label>
<input ng-model="result1" type="text" id="Autocomplete" class="form-control" ng-autocomplete="result1" details="details1" options="options1"/>
</div>
<map style="display:block;height:300px" center="result1" zoom="15" > <marker position="result1" /></map>
<pre>{{result1}}</pre>
通用自动完成
{{result1}}
结果1显示像瑞典维斯比的马尔克维尔和泰格我不知道谷歌地图,但结果1不应该在地图元素中用括号括起来