Synchronization between objects in JavaScript

I’m working on some Google Maps mashup and I’ve ran on weired problem. I want to display map, then let user do search for some place, redraw map, and with AJAX call check if on freshly redraw map is something to mark. Of course I need to pass bounds (map.getBounds()) to this call. So I …

Google Maps scale – cheat sheet

In my efforts to learn JavaScript I ran on issue of scale Google Maps. Task is: choose right zoom level to put two known points on map. Right zoom – most close, which covers both points. So I’ve wrote simple script which calculates how many lat/lng degrees are for 100 pixels of map. Following table …

Update to JOE’s syntax file for RHTML

I’ve updated this file – I did not know that ruby code in result was processed as normal text. It become visible when I used some more complicated (in terms of ruby code) template. I know more now about writing syntax files for JOE and maybe I try to make it even more useful. URL …