如何保存使用谷歌地图api绘图工具创建的折线 [英] how to Save polyline which are created using drawing tool of google map api

查看:190
本文介绍了如何保存使用谷歌地图api绘图工具创建的折线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用绘图工具创建了路线,现在我想保存我的地图。有哪些选项可以保存地图。

I have created route using drawing tool now i want to save my map.What are the options available to save the map.

推荐答案

你可以编码你的路径,然后将生成的字符串插入数据库,并对其进行解码,以便再次显示折线。以下是一些帮助我的链接:



编码方法 [ ^ ]



几何图书馆 [ ^ ]
You can encode your path, then insert generated string into your database, and decode it in order to display your polyline again. Here are some links that helped me:

Encoding methods[^]

Geometry Library[^]


这篇关于如何保存使用谷歌地图api绘图工具创建的折线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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