jquery如何将图钉添加到图像并将位置保存到SQL [英] jquery how to add pin to image and save the position to SQL

查看:96
本文介绍了jquery如何将图钉添加到图像并将位置保存到SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何固定图像并保存我的图钉位置?

How can I pin an image, and save the position of my pins?

我发现这个插件,但我不知道如何保存这些引脚的位置。

I found this plugin, but I don't know how to save the position of these pins.

这个想法就像是谷歌地图,用户可以根据自己的喜好放置多个引脚,并将这些引脚位置保存到数据库中;下次他登录时,他可以看到他把针放在哪里。

The idea is like Google Map, where the user can put as many pin as he likes, and save these pin positions into database; the next time he logs in, he could see where he put his pin.

推荐答案

试试这个 - 它很简单但效果很好。

Try this - its pretty simple but works well.

http://duncanheron.github.com/ dropPin /

您需要根据需要对其进行自定义,但是在图像中添加引脚坐标的一般想法就在那里。

You will need to customise it for your needs, but the general idea for adding pin co-ordinates to an image is there.

这篇关于jquery如何将图钉添加到图像并将位置保存到SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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