Category Archives: php

Google Maps Redux

Welp, google has relased their Google Maps API. It’s VERY nice. The code to draw my runs has gone from about 230 lines, down to about 100. But logically, it’s MUCH better.

the only problem I’m hitting is this – before I was generating the polyline myself, so google just had to draw it. Now, however, there is a GPolyline object that draws lines for you – much easier to code for, MUCH slower.

I’m sure this is a solution, and I’ll post it here when I find it.

Source:

http://metaatem.net/my_runs.phps

Data:

http://metaatem.net/data_run.xml

–UPDATE–

Turns out I was mostly being dumb. If I had red the example source more closely, I would have seen you can put the points in an array and throw that to GPolyline… duh!
Cleaner, and faster, what more can you ask for?

Javascript test

Refresh for new letters:


BIG problems.

I got an email from Stewart this morning (he wrote it last night while I slept). Saying that my api key was disabled – and lo – it was!
Turns out, something got b0rked or pw3nd or any other code you’d like to call it, and I was hitting flickr‘s servers about 50x/second – NOT GOOD.

I’m still looking into the problem. Hopefully it will be resolved soon.