new TileRecord()
- Source:
Create a layer record with the appropriate geoApi layer type. Layer config should be fully merged with all layer options defined (i.e. this constructor will not apply any defaults).
Name | Type | Description |
---|---|---|
layerClass |
Object | the ESRI api object for tile layers |
apiRef |
Object | object pointing to the geoApi. allows us to call other geoApi functions. |
config |
Object | layer config values |
esriLayer |
Object | an optional pre-constructed layer |
epsgLookup |
function | an optional lookup function for EPSG codes (see geoService for signature) |