@lyra/google-maps-input
Version:
Lyra plugin providing input handlers for geo-related input types using Google Maps
23 lines (20 loc) • 408 B
JavaScript
import bundledTypes from 'part:@lyra/base/bundled-types'
import {keyBy} from 'lodash'
const keyedTypes = keyBy(bundledTypes.types, 'name')
export default {
name: 'test',
types: [
keyedTypes.geopoint,
{
name: 'myTestLocation',
type: 'object',
fields: [
{
name: 'location',
type: 'geopoint',
title: 'Location'
}
]
}
]
}