This is a widget to browse Sahaja Yoga Meditation Centers on any Sahaja Yoga website with simple code integration as shown below.
Get your domain (e.g. sahajayoga.org) whitelisted to use the Widget and it's API's.
Please contact info@sycenters.org with your website domain and your
domain will be whitelisted.
To use the widget, you need to add the following code to your website:
<syc-widget color="#FEC500" scope="" gmapsApiKey="YOUR_GOOGLE_MAPS_API_KEY" defaultLanguage="en"></syc-widget>
color: You can change color of the widget by changing the color attribute to match your
Website theme.
scope: You can limit the widget to a specific region by adding the scope attribute. Keep it
blank for global centers.scope="India-Maharashtra,India-Karnataka-Belgaum" ,.
gmapsApiKey: You must replace YOUR_GOOGLE_MAPS_API_KEY with your actual Google
Maps API key. This is necessary for maps functionality. Check below instructions for more details.
defaultLanguage: Set the default language for the widget. Available options: en
(English), hi (हिन्दी), es (Spanish), ru (Russian), de
(German), fr (French). Default will be en (English) if not specified.
<link rel="stylesheet" href="https://widget.sycenters.org/styles.css">
<script src="https://widget.sycenters.org/runtime.js" type="module"></script>
<script src="https://widget.sycenters.org/polyfills.js" type="module"></script>
<script src="https://widget.sycenters.org/main.js" type="module"></script>
To obtain YOUR_GOOGLE_MAPS_API_KEY for a specific domain (e.g. `sahajayoga.org`), follow these
clear step-by-step instructions:
Visit: https://console.cloud.google.com/
SycWidgetProject) and click Create.AIzwSyASqMnvDWJI7Pw_urRMwjM-HkXPOXuDuh4)In the API key settings:
*.sahajayoga.org/*:
Click “Save”
Jai Shree Mataji 🙏
Now our Widget is ready to use. For any issue in Widget or it's functionality do reach out
to us at info@sycenters.org.