在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):israelidanny/ion-google-place开源软件地址(OpenSource Url):https://github.com/israelidanny/ion-google-place开源编程语言(OpenSource Language):JavaScript 84.7%开源软件介绍(OpenSource Introduction):ion-google-placeIonic directive for a location dropdown that utilizes google maps This is a simple directive for an autocomplete overlay location field built for Ionic Framework. #Installation Installation should be dead simple, you can grab a copy from bower: bower install ion-google-place Or clone this repository. For the geolocation service to work, you'll need to have Google Maps javascript API somewhere in your HEAD tag:
You'll need to add angular.module('myApp', [
'ionic',
'ion-google-place'
]); You'll also have to include That's pretty much it. Now you can use the directive like so:
The main placeholder attribute is for the placeholder text in the view. The You can in this version have the current location by adding to the directive "ion-google-place" the attribute currentLocation to true. example: the acceptable value fot the attribute currentLocation are true or false. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论