DK for ActiveX | TatukGIS_XDK11.ITGIS_ArcGISFeatureServer | Interfaces | Methods | Properties
Encapsulation of ArcGIS feature server.
// C# public interface ITGIS_ArcGISFeatureServer: ITBaseObject { }
' VisualBasic Public Interface ITGIS_ArcGISFeatureServer Implements ITBaseObject End Class
// Oxygene type ITGIS_ArcGISFeatureServer = public interface( ITBaseObject ) end;
| Name | Visibility | Description | |
|---|---|---|---|
| AttachDelphiObj | public | Only for internal use of TatukGIS. (Inherited from ITBaseObject) |
|
| Create_ | public | Constructor. | |
| DelphiObj | public | Only for internal use of TatukGIS. (Inherited from ITBaseObject) |
|
| Open | public | Open a service from url. | |
| OpenLayer | public | Open a service layer from url. | |
| Open_2 | public | Open a service from url. | |
| Name | Visibility | Description | |
|---|---|---|---|
| Layers | public | List of available layers. | |
| Name | public | Server name. | |
| Url | public | Server url. | |
fs := TGIS_ArcGISFeatureServer.Create;
try
fs.Open('https://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer');
GIS.Lock;
try
for fl in fs.Layers do begin
ll := GisCreateLayer(fl.Name, fl.Path);
GIS.Add(ll);
ll.ParamsList.Assign( fl.DrawingInfo ) ;
end;
finally
GIS.Unlock;
end;
finally
FreeObject(fs);
end;
GIS.FullExtent;