Hello,
a customer is using xServer.Net and via a reverse geocode has the XYN geometry of the segments returned by the findLocation method. Unfortunately is not possible to use a GeometryLayer in xServer.Net so the best thing to do is to use Shape Layer. The question is: how may I use LINESTRINGXYN geometry to draw segments in a Shape Layer? Is it possible to have a code fragment?
Thanks in advance,
Giovanni
Segments drawn on map
- Oliver Heilig
- Posts: 160
- Joined: Tue May 13, 2014 12:10 pm
- Location: Karlsruhe, Germany
- Contact:
Re: Segments drawn on map
Hi Giovanni,
it is possible to add an xServer.NET Layer which internally invokes xMap-Requests with a Custom Layer. I've added a sample "XYNSegments" to
https://github.com/ptv-logistics/xservernet-bin
Oli
it is possible to add an xServer.NET Layer which internally invokes xMap-Requests with a Custom Layer. I've added a sample "XYNSegments" to
https://github.com/ptv-logistics/xservernet-bin
Oli
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
Re: Segments drawn on map
Hi Oliver,
thanks for the example it's what we need!
Just a question: is it possible to use some GeometryOption to play with segment transparency?
Regards,
Giovanni.
thanks for the example it's what we need!
Just a question: is it possible to use some GeometryOption to play with segment transparency?
Regards,
Giovanni.
- Oliver Heilig
- Posts: 160
- Joined: Tue May 13, 2014 12:10 pm
- Location: Karlsruhe, Germany
- Contact:
Re: Segments drawn on map
Hello Giovanni,
i don't think this is possible, xMapServer1 doesn't support real alpha blending. But you can set the opacity of the XYNLayer.
Oli
i don't think this is possible, xMapServer1 doesn't support real alpha blending. But you can set the opacity of the XYNLayer.
Oli
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
Re: Segments drawn on map
Hi Oliver,
Thanks you so much.
Regards,
Giovanni.
Thanks you so much.
Regards,
Giovanni.