[OpenLayers-Users] Using external/inline SVG for a map feature

Matt Wintercorn matt at stackframe.com
Tue Nov 27 07:26:52 PST 2012


Is it possible to use an external SVG definition as the source for a feature graphic in OpenLayers. My SVG already has the necessary <g> tags with all of the <path> elements containing my graphic. The only thing that I am seeing is that OpenLayers really only supports drawing points, lines, rectangles, and simple polygons by taking a list of points and "generating" an SVG. What can I do if I just want to use my existing SVG definition??? (I am using the SVG renderer and would like to take advantage of the built in SVG transforms to correctly scale and position my SVG element on the map)


Matt Wintercorn
matt at stackframe.com





More information about the Users mailing list