离线映射API [英] Offline Mapping API

查看:256
本文介绍了离线映射API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何可用的服务,让我在脱机设置操作地图?我的工作要求我带一张地图和基于功能在地图上,生成一个游戏世界的一个项目。我已经看过一些的API的不同的供应商:谷歌,MS,等API的我看着似乎是严格显示用户的地图。我在寻找的东西,让我来创建地图(在游戏世界),将永远不会被公众看到的衍生物,并且只能由游戏引擎。不过有一点需要注意的是,我希望能够链接供游戏引擎的使用产生的衍生物的东西我可以显示用户。

Are there any services available that allow me to manipulate maps in an offline setting? I am working on a project that requires me to take a map and based on features on the map, generate a game world. I have looked at a few of the API's for different providers: Google, ms, etc. The API's I looked seem to be strictly showing a user a map. I am looking for something that allows me to create a derivative of a map (the Gameworld), that will never be seen by the public, and is only used by the game engine. However one caveat is that I would like to be able to link the derivative created for use by the game engine, with something I can show the user.

作为一个例子。想想一个越野赛车SIM卡。用户无法在这场比赛中直接控制车辆,他们只能控制汽车的设置,驱动器等我创建了一个游戏世界的地图。在游戏世界的数据(驾驶员位置等)被覆盖在一个真正的地图。种族可能会持续数天。唯一的交互用户与真正的地图在地图上查看自己的位置,并在他们相对于其他人。

As an example. Think of a cross country racing sim. Users cannot control the vehicles directly in this game, they can only control the cars setup, driver, etc. I create a gameworld from a map. The gameworld data (driver position, etc) is overlayed onto a real map. A race might last several days. The only interaction users have with the real map is viewing their position on the map, and where they are in relation to the others.

我不想在这里侵犯API的条款。我读了Google的API服务条款,并在我看来,创造的游戏世界将violdate他们的服务条款。

I don't want to violate the terms of the API here. I read Googles API TOS, and it seems to me that creating the gameworld would violdate their TOS.

我真正需要的功能如下

  • 要找到特定的能力 在地图上放置由拉/长
  • 的能力/权利抢到这些地图 并将其保存为图像文件 暂时处理
  • 的能力/权利存储 游戏世界是基于实 图
  • ,以显示用户与地图的能力 覆盖(这是可选的。我可以使用Google的API,或任何其他一种支持纬度/经度)。
  • The ability to locate a specific place on the map by lat/long
  • The ability/rights to grab those maps and save them as an image file temporarily for processing
  • The ability/rights to store a gameworld that is based on the real map
  • The ability to show a user a map with an overlay (this is optional. I can use googles API, or any other one that supports lat/long.)

编辑: 在游戏世界创建只会发生一次intially,投资者可能会很少发生部分更新。我将只需要生成世界中的开始。 这也是一款免费游戏,所以我寻找的东西开源

The gameworld creation will only happen once intially, and partial updates may occur very infrequently. I will only need to generate the world in the beginning. This is also for a free game, so I am looking for something opensource

编辑: 我只需要美国的地图。我需要包含河流和湖泊地图。

I only need maps of the US. I need maps that contain rivers and lakes.

推荐答案

我找到了我一直在寻找的,其实我发现了一些应该工作。 的ITs GMap.net程序用C#编写。离线的东西它是完美的,它甚至可以让你连接到服务器映射比谷歌等。

I found what I was looking for, actually I found something that should work. ITs GMap.net a program written in C#. The offline stuff it does is perfect, and it even allows you to connect to map servers other than google.

HTTP://greatmaps.$c$cplex.com/releases/view/ 20235

这篇关于离线映射API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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