Chris, what exact technique did you use to solve the problem?  Did you use
the "invisible circle" technique?   Any chance you could post your SVG file
to look at?

On Wed, Jan 30, 2013 at 9:38 AM, Chris Haste <cha...@airdata.co.uk> wrote:

> Thank you, that was the problem and it is now behaving as it should****
>
> ** **
>
> *From:* Ákos Maróy [mailto:a...@maroy.hu]
> *Sent:* 30 January 2013 17:05
> *To:* geoserver-users@lists.sourceforge.net
>
> *Subject:* Re: [Geoserver-users] SVG Marks****
>
> ** **
>
> On 30/01/13 17:22, Chris Haste wrote:****
>
> Hello List,****
>
>  ****
>
> I want to use an external SVG symbol as a mark and I’m using the CSS
> module for my styling, although I don’t think that makes any difference to
> this question.****
>
>  ****
>
> The SVG represents a pin and I want to position the pin so that the base
> of the pin is drawn at the position for that point, but the pins all seem
> to be drawn quite away to the left of the actual position.****
>
>  ****
>
> What considerations do I need to take into account in order to be able to
> accurately position the SVG symbol relative to the reference coordinate?**
> **
>
> ** **
>
> what you have to achieve is that the 'middle point' of your SVG is the
> point you want to align with the depicted point on the map. if this is not
> the case for the natural shape of the SVG, you might want to add a
> non-visible element to the SVG itself (say, a circle that encoloses all of
> the SVG, with the circles center point being your wanted center point), and
> use the SVG that way.
>
> from my experience, the SLD rendering engine will try to 'center' the SVG
> so that its center point is the point of reference being drawn. (and the
> CSS styling is based on the SLD styling)****
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to