Get Graphics Layer Content Activity - HTML5 Viewer
Having trouble returning Symbol Property on graphics using GetGraphicsLayerContent Activity with the HTML5 Viewer. The Symbol appears to be null.
graphic.Symbol = null
I am looking to save / export graphics drawn using the GeoCortex draw tools on the "Drawings" graphics layer in the HTML5 Viewer. I am able to grab graphics from the "Dawings" Layer but the since the symbol is null have to apply my own "Renderer" when pushing them back to the client. Anyone know how I can save the color, border (Polygon => .SimpleFillSymbol: .Fill, .BorderBrush, .BorderThickness | PolyLine => .SimpleLineSymbol: .color, .Style, . Width etc...) for graphics drawn with the HTML5Viewer?
Example would be especially helpful!
Thanks!!
-
Hi David,
I am also looking similar.
Did you find any solution?
Thanks,
0 -
Hi David, did you manage to figure this out? I'm also looking to create an Export Markup(graphics) to Shapefile tool for HTML5 viewers. Thanks! -Laura
0 -
Hi,
Did anyone find a way to achieve this. I am currently looking for solution to this.
Thanks :)
Srikanth0 -
Hi Everyone,
Here's the response I posted to Srikanths' question earlier:
The symbology information about the graphics layer is removed because the objects used by the WPF API on the server side would cause cross thread exceptions. Symbols can only be managed on the UI thread, and workflows do not run on a UI thread.
So, right now there is no way to do this.
This is still a good idea and there is a use case for it, so please submit an Idea so others can vote for it.
Regards,
-Malcolm0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare