【文件属性】:
文件名称:meteor-autoform-map:Google为Meteor Autoform映射输入
文件大小:181KB
文件格式:ZIP
更新时间:2021-05-09 08:37:23
CoffeeScript
自动形成地图
使用autoForm编辑位置坐标。
设置
安装meteor add yogiben:autoform-map
定义您的架构并设置autoform属性,如以下示例所示
Schemas = {}
@Cities = new Meteor.Collection('cities');
Schemas.Cities = new SimpleSchema
name:
type:String
max: 60
location:
type: String
autoform:
type: 'map'
afFieldInput:
geolocation: true
searchBox: true
autolocate: true
Cities.attachSchema(Schemas.Cities
【文件预览】:
meteor-autoform-map-master
----.gitignore(13B)
----README.md(3KB)
----versions.json(1KB)
----package.js(562B)
----.versions(667B)
----readme()
--------screenshot1.png(181KB)
----lib()
--------client()