Esempio n. 1
0
 public ProjectLocationSimpleViewData(Person currentPerson, MapInitJson mapInitJson, List <string> wmsLayerNames, Feature currentFeature, string mapPostUrl, string mapFormID, string mapServiceUrl)
     : base(currentPerson)
 {
     ViewDataForAngular = new ProjectLocationSimpleViewDataForAngular(mapInitJson, wmsLayerNames, currentFeature, mapServiceUrl);
     MapPostUrl         = mapPostUrl;
     MapFormID          = mapFormID;
 }
 public ProjectLocationSimpleViewData(FirmaSession currentFirmaSession, MapInitJson mapInitJson, List <GeospatialAreaType> geospatialAreaTypes,
                                      Feature currentFeature, string mapPostUrl, string mapFormID)
     : base(currentFirmaSession)
 {
     ViewDataForAngular = new ProjectLocationSimpleViewDataForAngular(mapInitJson, geospatialAreaTypes, currentFeature);
     MapPostUrl         = mapPostUrl;
     MapFormID          = mapFormID;
     FieldDefinitionForProjectLocation   = FieldDefinitionEnum.ProjectLocation.ToType();
     FieldDefinitionForProject           = FieldDefinitionEnum.Project.ToType();
     FieldDefinitionForLocationIsPrivate = FieldDefinitionEnum.ProjectLocationIsPrivate.ToType();
 }