Git Product home page Git Product logo

google-ajax-examples's People

Contributors

grabks avatar hillelm avatar jlivni avatar lisbakke avatar metula avatar nilsatgoogle avatar orwant avatar skaree avatar

Watchers

 avatar

Forkers

hi-trust

google-ajax-examples's Issues

BUG: Selecting The Same Spot Twice Shows Different Results In The Select Event Sample

I tested it in Chrome and IE7. Both fails.
http://code.google.com/apis/ajax/playground/#select_event

Click on one of the cells, it will show an alert box with the right information 
(apparently). Press Enter and re-click on the same place without moving the 
mouse - it will show an alert box saying nothing was selected.

Original issue reported on code.google.com by phistuck on 7 Apr 2009 at 4:51

problem translate, wrong result

What steps will reproduce the problem?
1. set czech word "ulice" to translate to english, should be "street" and it 
is "st"


What is the expected output? What do you see instead?
street, st

What version of the product are you using? On what operating system?
chorme, vista

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 7:59

"Edit Code" scroll does not strech to full height

What steps will reproduce the problem?
1. Goto: http://code.google.com/apis/ajax/playground/?
exp=maps#map_traffic_overlay

What is the expected output? What do you see instead?
Expected: I could see and copy&paste the code in the "Edit Code" box
Instead: The code is "hidden" since the scroll does not cover the entire area 
it should.

What version of the product are you using? On what operating system?
OS: WinXP SP3
Browser: Chrome 2.x

Original issue reported on code.google.com by [email protected] on 20 Jun 2009 at 2:13

Attachments:

Hindi language not detected!

What steps will reproduce the problem?
1. Access this url http://code.google.com/apis/ajax/playground/#language_detect
2. Replace <div id="text"> with ताज़ा समाचार
3. Click RUN

What is the expected output? What do you see instead?

Expected Output:

ताज़ा समाचार
Detected: "hi" - aka "HINDI"

Actual:

ताज़ा समाचार
Detected: "en" - aka "ENGLISH"


What version of the product are you using? On what operating system?

Browser: Firefox 3, OS: Win XP

Please provide any additional information below.

The meaning of ताज़ा समाचार in hindi is "Fresh News". But 
this phrase didn't
get detected as Hindi language. Instead, the api says it is English!!

Original issue reported on code.google.com by [email protected] on 24 Jan 2009 at 11:50

"view Full Source" windows shows unnecesary code

What steps will reproduce the problem?
1. Select the "Using The Query Language" example
2. In "Code Menu" choose "View Full Source"
3. See unnecessary data in there that seems to show up under multiple
examples.See details below.

What is the expected output? What do you see instead?
Just code for the example. but I see:
Code for the example plus it shows:

    var data = new google.visualization.DataTable();
    data.addColumn('string', 'Name');
    data.addColumn('number', 'Height');
    data.addColumn('boolean', 'Smokes');
    data.addRows(3);
    data.setCell(0, 0, 'Tong Ning mu');
    data.setCell(1, 0, 'Huang Ang fa');
    data.setCell(2, 0, 'Teng nu');
    data.setCell(0, 1, 174);
    data.setCell(1, 1, 523);
    data.setCell(2, 1, 86);
    data.setCell(0, 2, true);
    data.setCell(1, 2, false);
    data.setCell(2, 2, true);
Which is not necessary for making the example work. I have seen that this
code shows up with other examples as well.

What version of the product are you using? On what operating system?

Current version, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

Windows XP sp3


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 26 Feb 2009 at 1:21

Geodesic polyline seems to have a problem with International Date line

What steps will reproduce the problem?
1. in the Ajax playground run this code
/* Draw a missile trajectory from Vandenburg to Kwajalien */

  var HI_lat = 21.320;
  var HI_lon = -157.801;
  var Kwaj_lat = 8.728;
  var Kwaj_lon = 167.736;
  var Vand_lat = 34.752; 
  var Vand_lon = -120.587; 


function initialize() {
  if (GBrowserIsCompatible()) {

   function createLengthMarker(point) {
    var marker = new GMarker(point);
    var value = polyline.getLength();
    value = value / 1000;
    var message = "The length of this great circle is: " + value + " 
kilometers.";
    GEvent.addListener(marker,"click", function() {
       var myHtml = message;
       map.openInfoWindowHtml(point, myHtml);
    });
      return marker;
    }

    var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(HI_lat, HI_lon), 2);
    var polyOptions = {geodesic:true};
    var polyline = new GPolyline([
      new GLatLng(Vand_lat, Vand_lon),
      new GLatLng(Kwaj_lat, Kwaj_lon)
    ], "#ff0000", 10, 1, polyOptions);
    map.addOverlay(polyline);
    map.addOverlay(createLengthMarker(new GLatLng(Kwaj_lat, Kwaj_lon)));
  }
}
2.

3.

What is the expected output? What do you see instead?
The expect output is a great circle trajectory from Vandenburg, CA to 
Kwajalein (on the other side of the International Date Line), instead I 
see the trajectory head abruptly to the east before hitting longitude -170.


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 25 May 2009 at 12:39

Attachments:

unable to run any earth api examples

What steps will reproduce the problem?
1. go to http://code.google.com/apis/ajax/playground/?exp=earth#hello,_earth
2. Wait for plugin to load version 5.1.7938.4346
3. Black output Appears and nothing else.

What is the expected output? What do you see instead?
Google earth graphic

What version of the product are you using? On what operating system?
5.1.7938.4346 on windows and firefox 3.6 on both mandriva 2010 Linux and
windows7 and Windows 2003 and IE8 on both platforms too

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Feb 2010 at 9:47

BUG: Incompatibility with Chrome

Under the Language API, go to transliterate (or however it is called, sorry) 
and type the letters and words, as it says.
Nothing happens.
Control G does seem to help, also.

Also, under the Visualization API, go to Events and there to Select Event.
May be I am doing something wrong or missing something, but it only alerts 
me with the row number, or sorts the table by the clicked header cell.


Good work, all in all. :) Thank you.

Original issue reported on code.google.com by phistuck on 22 Jan 2009 at 6:52

google object not found error

What steps will reproduce the problem?

Code : 

<!--
  Copyright (c) 2008 Google Inc.

  You are free to copy and use this sample.
  License can be found here: 
http://code.google.com/apis/ajaxsearch/faq/#license
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google AJAX Search API Sample</title>
    <script src="http://www.google.com/jsapi?key=<<INSERT KEY>>"></script>
    <script type="text/javascript">
    /*
    *  The SearchControl manages searchers and draws a UI for them.  
However,
    *  searchers can be used by themselves without the SearchControl.  
This is
    *  called using a "Raw Searcher".  When doing this, you must handle 
and draw
    *  the search results manually.
    */

    google.load('search', '1');

    var imageSearch;

    function addPaginationLinks() {
      // The cursor object has all things to do with pagination
      var cursor = imageSearch.cursor;
      var curPage = cursor.currentPageIndex; // check what page the app is 
on
      var pagesDiv = document.createElement('div');
      for (var i = 0; i < cursor.pages.length; i++) {
        var page = cursor.pages[i];
        if (curPage == i) { // if we are on the curPage, then don't make a 
link
          var label = document.createTextNode(' ' + page.label + ' ');
          pagesDiv.appendChild(label);
        } else {
          // If we aren't on the current page, then we want a link to this 
page.
          // So we create a link that calls the gotoPage() method on the 
searcher.
          var link = document.createElement('a');
          link.href = 'javascript:imageSearch.gotoPage('+i+');';
          link.innerHTML = page.label;
          link.style.marginRight = '2px';
          pagesDiv.appendChild(link);
        }
      }

      var contentDiv = document.getElementById('content');
      contentDiv.appendChild(pagesDiv);
    }

    function searchComplete() {
      // Check that we got results
      if (imageSearch.results && imageSearch.results.length > 0) {
        // Grab our content div, clear it.
        var contentDiv = document.getElementById('content');
        contentDiv.innerHTML = '';

        // Loop through our results, printing them to the page.
        var results = imageSearch.results;
        for (var i = 0; i < results.length; i++) {
          // For each result write it's title and image to the screen
          var result = results[i];
          var imgContainer = document.createElement('div');

          var title = document.createElement('div');
          // We use titleNoFormatting so that no HTML tags are left in the 
title
          title.innerHTML = result.titleNoFormatting;

          var newImg = document.createElement('img');
          // There is also a result.url property which has the escaped 
version
          newImg.src = result.tbUrl;

          imgContainer.appendChild(title);
          imgContainer.appendChild(newImg);

          // Put our title + image in the content
          contentDiv.appendChild(imgContainer);
        }

        // Now add the paging links so the user can see more results.
        addPaginationLinks(imageSearch);
      }
    }

    function OnLoad() {
      // Our ImageSearch instance.
      imageSearch = new google.search.ImageSearch();

      // Restrict to extra large images only
      imageSearch.setRestriction
(google.search.ImageSearch.RESTRICT_IMAGESIZE,

google.search.ImageSearch.IMAGESIZE_MEDIUM);

      // Here we set a callback so that anytime a search is executed, it 
will call
      // the searchComplete function and pass it our ImageSearch searcher.
      // When a search completes, our ImageSearch object is automatically
      // populated with the results.
      imageSearch.setSearchCompleteCallback(this, searchComplete, null);

      // Find me a beautiful car.
      imageSearch.execute("Subaru STI");
    }
    google.setOnLoadCallback(OnLoad, true);
    </script>
  </head>
  <body style="font-family: Arial;border: 0 none;">
    <div id="content">Loading...</div>
  </body>
</html>

1. Used the same code got the error saying google object is not defined 
script error and there was no display for the same.
2.
3.

What is the expected output? What do you see instead?
The expected output should be the image which should be listed in the page.


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 25 Jan 2009 at 8:35

Code Playground - Slideshow Of Photofeed - Typo

What steps will reproduce the problem?

1. Go to "Code Playground \ Slideshow Of Photofeed"
2. Search for "transistionTime"
3. Note, that correct name for this option is "transitionTime"

Right now changing "transistionTime" value will not change the actual
transition time between slides, unless you change property name to
"transitionTime"


Original issue reported on code.google.com by [email protected] on 12 Sep 2009 at 6:58

Bug IE Google map #xmlhttprequest

Bug on IE for Google map example #xmlhttprequest

Link : http://code.google.com/apis/ajax/playground/?exp=maps#xmlhttprequest

Replace

"for (var i in markers) {"

by

"for (var i = 0; i < markers.length; i++) {"

:)

Original issue reported on code.google.com by [email protected] on 23 Jan 2009 at 3:14

The pop-up that asks to save code is under the annotated timeline.

What steps will reproduce the problem?
1. Log in.
2. Click on the Annotated Time Line
3. Edit the spreadsheet url in the example
4. Use the menu to save the change.
5. Observe the pop-up is not the topmost item on the screen.
(Do this all with firefox 3 on Linux.)

What is the expected output? What do you see instead?
The save dialog box should be above other windows on the screen.  The
annotated timeline is actually the topmost window obscuring parts of the
dialog box.

What version of the product are you using? On what operating system?

I dunno what version of the product I'm using.  I logged in just now: 12
feb 2009, 2:50pm.  What version were you serving at that time?   I'm on
linux using firefox 3. Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.04 (hardy) Firefox/3.0.5 GTB5


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 Feb 2009 at 10:53

wrong button text in table_paging sample

What steps will reproduce the problem?
1. run http://code.google.com/apis/ajax/playground/#table_paging 
2. see wrong text
3.

What is the expected output? What do you see instead?

there should be 2 paging buttons [prev][next]
there are buttons [prev][prev]

What version of the product are you using? On what operating system?
firefox 3.5 on windows xp sp2

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 9 Oct 2009 at 4:19

error in integration between google maps and earth when the roads and bounaries layers are displayed

Hello sir,

there is a problem in integration of Google Maps and Google Earth when 
both the LAYER_BORDERS and LAYER_ROADS are displayed.

In the attached file, do the following steps after the map is loaded to 
reproduce the problem:
1. click the earth map type button, boundaries and roads will be displayed.
2. click the map map type.
3. then, click the earth map type button again, u will not see both 
boundaries and roads. 

plz fix that and send to me when it is ok.

regards,
ashraf


Original issue reported on code.google.com by [email protected] on 28 Feb 2010 at 12:02

Attachments:

Document the extended args (RESTRICT_EXTENDED_ARGS)

Complete documentation of the extended arguments (RESTRICT_EXTENDED_ARGS)
that can be used with setRestriction
(http://groups.google.com/group/Google-AJAX-Search-API/browse_thread/thread/26df
b902764132d4#).

Original issue reported on code.google.com by [email protected] on 1 May 2008 at 5:12

Add functionality for parent/child samples

Should be able to have samples that are iterative.  E.g. Have a parent sample 
that can be run, but 
child samples that are run on top of the parent sample's code.  In the UI, you 
would see a clickable 
demo with a + expander next to it.  After running the demo, it will pop open 
the expander for you 
to click the child sample that expands on that demo.  Alternatively, you could 
click the + and click 
one of the child samples first.

Original issue reported on code.google.com by [email protected] on 17 Dec 2008 at 6:57

Add sample code for Virtual Keyboard

Purpose of code changes on this branch:
Add sample code for Virtual Keyboard

When reviewing my code changes, please focus on:


After the review, I'll merge this branch into:
/trunk


Original issue reported on code.google.com by [email protected] on 18 Jun 2009 at 10:45

Map XHR Requests example shows no markers

http://code.google.com/apis/ajax/playground/?exp=maps#map_xhr_requests

Should show four markers:
<markers>
<marker lat="37.427770" lng="-122.144841"/>
<marker lat="37.413320" lng="-122.125604"/>
<marker lat="37.433480" lng="-122.139062"/>
<marker lat="37.445427" lng="-122.162307"/>
</markers>

They are not displaying for me.

Product version:
http://maps.google.com/maps?file=api&v=2

Linux 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009 i686
GNU/Linux running Firefox/3.0.17

"uncaught exception: [Exception... "Access to restricted URI denied"  code:
"1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location:
"http://maps.gstatic.com/intl/en_us/mapfiles/193c/maps2.api/main.js Line:
504"] (,0)"

Error: xml is not defined (ReferenceError, firebug.js, 55)

http://code.google.com/apis/maps/documentation/examples/include/data.xml
loads just fine, so that is not the cause of the uncaught exception.

Original issue reported on code.google.com by [email protected] on 20 Jan 2010 at 2:22

Does not go back from Map removal event page !

What steps will reproduce the problem?
1.In the code play ground, go to Translate API, then select Translation, 
Run it. 
2.Then go to JavaScript API and select define objects,create prototypes. 
Select object literals, Run it.
3.Then go to Maps API, select event examples. Then go to map removal event, 
Run it and click on the output map.
4.Now try clicking the browser (chrome) back button to see that it does not 
take you back to google code home page.

What is the expected output? What do you see instead?
Browser is supposed to take me back to code.google.com home page. But it 
does not. And i does not move aways from code examples. Except if i change 
the address in the address bar.

What version of the product are you using? On what operating system?
My Chrome is up to date. And i am using brand new Windows 7 Ultimate !

Please provide any additional information below.
I would like to see when you fix it ! :)

Original issue reported on code.google.com by [email protected] on 5 Nov 2009 at 5:12

Bug en Google API: Intensity Map or Geo Map

What steps will reproduce the problem?
1.
http://chart.apis.google.com/chart?
cht=t&chs=440x220&chtm=europe&chd=s:AAA&chf=bg,s,CCFFFF&chco=FFFFFF,FF0000,
FFFF99&chld= DERSME
2.
http://code.google.com/intl/es/apis/visualization/documentation/examples.ht
ml#intensity_map_example
If change example RU for RS or Me no draw map Serbia or Montenegro.
3.

What is the expected output? What do you see instead?
Do not draw nor Serbia nor Montenegro in Map.

refence iso codes 
http://code.google.com/intl/es/apis/chart/#iso_codes


What version of the product are you using? On what operating system?
Google Api.


Tanks

Original issue reported on code.google.com by [email protected] on 7 Oct 2009 at 4:19

The number of items in cursor.pages[] is sometimes incorrect.

The number of items in cursor.pages[] is sometimes incorrect.

    * This appears to happen when Google omits similar entries for a query
(i.e. there are more search results, but Google only shows the most
relevant ones). It can be recreated by going to the Raw Searchers Demo at
www.google.com/uds/samples/apidocs/raw-searchers.html and entering
something like: "site:tropicana.com peach". It comes up with 4 page links
at the bottom, even though there are only 2. When you click on any of the
page links other than 1, links number 3 and 4 disappear. If you go to the
first page of results, they reappear.
    * This is platform and browser independent. 

Original issue reported on code.google.com by [email protected] on 1 May 2008 at 5:16

missing zip code on GlocalResult

GlocalResult does not have a zip code attribute. We ended up using a
inefficient workaround to get the zip code. Is it possible to add zip code
to GlocalResult?


Please refer to this thread for the work around:

http://groups.google.com/group/Google-AJAX-Search-API/browse_thread/thread/7b033
0ee3bf945ff/f722052a59f169a2?hl=en#f722052a59f169a2

Thanks!

-issa

Original issue reported on code.google.com by [email protected] on 6 Nov 2008 at 5:36

IE 8 is not importing the javascript from the google site

What steps will reproduce the problem?
1. go to http//builditontheweb.com/lppsindex.html using IE 8
2.
3.

What is the expected output? What do you see instead?
What I get is a message asking me if i want to debug the code. A window 
opens showing the javascript code and saying that an object is expected in 
the "If (GBrowserIsCompatible()) " statement. It will not run the code.

What version of the product are you using? On what operating system?
I get this only using IE8--earlier IE runs the code. Firefox runs the code.

Please provide any additional information below.
I notice that someone was having trouble in the playground with IE8, but 
IE8 is running the playground code with no problem on my machine.

Original issue reported on code.google.com by [email protected] on 1 Sep 2009 at 8:40

The feed slideshow isn't working in IE when I try to set style="display: none" . In FF works nice.

What steps will reproduce the problem?
1. Launch the code in IE.  
2. The slideshow  should be visible , but we have errors.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.
<!--
  Copyright (c) 2008 Google Inc.

  You are free to copy and use this sample.
  License can be found here:
http://code.google.com/apis/ajaxsearch/faq/#license
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Slideshow</title>
    <!-- Scripts for the slideshow -->
    <script src="http://www.google.com/jsapi" type="text/javascript"></script>
    <script src="http://www.google.com/uds/solutions/slideshow/gfslideshow.js"
            type="text/javascript"></script>
    <style type="text/css">
      #picasaSlideshow {
        width:  250px;
        height: 200px;
        margin-bottom: 40px;
        padding: 5px;
      }
    </style>
    <script type="text/javascript">
    /*
    *  How to make a slideshow with a photo feed using our custom control.
    *  To see the options, go here or click the docs link in the titlebar:
    *  http://www.google.com/uds/solutions/slideshow/index.html
    */

    google.load("feeds", "1");

    function OnLoad() {
      var feed  = "http://dlc0421.googlepages.com/gfss.rss";
      var options = {
        displayTime:2000,
        transistionTime:600,
        scaleImages:true,
        fullControlPanel : true
      };
      var ss = new GFslideShow(feed, "picasaSlideshow", options);
    }

    google.setOnLoadCallback(OnLoad);
    </script>
  </head>
  <body style="font-family: Arial, sans-serif;border: 0 none;">
  <div id="picasaSlideshow" class="gslideshow" style="display: none;"><div
class="feed-loading">Loading...</div></div>
  <div
onclick="document.getElementById('picasaSlideshow').style.display='inline'">BUTT
ON_CLICK_HERE_TO_SHOW</div>
  </body>
</html>

Original issue reported on code.google.com by [email protected] on 6 Feb 2009 at 12:36

Editable Spreadsheet

What steps will reproduce the problem?
1. Go to: http://spreadsheets.google.com/ccc?key=pCQbetd-CptFdCK8zLLPaFw
2. Delete / Add Values. Save spreadsheet
3. Refresh Ajax Geo Map Example

What is the expected output? What do you see instead?
The spreadsheet should be read only. Instead I can edit the spreadsheet, 
putting in invalid values and breaking the example.

What version of the product are you using? On what operating system?
Vista, IE7

Please provide any additional information below.
Have not checked the other examples, but the other spreadsheets may be 
editable as well

Original issue reported on code.google.com by david%[email protected] on 3 Mar 2009 at 6:25

Deleting saved code results in 404

What steps will reproduce the problem?
1.  Save code snippet
2.  Expand "Saved Code" section in tree on left
3.   Click on trash can icon.  

Goes to http://code.google.com/delete?id=...

which results in a 404.

What is the expected output? What do you see instead?
Delete confirmation


Original issue reported on code.google.com by [email protected] on 22 Jan 2009 at 7:05

No Documentation for Sparklines

What steps will reproduce the problem?
1. Go to Visualizations > Sparklines
2. Click View Docs
3.

What is the expected output? What do you see instead?
Finding API documentation. 404

What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 1 Jul 2009 at 3:58

google.loader.ClientLocation IP Error

What steps will reproduce the problem?
1. Copy and paste this code;
if (google.loader.ClientLocation) {
  visitor_city = google.loader.ClientLocation.address.city;
  visitor_region = google.loader.ClientLocation.address.region;
  visitor_country = google.loader.ClientLocation.address.country;
  visitor_countrycode = google.loader.ClientLocation.address.country_code;
alert(visitor_country);
}
2. Run Code

What is the expected output? What do you see instead?
The expected location alert should be United Kingdom, England or Great
Britain. I receive Switzerland!

What version of the product are you using? On what operating system?
I am using Vista Home Premium

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 22 Mar 2010 at 1:18

code playgorund not Working with CHROME!!!

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by contact%[email protected] on 5 Feb 2009 at 7:56

search results not ordered

What is the expected output? What do you see instead?

Expected output must be search results rankwise i.e. when searched in
browser the order of results is not same as order of results through this
api. eg. Fourth URL(search result) in browser is not same as fourth URL in
output of this api(when doing 'web search').  

What version of the product are you using? On what operating system?

I am using php in windows xp.



Original issue reported on code.google.com by [email protected] on 20 May 2009 at 11:10

IntensityMap's width and height option don't work

What steps will reproduce the problem?
1. In IntensityMap's sample 
2. set width and height option when drawing ( imap.draw(data, 
{width:880, height:440}); )
3. option is not applied

What is the expected output? What do you see instead?
scaled intensity map is expected, but i can see same size map only 

What version of the product are you using? On what operating system?
windows 7 + chrome browser

Please provide any additional information below.
code

<!--
  copyright (c) 2009 Google inc.

  You are free to copy and use this sample.
  License can be found here: 
http://code.google.com/apis/ajaxsearch/faq/#license
--> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
  <head> 
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/> 
    <title> 
      Google Visualization API Sample
    </title> 
    <script type="text/javascript" 
src="http://www.google.com/jsapi"></script> 
    <script type="text/javascript"> 
      google.load('visualization', '1', {packages: ['intensitymap']});
    </script> 
    <script type="text/javascript"> 
      function drawVisualization() {
        // Create and populate the data table.
        var data = new google.visualization.DataTable();
        data.addColumn('string', '', 'Country');
        data.addColumn('number', 'Population (mil)', 'a');
        data.addColumn('number', 'Area (km2)', 'b');
        data.addRows(5);
        data.setValue(0, 0, 'CN');
        data.setValue(0, 1, 1324);
        data.setValue(0, 2, 9640821);
        data.setValue(1, 0, 'IN');
        data.setValue(1, 1, 1133);
        data.setValue(1, 2, 3287263);
        data.setValue(2, 0, 'US');
        data.setValue(2, 1, 304);
        data.setValue(2, 2, 9629091);
        data.setValue(3, 0, 'ID');
        data.setValue(3, 1, 232);
        data.setValue(3, 2, 1904569);
        data.setValue(4, 0, 'BR');
        data.setValue(4, 1, 187);
        data.setValue(4, 2, 8514877);

        // Create and draw the visualization.
        new 
google.visualization.IntensityMap(document.getElementById('visualization')).
            draw(data, {width:880, height:440});
      }


      google.setOnLoadCallback(drawVisualization);
    </script> 
  </head> 
  <body style="font-family: Arial;border: 0 none;"> 
    <div id="visualization"></div> 
  </body> 
</html> 


Original issue reported on code.google.com by [email protected] on 12 Jan 2010 at 5:15

Google earth GeoCoding not working

What steps will reproduce the problem?
1. http://code.google.com/apis/ajax/playground/?
exp=earth#geocoding_via_the_maps_api
2. The geocoding service seems to be down from today morning. I tried... 
Fly to the address. It does not work
3.

What is the expected output? What do you see instead?
I see nothing. The geocoding does not happen

What version of the product are you using? On what operating system?
I am using the latest Google Earth Plugin

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 31 Oct 2009 at 1:25

In two keyboards Hindi is not showing

What steps will reproduce the problem?
1. in two keyboards option hindi words are not showing correctly;
2.
3.

What is the expected output? What do you see instead?
some sign;; but m sure not hindi words

What version of the product are you using? On what operating system?
xp with ie7

Please provide any additional information below.

Original issue reported on code.google.com by sudhakar.pandey on 17 Nov 2009 at 6:58

Conversion from english to tamil fails

What steps will reproduce the problem?
1. give text in english and click on runcode
2. eg: good, test,
3.

What is the expected output? What do you see instead?
conversion to tamil

What version of the product are you using? On what operating system?
running the demo googleajax examples.
Os:windows
browser: firefox,IE8

Please provide any additional information below.
While i tried to convert english to hindi and other it converts.when i
convert english to tamil no output

Original issue reported on code.google.com by [email protected] on 7 Sep 2009 at 2:36

Mapping from "webapp.WSGIApplication(" is missing

Line 239 of movietool.py r183 says:

application = webapp.WSGIApplication(

However, the mapping is not there, i.e. the paren is never closed and no
mappings are added.

Original issue reported on code.google.com by pwolpe on 22 Aug 2008 at 6:09

Russian geocodes (ISO 3166-2:RU) do not work at Geo Map

What steps will reproduce the problem?
1. Go to the Code Playgrond, Geo Map
2. Change region to 'US', change datasets to US-TX, US-NY - it work!
3. Change region to 'RU', change datasets to RU-ARK, RU-MOW, RU-BEL (ISO 
3166-2:RU) - it do NOT work!

US work, Russia do not work :-(
Why?!

I expecte to view russian regions, but only see Russia country

I use Google Chrome, Windows Vista

Thank you so match!

Original issue reported on code.google.com by [email protected] on 27 Jun 2009 at 7:33

the cursor from blogsearch is not working

What steps will reproduce the problem?
1. go to ajax playground
2. do the search samples(search api -> general -> search result placement
is one example)
3. push on the cursor below the blogs

What is the expected output? What do you see instead?
to see the next blogs, but click event is not working

What version of the product are you using? On what operating system?
latest version, i am using xp, and working with firefox(i just checked in
chrome and also not working)

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 16 Apr 2009 at 5:21

Wrong translation which corrects itself when extra word is added to input sentence

What steps will reproduce the problem?
1. Change div id=text to "σελίδες από Ελλάδα"
2. Change mapping "google.language.translate(text, 'el', 'en',...."
3. Run Code
4. Output is "pages from Canada"
5. Change div id=text to "σελίδες από Ελλάδα foo"
6. Run Code
7. Output is "pages from Greece foo"

What is the expected output? What do you see instead?
From googles greek home page "σελίδες από Ελλάδα" should 
translate to
"pages from Greece" NOT "pages from Canada". Adding a bogus word to input
shows correct translation.

What version of the product are you using? On what operating system?
"Code Playground" Language API -> Translate
Firefox 3.0.10 on Vista Basic

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 10 Jun 2009 at 9:57

Geo Map does not work!

What steps will reproduce the problem?
1. Just go to the AJAX API Playground page and look at the "Geo Map"
visualization - it doesn't display
2.
3.

What is the expected output? What do you see instead?
You should see a map.  Instead you see an error saying the data doesn't match

What version of the product are you using? On what operating system?
XP, Firefox 3

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Feb 2009 at 10:09

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.