Tag: google api

Google Loader vs standard <script> tags

Google loader <script type=”text/javascript”> google.load(‘jquery’,’1.7.1′); google.load(‘jqueryui’,’1.8.17′); </script> or… standard <script> tags <script type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js”></script> <script type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js”></script> Which is better and why?

Google Chart API: Change color on hovering legend

So I have a ColumnChart and one of the built-in functionality is that you can hover over an item (so called category) in the legend of the chart and you get some highlight-border around the corresponding columns in the chart. Now I have many columns and categories in my chart and a highlighted series/category is […]

Google Visualization Issue with Small Values in Pie Chart

Apparently Google Visualization Pie Charts don’t like very small values. I’ve created a JSfiddle to demonstrate the issue: http://jsfiddle.net/technotarek/YRKHd/ When you load the fiddle, you’ll see the pie chart has four categories as one would expect from examining the JS in lines 6-13. Now, try changing the third value in line 13 of the JS […]

Get the H-Axis(X-Axis) value of google area chart

In the google chart datatable object, I can get the current select point value(V-Axis/Y-Axis) using datatable.getValue(…). However, if I wanna get the time/date/year from X-Axis(see screenshot). I did not find any datatable’s function to achieve that. Does anyone know how?? This is my code google.visualization.events.addListener(chart, ‘select’, function(a, b, c, d) { var selectedItem = chart.getSelection()[0]; […]

Google API: Authorized JavaScript Origins

I’m implementing a Google+ Sign-In for our web service, and stumbled on “Authorized JavaScript Origins”. Our clients have web addresses either as a sub-domain of our main domain, or as a custom domain name. Since the login page is under that sub-domain (or custom domain), and in order to make the Google+ Sing-In button work, […]

Upgrading to v3 from v2 of google maps API, suggestions

I have full fledged integration of google maps version 2 in my web application, with features like get directions, cluster markers, tabbed info window, context menu(right click). The implementation has very poor design which is causing some problem, So now I need to revamp the core implementation to better design. I was thinking of upgrading […]

Crawling Google Search with PHP

I trying to get my head around how to fetch Google search results with PHP or JavaScript. I know it has been possible before but now I can’t find a way. I am trying to duplicate (somewhat) the functionality of http://www.getupdated.se/sokmotoroptimering/seo-verktyg/kolla-ranking/ But really the core issue I want to solve is just to get the […]

How to detect that the 25000 request per day limit has been reached in Google Maps?

I’m working on a website using the Google Maps Javascript API v3. The free version of the API is limited by 25000 requests a day. But what happens if this limit is reached? Is there a way to detect that the request limit has been reached so a fallback Google Maps Image API map can […]

How to remove annotation tick mark in line chart of google api chart?

I got this chart in line chart of google api. Here i’m trying to display the point value in above the point. so i’m using annotation. Here how to remove annotation tick mark in between the points(23 & 2008, 145 & 2009…) in google api chart. <script type=”text/javascript”> google.load(“visualization”, “1”, {packages: [“corechart”]}); google.setOnLoadCallback(drawChart); function drawChart() […]

Access Not Configured. The API (Google+ API) is not enabled for your project. Please use the Google Developers Console to update your configuration

Giving error even I enabled Google+ API in Google Developers Console Code:403 “message”: “Access Not Configured. The API (Google+ API) is not enabled for your project. Please use the Google Developers Console to update your configuration.”