Skip to main content

Printing PictureMarkerSymbols

Comments

8 comments

  • Jeff Siemens

    Picture marker symbols should work.  I wonder if the problem is due to accessing an embedded resource.  Try referencing the image as a regular old URL available on the web.

    Jeff

    0
  • Permanently deleted user

    Jeff,

    Thanks for the suggestion.  No dice.  I tried it with the fully qualified path to the image (image was on the same server as the application just to be sure it had access via silverlight).  It placed the image on the map as before but no image in the output of the printing.  I then took that image and placed it in a PictureFillSymbol and applied that to my polygon geometries (both embed and full image url) and both of them printed sucessfully.  I am now beginning to believe PictureMarkerSymbols are not supported in 3.4.1.

    Note: This is the symbol that I tried and it didn't work so I just commented it out and put the SimpleMarkerSymbol below and the points printed. 

    <esriSymbols:PictureMarkerSymbol x:Name="DefaultMarkerSymbol" OffsetX="14" OffsetY="38"  Source="http://myserver/app/Styles/Default/Images/add.png"/>

     

    <esriSymbols:SimpleMarkerSymbol x:Name="DefaultMarkerSymbol" Color="Magenta" Size="15"/>

     Any other thoughts?

    Thanks!

     

    Justin
    0
  • Jeff Siemens

    Which version of the Geocortex Silverlight API are you using?

    0
  • Permanently deleted user

    I am using Essentials 3.4.1 with Silverlight API version 2.4.0.241.

    0
  • Permanently deleted user

    I changed my code to use an older version of the Silverlight API, version 2.3.0.437, and tried the same steps mentioned above.  It did not work in that version either.  Do you think the problem would be in the Silverlight API or in the Essentials core product itself?  I suppose I could revert back the core product install to 3.3 or something like that for testing, however, I could not revert back in our production environment.  Do you think I should report this to the support team as a potential bug?

     

    Thanks!

    Justin

    0
  • Jeff Siemens

    The problem could be in either the Silverlight API or Essentials core.  I can't tell at this point.  In any event, it does look like it could be a bug, so yeah you can definitely report it.

    Jeff

    0
  • Permanently deleted user

    Will do, thanks for your help Jeff.  I appreciate you! 

    0
  • Permanently deleted user

    Update from Support: 

    Support has declared this a bug within the Silverlight API 2.4.0.241 (an probably the previous versions).  There is currently no work-around for this. 

    The workaround I am implementing for this is to substitute the PictureMarkerSymbol with a SimpleMakerSymbol before printing in another graphic layer so the users can at least see the points.

    Justin

    0

Please sign in to leave a comment.