We help IT Professionals succeed at work.
Get Started

How to combine java code and google maps

JorgenAx
JorgenAx asked
on
1,001 Views
Last Modified: 2012-09-19
Dear Experts
A couple of months ago I asked the following question:

"I have to develop a program that can display the sites on a map where certain plants have been found.  How do I start doing this in Java. It has to fit into a Java Swing application.
The data will come from a Access Database and I know how to make contact to Access.
Looking forward to your answer"

and I got the answer from Doug:

"I would suggest using Google maps to display the location of the plants (http://today.java.net/pub/a/today/2006/10/25/integrating-google-maps-into-web-application.html)
coupled with a component for showing HTML within the Swing app:
http://docs.oracle.com/javase/tutorial/uiswing/components/text.html
http://docs.oracle.com/javase/tutorial/uiswing/components/html.html"

This answer looked promising, but I don't understand how to utilize the HTML/Java Script within the java code, for instance to open the Google Map in a JPanel and add some markers on the map. Can you give me a little more assistance on this, please
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE