Java中的道路地图 [英] Road Maps in Java

查看:87
本文介绍了Java中的道路地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Java创建了一个简单的应用程序,我希望能够在地图上显示一些点和路径(路线图,而不是卫星图)。我一直在寻找一些能够让我这样做的API,但Google Maps API不适用于Java,并且只能用于Web应用程序,WorldWind似乎没有提供路线图,API的大小也是比我想象的要大一些。



你知道任何满足我需求的API吗?
在此先感谢。

解决方案

它是一个Web应用程序吗?一个Eclipse的?一个摇摆?这些细节可以很好的说明你在寻找API建议。

$ b

对于渲染,您可能需要:


  • 基于Eclipse的应用程序的GEF;
  • 用于Swing的Graphics2D;

  • HTML5用于Web或服务器端的静态图像生成器;


要进行地理编码,请查看 GeoTools



Might不像你想象的那么简单。


I'm creating a simple application in Java and I would like to be able to show some points and paths on a map (a road map, not a satellite one). I have been looking for some API that would let me do this, but Google Maps API isn't available for Java and can be only used for web applications, and WorldWind didn't seem to offer road maps and the size of the API was a bit bigger than I would fancy.

Do you know of any API that would meet my needs? Thanks in advance.

解决方案

Is it a web application? An Eclipse one? A Swing one? These details are good to tell when you're looking for suggestions of an API.

Just a few ideas then...

For rendering you'll probably need:

  • GEF for Eclipse-based apps;
  • Graphics2D for Swing;
  • HTML5 for web or static image generator on the server side;

For geocoding look at GeoTools.

Might be not as simple as you imagine in the end.

这篇关于Java中的道路地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆