Skip to content

Instantly share code, notes, and snippets.

@expiscornovus
Created February 4, 2026 11:58
Show Gist options
  • Select an option

  • Save expiscornovus/6e9ea21a5aaeb111298826d54078229f to your computer and use it in GitHub Desktop.

Select an option

Save expiscornovus/6e9ea21a5aaeb111298826d54078229f to your computer and use it in GitHub Desktop.
Body Add Bing Maps Web Part on Page
{
"@odata.type": "#microsoft.graph.sitePage",
"title": "Add Bing Maps Web Part on Page",
"canvasLayout": {
"horizontalSections": [
{
"layout": "oneColumn",
"id": "1",
"emphasis": "none",
"columns": [
{
"id": "1",
"webparts": [
{
"id": "@{guid()}",
"webPartType": "e377ea37-9047-43b9-8cdb-a761be2f8e09",
"data": {
"dataVersion": "1.2",
"description": "Display a location on a map using Bing Maps.",
"title": "Bing Maps",
"properties": {
"maxNumberOfPushPins": 1,
"shouldShowPushPinTitle": true,
"zoomLevel": 12,
"mapType": "road",
"isTitleEnabled": false,
"center": {
"@odata.type": "#graph.Json",
"latitude": 52.090979680576176,
"longitude": 5.121367144797671,
"altitude": 0,
"altitudeReference": -1
},
"pushPins@odata.type": "#Collection(graph.Json)",
"pushPins": [
{
"defaultTitle": "Dom Tower of Utrecht, Utrecht, Netherlands",
"defaultAddress": "Dom Tower of Utrecht, Netherlands",
"title": "Dom Tower of Utrecht, Utrecht, Netherlands",
"address": "Dom Tower of Utrecht, Netherlands",
"location": {
"@odata.type": "#graph.Json",
"latitude": 52.09064865,
"longitude": 5.12159491,
"altitude": 0,
"altitudeReference": -1,
"name": "Dom Tower of Utrecht, Netherlands"
}
}
]
},
"serverProcessedContent": {
"htmlStrings": [],
"searchablePlainTexts": [],
"links": [],
"imageSources": []
}
}
}
]
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment