Archive for the 'Fixes' Category
to_json and Rails 2
13 Comments Published by Andre February 13th, 2008 in Fixes, JavaScript, Ruby on Rails, The BookRails 2 changed the way to_json works on ActiveRecord objects. Prior to Rails 2, to_json returned a hash of hashes — the first level hash had the key ‘attributes’, which in turn had another hash with your field name/values.
With Rails 2, calling to_json on an AR object just gives you a hash of field name/values. […]
PHP and asinh() on Windows
2 Comments Published by Cam November 15th, 2007 in Fixes, Geometry, Overlays, PHP, ProjectionsIn the last few weeks we’ve seen an explosion of people complaining about the lack of asinh() on the Windows version of PHP. We use the asinh() function extensively in Chapter 7 for the custom tile overlays. Admittedly, we didn’t test any of the code against windows versions of PHP (we’re LAMP folks), so until […]
Chapter 3 Map Click Code Tweak
2 Comments Published by Jeffrey November 27th, 2006 in Fixes, JavaScript, The BookUPDATE: A savvy reader Carl Olsen pointed out that it wasn’t actually necessary to check for the infoWindow state and the problem could simply be fixed by a check for an overlay. The post has been updated accordingly. Thanks Carl.
It seems that somewhere along the line something changed with the event handling and the Chapter […]
About
You are currently browsing the Beginning Google Maps Applications weblog archives for the 'Fixes' category.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Latest
Archives
Categories
- Ajax (1)
- Cartography (1)
- Code (1)
- Data (2)
- Fixes (3)
- Geocoding (5)
- Geometry (2)
- JavaScript (7)
- KML (3)
- Overlays (6)
- PHP (6)
- Projections (1)
- Regex (1)
- Ruby on Rails (4)
- SQL (2)
- The Book (31)
- Uncategorized (1)
- Usability (1)
- User Experience (2)
- XML (2)



