Skip to content

Commit

Permalink
Include zoom
Browse files Browse the repository at this point in the history
Signed-off-by: Kipruto <[email protected]>
  • Loading branch information
kelvinkipruto committed Nov 14, 2024
1 parent a5fb968 commit 061ed65
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions apps/climatemappedafrica/src/payload/globals/HURUMap/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,42 @@ const Profile = {
},
],
},
{
name: "zoom",
type: "group",
fields: [
{
type: "row",
fields: [
{
name: "desktop",
label: "Zoom Level for Desktop",
type: "number",
defaultValue: 3.05,
required: true,
admin: {
description:
"Indicates how the map should appear on desktop devices",
},
},
{
name: "mobile",
label: "Zoom Level for Mobile",
type: "number",
required: true,
defaultValue: 2.7,
admin: {
description:
"Indicates how the map should appear on small devices",
},
},
],
},
],
admin: {
hideGutter: true,
},
},
{
name: "hasData",
type: "checkbox",
Expand Down

0 comments on commit 061ed65

Please sign in to comment.