Can Google Static Maps hold custom marker with https url? Have we same behavior with Google Maps API Premier?
From this
Note that the Static Maps API does not support custom icon URLs that use HTTPS; the default icon will be displayed.
Related
I have created custom application with static tabs defined in manifest file and it is working fine.
Now, our requirement is that we need to render static (personal) tabs dynamically according to provided Site URL by customer.
For ex. When application installed in teams user will get screen where he will asked for Site URL (API) in textbox and submit it. This will internally check data and give response with tab name, tab URLs and other details then I need to render this tabs dynamically in teams.
enter image description here
Please provide solution for this how I can achieve this ?
It is not possible to add static tabs dynamically. Static or personal tabs are always added through the app manifest and are common to all the users using the app. If you want to configure what tabs to show you can try using a channel tab.
As Gousia said, you can't set the contents of the tab dynamically, and you can't add/remove personal tabs programmatically, but what you could try is having your "tab" be just an iframe host, with width/height basically set to 100%, and then dymically loading the content of the iframe
I have a case:
It was opened Gmail in one tab of the browser. All good, I can use Gmail(send, receive ...).
I create a simple HTML page from the guide for Google Sign-In, also add an iframe with link to the google data studio file
I open another tab in the same browser and load this simple HTML page. In JS code onload handler of Google SignIn library i do:
gapi.auth2.init({client_id: factory.clientId,scope: 'profile email'});
var authInst = gapi.auth2.getAuthInstance();
var isLoggedIn = authInst.isSignedIn.get();
===> i get false, so library assume that i dont signed in.
But the content of iframe(link to the google data studio file which located in my Google account) is loading and i can see data of the GDS file. So I assume that Google somehow handles my session data on their servers.
How can I align result from gapi.auth2.getAuthInstance() call of the library or which library should i use to understand the REAL state of the user(signed in or not)? How to handle this case in the right way?
Also, due to restrictions, i cant parse the content of the loaded iframe with js iframe.contentDocument property
When you put a link inside the text field in Google Translate, it gives you back the same URL which you can click and then it loads the page in what still seems the inside of Google translate.
How does it work?
When you submit a URL to Google Translate, it displays the same URL as a hyperlink in the translation box, however the actual link is some JavaScript:
javascript:ctr._submitUrl(true);
This JavaScript performs the redirect to the proxied Google Translate version of the page: https://translate.google.com/translate?
How can I access the address bar of Firefox inside an extension using the SDK? I want to do the following:
Listen to events that the URL in the address bar was changed by the user, i.e. for every single key stroke, copy&pastes, etc.
Add entries to the URL dropdown list of the address bar, based on the current URL in the address bar.
This feature is intended for an online bookmark manager application. We would like to give the users the possibility to access the bookmarks stored in our app using the normal firefox address bar.
I'm not 100% sure but I think the SDK doesn't have a module for that. But it can be done accessing XPCOM services and objects. Take a look at:
https://github.com/ajitk/omnibar
https://github.com/Quicksaver/Omnibar-Plus
https://github.com/autonome/Jetpack-Modules/blob/master/awesomebar.js
Google Calendar provides a way to insert your Google Calendar into a web page using an <iframe>. Is there a way to insert this data into a web page without having to use the <iframe>?
I know that there are ways to do this using the Google API, but is there any way that I can put that code directly into my page without the need to use the <iframe> or rewrite the entire source code and call the Google API?
Actually you can just make it an object and it will validate. For the Google calendar in particular, all you have to do is change "iframe" to "object" (don't for get to change the iframe break too), change "src" to "data", and remove the frameborder and scrolling tags and all is good. The only drawback is that objects are not supported in IE....
I'd say you'd get what you want with restylegc.
You can check the strategy the developer used and insert into your page.
It basically uses curl to get the entire webapp and rewrites links dynamically so that it's in the middle of some request.
This also allows you to restyle the calendar and add custom javascript.