Google maps gpx export - save dialog in JavaScript

I'm working on a GoogleMaps project and want to offer the users to save the current route as a GPX-file. I haven't found any function or possibility to do that. So I thought maybe to go through the mapoverview array and save the coordinates and data after that. (open file dialog with JavaScript) Now I only have appended the data to a text area, but it slows down the page extremely. I didn't find anything to offer the generated data to be able to download. -> Store it in a variable? I have read that JavaScript can't write to User File System. But I only want to offer the data to be downloaded or right click - save as. Has anyone any idea?

以上就是Google maps gpx export - save dialog in JavaScript的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏