Friday, May 9, 2008

Moved!

We moved! My brother and i wanted more space and possibilities, and we needed some hosting, so please check out http://skypher.com!

All new blogs and publications will be posted there from now on.

Tuesday, April 8, 2008

Greasemonkey & Google

Recently I discovered greasemonkey throu the lifehacker website.
After it's possibilities sank in, I figured out one of my main frustrations: Google. in particular, it's language settings. Once you switch to Dutch, it's hard to switch back.
Greasemonkey offers the possibility to add custom JavaScript to any website.
So I wrote a small script to add small links to either Dutch or English results.

The current version can make links for x script languages. To change the languages please download the script from userscripts.org and alter the little array (code comment will guide you). Or install it directly if you think Dutch, English and French are sufficient.

Thursday, November 8, 2007

Speeding up Google Maps

Since I started working at Hoppinger, I've been involved in a couple of Google Maps problems.
One of the bigger problems is the speed of Google Maps when you have a vast amount of markers on the screen (say 2000). Well, in Internet Explorer that is.
One solution you can find online is clustering and I've worked out a way to speed up this process. (For dutch readers you can switch to dutch as I posted an article about clustering at the Hoppinger blog.)

A year ago I was working with Jelle Hempenius on the problems I mentioned above for the website Gîtes, but adding 2000 markers (the number of houses on the site) in IE was just not possible under 20 seconds. And trust me, we used a fast computer.
My recent work allowed me to put some more time into it and get more 'in depth' with Google Maps. Right now I'm down to about 2-3 seconds, when using clusters. THe cluster script is quite interesting, you can change the 'stickyness' so to say. So when zooming in you can change the maximum size of the clusters in langlat. When smaller, there will be more clusters, when bigger, it will give large clusters.

Yesterday I managed to add ~200 (custom) markers within a second (atleast that's what I've benched, it felt longer.) Problem now is the speed of IE when this many markers are present. Dragging the map is still very very slow. I'm still working on optimizing that, but at least I'm able to show dynamic clusters of 2000 markes with a variable 'stickyness'.