aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/google-maps
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/google-maps')
-rw-r--r--recipes/google-maps/icon.svg20
-rw-r--r--recipes/google-maps/index.js1
-rw-r--r--recipes/google-maps/package.json9
-rw-r--r--recipes/google-maps/webview.js16
4 files changed, 46 insertions, 0 deletions
diff --git a/recipes/google-maps/icon.svg b/recipes/google-maps/icon.svg
new file mode 100644
index 0000000..298ceae
--- /dev/null
+++ b/recipes/google-maps/icon.svg
@@ -0,0 +1,20 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 28.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4 viewBox="0 0 132.3 132.3" style="enable-background:new 0 0 132.3 132.3;" xml:space="preserve">
5<style type="text/css">
6 .st0{fill:#1A73E8;}
7 .st1{fill:#EA4335;}
8 .st2{fill:#4285F4;}
9 .st3{fill:#FBBC04;}
10 .st4{fill:#34A853;}
11</style>
12<path class="st0" d="M80.2,2.2C75.8,0.8,71,0,66.1,0C52,0,39.3,6.4,30.8,16.5l21.8,18.3L80.2,2.2z"/>
13<path class="st1" d="M30.8,16.5C24.1,24.5,20,34.9,20,46.1c0,8.7,1.7,15.7,4.6,22l28-33.3C52.6,34.8,30.8,16.5,30.8,16.5z"/>
14<path class="st2" d="M66.2,28.5c9.8,0,17.7,7.9,17.7,17.7c0,4.3-1.6,8.3-4.2,11.4c0,0,13.9-16.6,27.5-32.7
15 c-5.6-10.8-15.3-19-27-22.7L52.6,34.8C55.9,31,60.7,28.5,66.2,28.5"/>
16<path class="st3" d="M66.2,63.8c-9.8,0-17.7-7.9-17.7-17.7c0-4.3,1.5-8.3,4.1-11.3l-28,33.3c4.8,10.6,12.8,19.2,21,29.9l34.1-40.5
17 C76.4,61.4,71.6,63.8,66.2,63.8"/>
18<path class="st4" d="M79.1,109.2c15.4-24.1,33.3-35,33.3-63c0-7.7-1.9-14.9-5.2-21.3L45.6,98c2.6,3.4,5.3,7.3,7.9,11.3
19 c9.4,14.5,6.8,23.1,12.8,23.1S69.7,123.7,79.1,109.2"/>
20</svg>
diff --git a/recipes/google-maps/index.js b/recipes/google-maps/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/google-maps/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/google-maps/package.json b/recipes/google-maps/package.json
new file mode 100644
index 0000000..e2a0d35
--- /dev/null
+++ b/recipes/google-maps/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "google-maps",
3 "name": "Google Maps",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://www.google.com/maps"
8 }
9}
diff --git a/recipes/google-maps/webview.js b/recipes/google-maps/webview.js
new file mode 100644
index 0000000..2a81dec
--- /dev/null
+++ b/recipes/google-maps/webview.js
@@ -0,0 +1,16 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.exports = Ferdium => {
8 // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
9 // const getMessages = () => {
10 // // TODO: Insert your notification-finding code here
11 // Ferdium.setBadge(0, 0);
12 // };
13 // Ferdium.loop(getMessages);
14
15 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
16};