Note: This post is about an old release. The current version of the KosherJava Zmanim API is available on GitHub and from the Zmanim Download page.
The first phase of the changes to allow easier porting to other languages took place with the change in the API from using inheritance of the Java Calendar classes to one that uses composition. Included in the update are a number of new zmanim, mostly new calculations for plag hamincha that are useful when trying to avoid a tartai desasri with early erev Shabbos minyanim.
The Zmanim Calendar Generator now has a simple way to look up longitude and latitude information using the Google MapsAPI. To use this feature, click on the Google Maps icon to display the map (location centered on Bais Medrash Gevoha in Lakewood), find the location that you want to generate zmanim for, and click that point on the map. This will update the longitude and latitude fields in the form. The Google API was pretty straightforward and simple. At the same time, I tried to integrate an elevation lookup. Google does not provide elevation information, but I attempted to look it up using a web service. This seemingly simple task was not very straightforward. The approach was to grab the XML response from the REST-style elevation web service made available by Jonathan Stott. My plan was to do this all via client-side XML parsing. The first issue encountered was browser security that does not allow cross-domain loading of XML documents (by the way, this was not using XMLHttpRequest, but the same security restrictions apply). This was solved by a simple PHP page that was just a proxy for the call. That done, I managed to get it to work in IE, but it crashed the browser every second call or so. The crashing was solved by adding a small delay. I never managed to get it working in Mozilla. I later tried to use the existing Google Maps API to load it, but never got it working. I commented out all elevation code and will get to that part at some future date. I also removed the non-decimal longitude and latitude option. I hope this will be useful.