Problem solve Get help with specific problems with your technologies, process and projects.

Incorporating Google Maps to the Java desktop

Rob Terpilowski discusses how he and his architect team brought Google Maps to the Java desktop in this video from JavaOne 2014.

JavaScript APIs are more popular than ever, especially now given the fact that so many organizations are now making their back-end services available through RESTful APIs that can be easily invoked by a Web browser. But what are organizations to do when they want to take a popular, Web-based API and integrate it into a more traditional Java desktop type of application?

This was the exact challenge that Software Architect Rob Terpilowski ran into when his employer, Lynden Inc., tasked him and his team with creating a software application that could track incoming and outgoing traffic. "We wanted a way to display graphically on a map where freight was going," said Terpilowski. "But we didn't want reinvent the wheel by creating our own mapping component."

The solution came in the form of what you might call a hybrid, desktop and Web-based application in which JavaFX was used to wrap around the various Google Maps JavaScript calls. The product of these efforts was subsequently embedded within the desktop application, and as a result, the desktop application was able to provide full Google Maps capabilities.

And what's more, the associated API that the team developed allowed other developers to enhance the maps, adding way points and pin drop functionality. In fact, the code provides so much functionality that it has been open sourced and has been garnering a great deal of attention and downloads from the GitHub site where it is hosted.

View and listen to the associated video to hear more about the challenges and tribulations Terpilowski and his team endured in their work to bring Google Maps to the Java desktop.

 

This was last published in October 2014

PRO+

Content

Find more PRO+ content and other member only offers, here.

Essential Guide

JavaOne 2014: Takeaways from Java's biggest conference

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

Interesting article. I can see other practical uses for this which may require me to look into this further.  Thanks for the info. 
Cancel

-ADS BY GOOGLE

SearchCloudApplications

SearchSoftwareQuality

SearchFinancialApplications

SearchSAP

SearchManufacturingERP

DevOpsAgenda

Close