ThinkGeo.com    |     Documentation    |     Premium Support

Printing EditOverlay

Is there a way to add client-side drawn shapes into the InMemoryFeatureLayer layer in Javascript? We are doing all  drawn shapes on the client-side. However, the issue is when we try to print the map we are forced to do a page postback and add the EditOverlay features into the InMemoryFeatureLayer.   Thanks






 


Todd,


InMemoryFeatureLayer is a server side layer, I'm afraid there is no way to change it from Client Side. If Postback is not allowed for your web app, you can try using callback to update your server side feature layer.


Also did you try the browser printing?  It has some limitations but it might work for your case, just have a try. Here is more info about the server printing and browser printing.


gis.thinkgeo.com/Support/Dis...fault.aspx


Thanks,


Ben