Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(blocks-google-maps): Fix load script libraries.
- Loading branch information
Showing
4 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
packages/plugins/blocks/blocks-google-maps/src/blocks/GoogleMapsScript/GoogleMapsScript.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"apiKey": { | ||
"type": "string", | ||
"description": "Your Goolge Maps API key." | ||
} | ||
} | ||
}, | ||
"events": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"onClick": { | ||
"type": "array", | ||
"description": "Trigger actions when the map is clicked." | ||
}, | ||
"onMarkerClick": { | ||
"type": "array", | ||
"description": "Trigger actions when marker is clicked." | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters