3

Is it possible to render google maps in swing or applet?

I know i can also use NASA World Wind but it seems to much overkill for a simple app.

3
  • Possible duplicate question: stackoverflow.com/questions/996954/… Commented Jul 2, 2009 at 6:01
  • The linked question was just after a static image in their app. Hamza were you after the panning and zooming stuff as well? Commented Jul 2, 2009 at 6:22
  • @Hamza, ok so the static map solution is not going to suit you. Not sure if you have any other options for a Java app. Commented Jul 3, 2009 at 9:28

2 Answers 2

3

There is JXMapViewer component in SwingX project. You can write new TileProviderInfo,TileFactory to pull images from Google maps but using JXMapViewer to pull maps from Google was illegal when I used it(2008). Google was usually changing Map URL format so your program can be broken unexpectedly if this is still illegal.

in My last project we have used JXMapViewer and Microsoft Visual Earth instead of Google maps.

Sign up to request clarification or add additional context in comments.

1 Comment

There is a layer in Worldwind to pull the ms visual earth images already.
1

You can use JxMaps to render Google Maps in your Swing application. It provides Java API that covers most of Google Maps JavaScript API functionality.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.