Nov 14 2008

Playing with Google maps API – Part one

Category: javascriptDavide Zanotti @ 12:00 pm

Ok, as announced in the previous post, let’s start to analyze how to work with Google maps (Javascript) API.
Preface: while I was writing I have been a little too verbose, so I won’t respect the previously declared steps, but I will add/modify them while posting.

Continue reading “Playing with Google maps API – Part one”

Tags: , , , , , , ,


Nov 13 2008

Playing with Google maps API

Category: javascriptDavide Zanotti @ 9:38 pm

worldIn my spare time, these days I’m looking at Google maps (Javascript) API, because relatively soon, I will have to realize a web site in which include a custom and interactive map.
In detail the site will be the official web page of an Italian bikers group, which will attempt to enter in the World Records Guinness as the largest bike aggregation of the same model (and I’ll be one of those crazy men! :-)))
The user will be able to subscribe to the event indicating his city and some other details.
And is here that the interactive map comes into play! It will shows the Italian map sprinkled by colored labels anchored to the main cities and indicating the total of subscribers in that city.
The label’s color will vary due to that number (green = few bikers, yellow = so so, red = many bikers).

Continue reading “Playing with Google maps API”

Tags: , , , , ,


Nov 11 2008

Timer.js: a Javascript class similar to the Actionscript 3 one

Category: javascriptDavide Zanotti @ 1:49 pm

As I said in my first post, I’m studying Actionscript 3 (from the scratch… I never used it before). One thing that I discovered is that since as3, has been introduced the Timer class, which purpose is to replace the setInterval() function (still available, but to be considered deprecated due to its limits) and provide a more flexible, elegant and OOP way to handle recursive actions (ie: calling N times the same method(s) at a given interval, generally to produce an animation).  Like Actionscript, Javascript offers the setInterval() function, but it lacks a cool class like Timer, so just for fun (but maybe in the future i can use it in production) I’ve realized a similar js class that offers more or less the same functionalities.

Continue reading “Timer.js: a Javascript class similar to the Actionscript 3 one”

Tags: , ,


« Previous Page