public IPlugin CreateUsing(PluginParameter args) { var file = new GeoDaxFile(args.Filename); Viewer = new GeoDaxFileViewer(file, args.ContainerWidth, args.Zoom); return(this); }
public GeoDaxFileViewer(GeoDaxFile goldBoxFile, int containerWidth, float zoom) { ContainerWidth = containerWidth; _goldBoxFile = goldBoxFile; Zoom = zoom; }
public IPlugin CreateUsing(PluginParameter args) { var file = new GeoDaxFile(args.Filename); Viewer = new GeoDaxFileViewer(file, args.ContainerWidth, args.Zoom); return this; }