Skip to main content

MapCore 7.11.4.0

  • Important in Windows, Android and Linux: contents of Media directory and resources.cfg were changed, update your files accordingly
  • Breaking change: IMcStaticObjectsMapLayer (with IMcNativeStaticObjectsMapLayer and IMcNativeServerStaticObjectsMapLayer) split into IMcRaw3DModelMapLayer (with IMcNative3DModelMapLayer and IMcNativeServer3DModelMapLayer) and IMcVector3DExtrusionMapLayer (with IMcNativeVector3DExtrusionMapLayer and IMcNativeServerVector3DExtrusionMapLayer), IMcMapProduction API updated accordingly, IMcStaticObjectsMapLayer::IsBuiltOfContoursExtrusion() replaced by IMcVector3DExtrusionMapLayer::IsExtrusionHeightChangeSupported()
  • Breaking change: the data format of IMcNative3DModelMapLayer and IMcNativeVector3DExtrusionMapLayer is different from that of IMcNativeStaticObjectsMapLayer of MapCore 7.11.3.X, but IMcMapProduction allows converting to the old format
  • Breaking change: eStorageFormat parameter removed from IMcOverlay::LoadObjects(), IMcOverlayManager::LoadObjectSchemes()
  • For Windows: GdalData and PROJ_DATA folders are already present in DLL folders and no longer should be copied from Setup directory
  • IMcOverlayManager::LoadObjectSchemes(): optional pbObjectDataDetected added to indicate that schemes were loaded from a saved object instead of a scheme
  • IMc3DModelMapLayer: SetResolvingConflictsWithDtmAndRaster() added to set the option of hiding DTM/raster layers in areas covered by 3D-model layer
  • IMcRaw3DModelMapLayer and IMcRawVector3DExtrusionMapLayer added
  • IMcMapViewport: semi-transparent object scheme items (of regular draw-priority group based on world coordinates) can now optionally be rendered with correct colors of pixels in overlapping areas; the mode can be set/retrieved by Set/GetTransparencyOrderingMode()
  • IMcObjectScheme::ESchemeComponentKind: ESCK_ENUMERATION added for saving all enumeration types by IMcObjectScheme::SaveSchemeComponentInterface()
  • IMcLineBasedItem: 3D-extrusion shape can now be used in all line-based items and not only in closed-shape items (EFillStyle, EShapeType and all the appropriate functions were moved from IMcClosedShapeItem to IMcLineBasedItem)
  • IMcVectorMapLayer: to call GetScanExtendedData(), GetVectorItemPoints(), GetFieldUniqueValuesAsXXX(), GetVectorItemFieldValueAsXXX(), Query() asynchronously the user should now pass the callback interface instead of a boolean flag
  • IMcVectorMapLayer: multiple data sources can now be used in the same raw/native layer (if SParams::strDataSource is a directory containing XML and raw data sources); MapCore's vector item ID is now built from the original item's ID and data-source's ID and is a 64-bit unsigned integer (in Web version only: a number type that can hold integers up to 53 bits, Float64Array for arrays); consequently 64-bit numbers are now used in IMcMapLayer::SVectorItemFound, IMcVectorMapLayer::GetVectorItemPoints(), IMcVectorMapLayer::GetVectorItemFieldValueAsXXX(), IMcMapLayer::IAsyncOperationCallback::OnVectorQueryResult() and IMcVectorMapLayer::Query(), IMcSpatialQueries::STargetFound::uTargetID is used as uTargetID.u64Bit for vector layers
  • IMcVectorMapLayer: GetLayerDataSources(), VectorItemIDToOriginalID(), VectorItemIDFromOriginalID(), GetValidFieldsPerDataSource() added for multi-data-source layers in order to retrieve the information about data-sources and to convert between MapCore's and the original vector item ID
  • IMcRawVectorMapLayer::SParams and IMcMapProduction::SVectorConvertParams: uMaxNumVisiblePointObjectsPerTile added to define the maximal number of objects of vector points per tile that should be visible (objects beyond this number will be hidden depending on map scale)
  • IMcRawVectorMapLayer::SParams: StylingParams::bEnabled replaced by eAutoStylingType to support S52 and custom styling; strCustomStylingFolder added
  • IMcRawVectorMapLayer::SStylingParams: pDefaultFont and fTextMaxScale added
  • IMcMapProduction: SVectorConvertParams now inherits IMcRawVectorMapLayer::SParams
  • IMcMapLayer::STilingScheme: uNumLargestTilesX/uNumLargestTilesY added
  • IMcSpatialQueries::SetTerrainQueriesNumCacheTiles(): the default was changed from 1000 to 300
  • IMcSymbolicItem::GetAllCalculatedPoints(): original points (before adding points for smoothing, great circle sampling, etc.) can now be optionally retrieved
  • IMcGeometricCalculations::EG2DPolySmoothingSample(): original points can now be optionally retrieved
  • IMcEditMode: Set/GetAutoChangeObjectOperationsParams() added to set a mode of automatically changing object operations parameters during object initialization/editing according to the parameters defined in its scheme; enabled by default
  • MCVectorEditor: tiling scheme selection and showing geographic map in metric proportions added
  • IMcMapProduction::IProgressCallback and IMcMapProduction::EProgressMessageType replaced by global IMcProgressCallback and IMcProgressCallback::EProgressMessageType
  • IMcMapProduction::ConvertXXXLayer() and IMcRaw3DModelMapLayer::BuildIndexingData(): LayerParams.xml file added containing the layer type and tiling scheme
  • Web version: MapCore's ES6-module versions added (MapCore_Module.js/.wasm/.data, etc.); see the usage example commented-out in McJsTester.js/.html
  • Web version: without ES6-module if .wasm/.data/.mem files should be loaded from different path or with different names, the following script should be added before MapCore.js (MapCoreModule is now used instead of Module): MapCoreModule = { locateFile : function(fileName, prefix) { return ...; } };

Verified against MapCore 7.11.4.0