Thanks it&#39;s perfect for my application!!!<br><br>I just have to develop that :s<br><br>I have one question : It&#39;s possible to put an offset to the external graphic? Because images of markers (marker.png) are centered on the center of the image&#39;s marker and not on the bottom of the image&#39;s marker<br>
<br>I&#39;m not sure I&#39;m clear but it&#39;s difficult to explain this in English for my...  Sorry <br><br><br>Cheers<br><br>Jim<br><br><div class="gmail_quote">2009/8/24 Alexandre Dube <span dir="ltr">&lt;<a href="mailto:adube@mapgears.com">adube@mapgears.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Jimmy Aumard wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, thanks for answers,<br>
<br>
My problème is I use markers and I put/update attributes on each in my database. I don&#39;t know how put or update attributes with vector layer (if you have an example I take it :D).<br>
</blockquote>
<br></div>
You need a server that supports transactions :<br>
<br>
 - GeoServer<br>
 - TinyOWS<br>
 see the example : <a href="http://openlayers.org/dev/examples/wfs-protocol-transactions.html" target="_blank">http://openlayers.org/dev/examples/wfs-protocol-transactions.html</a><br>
<br>
 - FeatureServer (uses MapFish protocol)<br>
 see a demo : <a href="http://dev4.mapgears.com/bdga-fs/" target="_blank">http://dev4.mapgears.com/bdga-fs/</a><br>
<br>
 The FS demo also shows a way to edit feature&#39;s attributes.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I use vector layer for polygon with DragFeature. I know this solution but points representation is a point an I use icon, It&#39;s possible to put an icon to a point with a vector layer?<br>
</blockquote>
<br></div>
Yes.  Look at the following example and search the source for the externalGraphic property.<br>
<a href="http://openlayers.org/dev/examples/styles-unique.html" target="_blank">http://openlayers.org/dev/examples/styles-unique.html</a><br>
<br>
Regards,<br>
<br>
Alexandre<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<br>
Sorry for my english :s<br>
<br>
Cheers<br>
<br>
Jim<br>
<br>
<br></div>
2009/8/24 Eric Lemoine &lt;<a href="mailto:eric.lemoine@camptocamp.com" target="_blank">eric.lemoine@camptocamp.com</a> &lt;mailto:<a href="mailto:eric.lemoine@camptocamp.com" target="_blank">eric.lemoine@camptocamp.com</a>&gt;&gt;<div class="im">
<br>
<br>
    On Friday, August 21, 2009, Alexandre Dube &lt;<a href="mailto:adube@mapgears.com" target="_blank">adube@mapgears.com</a><br></div><div class="im">
    &lt;mailto:<a href="mailto:adube@mapgears.com" target="_blank">adube@mapgears.com</a>&gt;&gt; wrote:<br>
    &gt; Hi,<br>
    &gt;<br>
    &gt;   One way to accomplish this is to use a Vector layer instead of a<br>
    &gt; Marker layer and use a ModifyFeature control do move your points<br>
    &gt; (markers) around.<br>
<br>
    The DragFeature control may be of interest as well.<br>
<br>
<br>
<br>
<br>
    --<br>
    Eric Lemoine<br>
<br>
    Camptocamp France SAS<br>
    Savoie Technolac, BP 352<br>
    73377 Le Bourget du Lac, Cedex<br>
<br>
    Tel : 00 33 4 79 44 44 96<br>
    Mail : <a href="mailto:eric.lemoine@camptocamp.com" target="_blank">eric.lemoine@camptocamp.com</a><br></div>
    &lt;mailto:<a href="mailto:eric.lemoine@camptocamp.com" target="_blank">eric.lemoine@camptocamp.com</a>&gt;<br>
    <a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br>
<br>
<br>
</blockquote>
<br><div><div></div><div class="h5">
<br>
-- <br>
Alexandre Dubé<br>
Mapgears<br>
<a href="http://www.mapgears.com" target="_blank">www.mapgears.com</a><br>
<br>
</div></div></blockquote></div><br>