如何在iPhone SDK中使用Openlayers [英] how can use openlayers in iphone sdk

查看:109
本文介绍了如何在iPhone SDK中使用Openlayers的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用openlayer创建一个自定义地图.但是我无法使用openlayer.我想创建地图而不在iPhone中使用Google Map,所以我想使用其他方式将自己的数据填充到Map中.我认为可以通过开放层实现,但是我不知道.所以请帮助我.

I want to create a customize map using by openlayer.But I am unable to use openlayer. I want to create map without using google map in iphone so I want to use other way in which I can fill own data in map. i think it possible by open layer , but how I dont know.So please help me.

推荐答案

OpenLayers是一个JavaScript库.作为基于客户端的地图查看实用程序,它允许显示从任何来源加载的地图图块,矢量数据和标记".它类似于传单.

OpenLayers is a javascript library. As a client-based map viewing utility it allows to "display map tiles, vector data and markers loaded from any source". It is similar to Leaflet.

这两个选项仅在您要在网络上进行渲染时才有用(在这种情况下,您需要从某处抓取地图图块或地图图像( OpenStreetMap ),或设置自己的地图服务器.

Both of them are only helpful if you want to render on the web (in which case you would need to grab map tiles or a map image from somewhere (OpenStreetMap for instance), or set up your own map server).

如果要在iOS上本地渲染地图,则可能需要一个工具包来获取和渲染地图图块或图像.这里有一些可能会有所帮助:

If what you want is to render a map natively on iOS, then you'll probably need a toolkit to fetch and render the map tiles or image. Here're a few that could be helpful:


  • WhirlyGlobe-Maply;
  • tangram-es;
  • GLMap;
  • Mapzen iOS SDK;
  • Nutiteq SDK;
  • Mapbox iOS SDK
  • QuartzMaps;

这篇关于如何在iPhone SDK中使用Openlayers的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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