Select to view content in your preferred language

SVG SimpleMarkerSymbol Placement

2385
2
Jump to solution
03-14-2016 11:08 AM
by Anonymous User
Not applicable

Hello - I need to place an SVG SimpleMarkerSymbol off-center. The symbol is a wind turbine and rather than center it on the point location I need to set the bottom of the symbol on that point. Otherwise it doesn't line-up with the road.

My current plan is to make a tiny mark in the SVG path to fake it's height enough that the turbine is correctly placed (create an empty space that is on center, but then the turbine bottom is positioned at the point). However the erroneous mark in the SVG is undesirable and I don't know how to set just that mark as transparent.

Is there any way to control where an SVG symbol is placed? Or is there a different marker for a wind turbine that places itself above the point location? Thanks for any ideas!

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Sarah,

  The SimpleMarkerSymbol x and y offsets are not working for you?

SimpleMarkerSymbol | API Reference | ArcGIS API for JavaScript | xoffset

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Sarah,

  The SimpleMarkerSymbol x and y offsets are not working for you?

SimpleMarkerSymbol | API Reference | ArcGIS API for JavaScript | xoffset

0 Kudos
by Anonymous User
Not applicable

Wow...no they will. I was just too deep in my head to notice it in the documentation. Thanks!

0 Kudos