Thanks Anyone for helping me !
I tried your solution Michaël and I think it is the best way for me to do a
drag and drop.
Thanks again
------
Sebastien Tolron
2012/12/20 Michaël Michaud <[email protected]>
> Hi Sebastien,
>
> I don't know if it will fit your use case, but you can define a style
> which will associate an icon to each vertex of a layer.
> For example, create a layer "fire hydrant"
> Define the basic style (first tab) with the following options
> - display vertices
> - change the image
>
> Limitation : you cannot use an attribute to discriminate symbols
> so you must have one layer per symbol.
>
> Michaël
>
> > Hi Sebastien,
> >
> > mhm.. maybe if it could work like the circle tool or point-drawing tool.
> > The icon would then be drawn in a certain location, when the user double
> > clicks. That is not drag and drop, but clicking...
> >
> > drag and drop would be difficult, I think,...
> > We have file drag &drop, but I don't know how that really works.
> >
> > How to get an icon = image (instead of a vector graphics) drawn is
> > probably not easy either. But if you want vector, then there are ways to
> > figure how to do this (checking the symbolization/layer styling code for
> > instance).
> >
> > stefan
> >
> > Am 20.12.12 16:19, schrieb [email protected]:
> >> ok, i see. you want to place icons from a palette into a layer via
> drag'n'drop... can't help you with this.. maybe Michael or Stefan have an
> idea.. ede
> >>
> >> On 20.12.2012 16:08, Sébastien Tolron wrote:
> >>> I took a screenshot to show you what I want with my plug in.
> >>>
> >>>
> >>> 2012/12/20 <[email protected] <mailto:[email protected]>>
> >>>
> >>> sorry Sebastien, no clue what your goal is here. maybe you write
> a private email to Michael Michaud in french, so he can translate your
> problem to the list? assuming your french.
> >>>
> >>> ..ede
> >>>
> >>> On 20.12.2012 14 <tel:20.12.2012%2014>:59, Sébastien Tolron
> wrote:
> >>> > Yes I Mean icon like this like this :
> >>> > And I Want this image to be on a layer to see it on my Map.
> >>> > I want to be abble to drag this image from a toolbar to the
> layer.
> >>> >
> >>> > Sebastien.
> >>> >
> >>> >
> >>> > 2012/12/20 Giuseppe Aruta <[email protected] <mailto:
> [email protected]> <mailto:[email protected] <mailto:
> [email protected]>>>
> >>> >
> >>> > H Sébastien
> >>> > What do you mean with icon? Images which are always opened
> into OpenJUMP workbench view?
> >>> > Peppe
> >>> >
> >>> > 2012/12/20 Sébastien Tolron
> >>> <[email protected]<mailto:
> [email protected]> <mailto:[email protected] <mailto:
> [email protected]>>>
> >>> >
> >>> > Hello
> >>> >
> >>> > Thanks again for your help with the 3D , I didn't
> really try cause I need to finish other things first.
> >>> >
> >>> > I'm having a hard time trying to implement a plugin
> that allows to drag and drop icon on a map. I Tried several things but I
> can't do it.
> >>> > Is it possible using the Geometry Class ? I tried to
> use this class but I'm having problem with the JTSFactoryFinder.
> >>> >
> >>> > Can anyone help me ? Is it even possible to drag and
> drop icons ?
> >>> >
> >>> > Thanks ,
> >>> >
> >>> >
> >>> > --
> >>> > Tolron Sébastien
> >>> > M1- STIC INFO
> >>> > 06 02 06 71 27 <tel:06%2002%2006%2071%2027>
> >>> > [email protected] <mailto:
> [email protected]> <mailto:[email protected] <mailto:
> [email protected]>>
> >>> >
> >>> >
> ------------------------------------------------------------------------------
> >>> > LogMeIn Rescue: Anywhere, Anytime Remote support for
> IT. Free Trial
> >>> > Remotely access PCs and mobile devices and provide
> instant support
> >>> > Improve your efficiency, and focus on delivering more
> value-add services
> >>> > Discover what IT Professionals Know. Rescue delivers
> >>> > http://p.sf.net/sfu/logmein_12329d2d
> >>> > _______________________________________________
> >>> > Jump-pilot-devel mailing list
> >>> > [email protected] <mailto:
> [email protected]> <mailto:
> [email protected] <mailto:
> [email protected]>>
> >>> >
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>> >
> >>> >
> >>> >
> >>> >
> ------------------------------------------------------------------------------
> >>> > LogMeIn Rescue: Anywhere, Anytime Remote support for IT.
> Free Trial
> >>> > Remotely access PCs and mobile devices and provide instant
> support
> >>> > Improve your efficiency, and focus on delivering more
> value-add services
> >>> > Discover what IT Professionals Know. Rescue delivers
> >>> > http://p.sf.net/sfu/logmein_12329d2d
> >>> > _______________________________________________
> >>> > Jump-pilot-devel mailing list
> >>> > [email protected] <mailto:
> [email protected]> <mailto:
> [email protected] <mailto:
> [email protected]>>
> >>> >
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Tolron Sébastien
> >>> > M1- STIC INFO
> >>> > 06 02 06 71 27
> >>> > [email protected] <mailto:[email protected]>
> <mailto:[email protected] <mailto:[email protected]>>
> >>> >
> >>> >
> >>> >
> ------------------------------------------------------------------------------
> >>> > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free
> Trial
> >>> > Remotely access PCs and mobile devices and provide instant
> support
> >>> > Improve your efficiency, and focus on delivering more
> value-add services
> >>> > Discover what IT Professionals Know. Rescue delivers
> >>> > http://p.sf.net/sfu/logmein_12329d2d
> >>> >
> >>> >
> >>> >
> >>> > _______________________________________________
> >>> > Jump-pilot-devel mailing list
> >>> > [email protected] <mailto:
> [email protected]>
> >>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>> >
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free
> Trial
> >>> Remotely access PCs and mobile devices and provide instant
> support
> >>> Improve your efficiency, and focus on delivering more value-add
> services
> >>> Discover what IT Professionals Know. Rescue delivers
> >>> http://p.sf.net/sfu/logmein_12329d2d
> >>> _______________________________________________
> >>> Jump-pilot-devel mailing list
> >>> [email protected] <mailto:
> [email protected]>
> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Tolron Sébastien
> >>> M1- STIC INFO
> >>> 06 02 06 71 27
> >>> [email protected] <mailto:[email protected]>
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> >>> Remotely access PCs and mobile devices and provide instant support
> >>> Improve your efficiency, and focus on delivering more value-add
> services
> >>> Discover what IT Professionals Know. Rescue delivers
> >>> http://p.sf.net/sfu/logmein_12329d2d
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Jump-pilot-devel mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>>
> >>
> ------------------------------------------------------------------------------
> >> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> >> Remotely access PCs and mobile devices and provide instant support
> >> Improve your efficiency, and focus on delivering more value-add services
> >> Discover what IT Professionals Know. Rescue delivers
> >> http://p.sf.net/sfu/logmein_12329d2d
> >> _______________________________________________
> >> Jump-pilot-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>
> >
> ------------------------------------------------------------------------------
> > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> > Remotely access PCs and mobile devices and provide instant support
> > Improve your efficiency, and focus on delivering more value-add services
> > Discover what IT Professionals Know. Rescue delivers
> > http://p.sf.net/sfu/logmein_12329d2d
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Jump-pilot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
--
Tolron Sébastien
M1- STIC INFO
06 02 06 71 27
[email protected]
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel