Cloudmade地图如何显示固定边框?
我需要在 Cloudmade 地图中显示某些区域。目前我正在获取地图,并且可以通过拖动地图来查看世界上所有的地方。我想以固定缩放显示某个位置(框架),以便仅显示地图的该部分,类似于大滚动视图中的图像。另外我需要放置图钉,所以我不能使用 Cloudmade 或 google 提供的静态图像http://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap&markers=color:蓝色%7Clab el:S%7C40.702147,-74.015794&标记=颜色:绿色%7Clabel:G%7C40.711614,-74.012318&a mp;标记=颜色:红色%7C颜色:红色%7C标签:C%7C40.718217,-73.998284&传感器=假。
怎么办呢?
I need to display certain regeon in Cloudmade map. Currently I am getting the map and can view all the places of world by dragging the map. I want to display a certain place(frame) with fixed zoom so that only that part of map is displayed, something like a image in large scrollview. Also I need to place pins, so I cant use static images provided by Cloudmade or google http://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap&markers=color:blue%7Clabel:S%7C40.702147,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318&markers=color:red%7Ccolor:red%7Clabel:C%7C40.718217,-73.998284&sensor=false.
How to do so?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论