CreateMap(name, baseX, baseY, range, partitions, depth, coordSys)
Returns the Map object that represents a GDB map. The name argument specifies a string that is the map name. The baseX and baseY arguments are float numbers defining the base point of the map. The range argument is a float number defining the map range. The partitions integer argument specifies the map partition. Value of partitions must be in the range from 0 to 255. If partitions = 0 then 16 is used by default. The depth integer argument specifies the maximum depth of the cell tree. Value of depth must be in the range from 0 to 32767. If depth = 0 then 1 is used by default. The coordSys argument specifies a coordinate system type. The coordSys argument value is defined by the following constants:
Constant | Map coordinate system |
gdbCoordLocal | local (orthogonal) coordinate system |
gdbCoordGeographic | geographic coordinate system |
The object is not added to the GeoDatabase::Maps collection. To add map to GDB, it is necessary to create map layers by the Map::CreateLayer method, to add layers to the Map::Layers collection and to add the Map object to the GeoDatabase::Maps collection by the Append method. You may use a map for access to features only after it has been added to the GeoDatabase::Maps collection.