Tagged: API Toggle Comment Threads | Keyboard Shortcuts

  • DerFichtl 11:29 am on April 30, 2012 Permalink
    Tags: API, geocoding, google maps,   

    Javascript MindFuck: Google Maps GeoCoder Callback with Parameters 

    If you have ever tried to geocode with google maps you have perhaps noticed that you can’t easy pass more data to the callback function. And geocoding on an array of addresses won’t work too, because you get always the result for the last entry of your array.

    More …

     
  • DerFichtl 1:14 pm on February 19, 2011 Permalink
    Tags: API, , , translate   

    Translate your Site with Google Translate and jQuery 

    With the new Google Translate API and the jQuery Plugin from Balazs Endresz you can add more language versions within seconds.

    More …

     
    • Gordon 2:12 pm on February 19, 2011 Permalink | Reply

      Wir müssen das HTML für die Sprach-Auswahl, und eine kurze Javascript … ;)

      • DerFichtl 11:03 pm on February 20, 2011 Permalink | Reply

        :) Tja, die automatischen Übersetzungen … aber immer noch besser als gar keine Übersetzung …

  • DerFichtl 8:52 am on September 24, 2010 Permalink
    Tags: API, , , , Shortcode, ,   

    WordPress Quicky: Use the [Shortcode] API 

    Another quicktipp for wordpress plugin developers. With the shortcode API you can easily provide additional commands for wordpress authors …

    More …

     
  • DerFichtl 7:00 am on February 4, 2009 Permalink
    Tags: API, , ip location, maps   

    Google AJAX Loader and ClientLocation via IP 

    The AJAX APIs from Google brings some cool new features for Javascript developers.

    With the AJAX Libraries API the “load”-method of the “google”-object can now load some common Javascript-frameworks which are hostet on Google-servers. For example jQuery or jQuery UI, Dojo, YUI or SWFObject. After including the main javascript file you can use the google object, when finished, a callback-function will be called.

    [sourcecode language="html"]

    [/sourcecode]

    There is also a new and very important property at the google.loader object, if “ClientLocation” is not null then Google have found the location of the current user by IP-address. ClientLocation have a latitude, longitude and address property. If you wanna see it in action look at the example on bohuco.net/code.

    [sourcecode language="javascript"]

    if (google.loader.ClientLocation) {

    // dynamic loading with callback
    google.load(“maps”, “2″, {“callback” : function(){
    var map = new google.maps.Map2(document.getElementById(“bhc-map”));
    map.setCenter(new google.maps.LatLng(google.loader.ClientLocation.latitude, google.loader.ClientLocation.longitude), 11);
    }});

    }

    [/sourcecode]

    As you can see above, really simple to create a map from the current position and now we can show the user some local news from news.google.com …

    [sourcecode language="javascript"]

    google.load(“search”, “1″, {“callback” : function(){

    // only code fragment … see example for full code
    var search = new google.search.NewsSearch();
    search.execute(google.loader.ClientLocation.address.city);

    }});

    [/sourcecode]

    Mashup example: Use ClientLocation with Map and Search API.

     
    • Mike 12:03 am on February 19, 2009 Permalink | Reply

      Any idea on how to add weather overlay to the map?

      Thanks!

    • hugo peterson 9:55 pm on January 16, 2011 Permalink | Reply

      google.loader.clientlocation.address is null or not an object Help me to solve this Error please, Thank You!!!

    • hugo peterson 9:58 pm on January 16, 2011 Permalink | Reply

      An error has occurred in the scrip on this page

  • DerFichtl 7:52 am on September 24, 2008 Permalink
    Tags: , API, , , ,   

    Google Developer Day 2008 München (Vormittag) 

    Gestern hat Google 550 Software-Entwickler ins Messezentrum München zum Google Developer Day 2008 eingeladen. Im allgemeinen geht’s darum neue Google-APIs kennenzulernen oder vorhandenes Wissen zu vertiefen.

    1. Session – State of AJAX
    Leider nicht viel Neues oder Spannendes … Großteils Infos über den aktuellen Stand und was dazu geführt hat. Für die Zukunft könnten threaded Javascript-Prozesse interessant werden und vermehrt auch Visualisierung via Javascript, also Canvas oder SVG. Canvas ist bereits nativ im Firefox und Safari verfügbar, im Internet Explorer nur per Plugin. In der ganzen Session gab’s natürlich viele Verweise auf GWT, Chrome und Gears.

    Eine nette Info am Rande war das Untersuchungen gezeigt haben das Benutzer nur Interfaces als optimal ansehen die immer innerhalb von 0.1s antworten. Antwortzeiten bis zu 1.0s werden gerade noch als funktional gesehen.

    Session Zwo – App Engine
    Bei App Engine wird es in Zunkunft auch kostenpflichtige Angebote geben, die Preismodelle sind ähnlich undurchsichtig wie bei Amazon, irgendwas per Prozessorzeit, Transfer, Speicherbedarf … aber der Mano Marks meinte falls man das Doppelte haben will was man kostenlos bekommt (das ist ziemlich viel) dann wird’s ca. 40$ im Monat kosten.

    Im folgenden wurde dann über den Datastore gesprochen … SELECT per key is schnell, COUNT is langsam (sehr langsam) und es gibt starke Einschränkungen beim SELECT. Und natürlich, was wird die nächste Sprache nach Python sein? Zitat: “Ich kann nur soviel sagen: Es wird wahrscheinlich nicht Cobol sein, oder Fortran … oder Algol” :)

    Chrome SitIn-Session
    Während des Mittagessens wurde eine improvisierte Question/Answer Session zu Google Chrome abgehalten. Eh immer die gleichen Fragen: Warum hat der Browser eine eindeutige ID, wann kommt die MAC/Linux-Version, warum wird Chrom im Userspace installiert, wirds einen Plugin-Meachnismus geben … alle Antworten auf diese Fragen sind schon x-mal im Internet beantwortet worden und können dort gelesen werden.

    Nur noch zwei Details zu Chrome die ich nicht wusste … unter Chromium wir der Browser als Open-Source veröffentlicht und zwar fast genau so wie er dann auch von Google verbreitet wird, bis auf den Update- und Feedbackmechanismus. UUUUnd … ich habs genau gesehen … in einer anderen Session hatte ein Google-Mensch im Dock ein Chrome-Icon … also die Mac-Version ist bereits lauffähig und kann nicht mehr sooo lang auf sich warten lassen. Die Mac/Linux-Versionen sind derzeit auch Prio1 weil sich das Chrome-Team nicht mehr jeden Freitag ansudern lassen will (keine Ahnung was bei denen am Freitag is).

     
  • DerFichtl 11:30 pm on January 10, 2008 Permalink
    Tags: API, Charts, , Web Service   

    Google Charts 

    Man traue keiner Statistik die man nicht selbst gefälscht hat.” …. und mit Google Charts geht’s schön einfach. Man kann natürlich auch reale Zahlen visualisieren lassen ;) .

    More …

     
  • DerFichtl 11:17 am on December 28, 2007 Permalink
    Tags: , API, Frame, sinnerschrader,   

    Relaunch oder Wie konnte das nur passieren? 

    sinnerschrader die “Vorzeigeagentur” aus Hamburg hat sich selbst gerelauncht. Soweit so gut, im agenturblog wird die Seite als “Klasse Idee” und “spannende Frage” gelobt.

    More …

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel