开发者

OpenLayers + Google maps in Flex, is it possible?

开发者 https://www.devze.com 2023-03-08 01:15 出处:网络
Recently i really was amazed by openstreet maps, and it\'s very possibilities to manipulate data, aswell the free of charge about many prescious things - like geocoding and the maps its开发者_运维知识

Recently i really was amazed by openstreet maps, and it's very possibilities to manipulate data, aswell the free of charge about many prescious things - like geocoding and the maps its开发者_运维知识库elf.

But i wish to still having a backup behind with google maps.

Is it possible to having both of them in Flex, and how ? ( or at least where i can look for similar project of "unification" )


It appears that OpenStreet Maps has a REST API. You can access that API in a Flex application using the HTTPService; assuming a proper crossdomain.xml file is in place.

If not; you'll have to use a proxy between your Flex app and the REST API.


MapQuest has an Open Flash API that uses OpenStreetMap data. They also offer an Open Flash Mobile API that can be used with Flash Builder to build apps for the iPhone, Android, and BlackBerry tablet with the new tools in Flex 4.5+. Feel free to check out the documentation on the MapQuest Developer Network!

0

精彩评论

暂无评论...
验证码 换一张
取 消