Hi,
I’m looking for a sample to print a map which contains both OSM and Shape layers.
I’m using MapPrinterLayer and It prints the shapes, but not the OSM background tiles.
Any help is welcome.
Patrick.
Printing OSM
Hi Patrick,
Do you think this sample wiki.thinkgeo.com/wiki/File:ServicesEditionSample_PrintPreview_CS_WinForms_111115.zip will works for you?
This sample render WorldMapKitLayer as background layer, you can try to use OpenStreetMapLayer instead of it or try to set worldMapKitLayer.LayerType = WorldMapKitLayerType.OSMWorldMapKitLayer.
Regards,
Don
ok, that works perfectly.
Thanks
Patrick.
Patrick,
Any other questions, don’t hesitate to let us know.
Thanks,
Troy