dira ⋅ geek ⋅ girl

GMaps stub released

dira

As the load time for a Google Map (less than 2 seconds :)) was hurting me, I retaliated by stubbing it.. The stub defines the same classes and functions as the GMaps JS API (not all of them :)),  returns some fake data when needed and plays dumb for the rest.

This is enough for the rest of the Javascript to work and saves a couple of seconds on every page while developing or working on the UI.

The code is available at http://github.com/dira/gmaps-stub.