Posts Tagged ‘javascript’

Hierarchical Javascript Filenames

Sunday, December 27th, 2009

I’ve been using a lot of JQuery over the last few months and have to admit to being very impressed with the core library and the vast array of third party addons for it out there.

On thing I have noticed however, and this a personal fault, is that I seem to be ending up with some very large Javascript files: files which contain so much diverse functionality that were you coding in Java or PHP or (insert your flavour of the month language here) you would NEVER store in the same file. (more…)

Tags: ,
Posted in Development | No Comments »

Get latitude, longitude of location using google maps

Thursday, December 24th, 2009

1. Right click map and “center on location”.
2. Execute this JS in browser address bar:

javascript:void(prompt('',gApplication.getMap().getCenter()));

Tags: ,
Posted in quick tips | No Comments »