Field for a point on a map #5756
Replies: 3 comments
-
Keystone uses Prisma as database driver, which is missing support for that type of data, feature request is here: prisma/prisma#5984 |
Beta Was this translation helpful? Give feedback.
-
Also in Keystone 5 there was the separate field type with widget in Admin UI https://github.com/keystonejs/keystone-5/tree/main/packages/fields-location-google - maybe developers will port it to Keystone 6 in near future... |
Beta Was this translation helpful? Give feedback.
-
@MurzNN 's comment about Prisma support remains accurate. |
Beta Was this translation helpful? Give feedback.
-
Field for a point on a map.
The field would contain something like:
string
- for labeling the pointdecimal
- for storing the longitude of the point on the mapdecimal
- for storing the latitude of the point on the mapPreferably with the ability to choose from a map within the UI, although this might become too much? Or if there is any other way to somehow integrate the ability to easily choose the point from a map. Maybe just grabbing the label of the point using some API (Google).
Would this be something doable?
Beta Was this translation helpful? Give feedback.
All reactions