ThinkGeo.com    |     Documentation    |     Premium Support

Place a Point as Vector Image(SVG,AI...)

Hi,

How can I, Place a vector image as a point feature.
I am placing a point by Standard Image Formats like Png.Jpg,Gif…etc.

PointStyle ps = new PointStyle(new GeoImage(Application.StartupPath + @"\MapData\Images\Plane.png"));

same way, I want to plot vector image(.svg,.ai,…etc) on point feature.
Is it possible do it?

Thanks,
Riyaz

Hi Riyaz,

I think we shouldn’t support the vector image like SVG because it looks need special dll to render.

But you can try to use it, if that works, that means this format is native supported by .net, because it looks we call the GDI+ for draw image. I hadn’t found this type image today so I hadn’t did a quickly test for you.

Regards,

Don

Hi Don,

       Thanks for your reply. 

Is any other Vector image format support?
If support, pls share me code.

Thanks,
Riyaz

Hi Riyaz,

I think our code don’t support other vector image also, but I am not sure whether dotnet framework native support vector image because I hadn’t found related documentation.

Regards,

Don