Skip to main content

MapCore 7.11.8.0

  • Breaking change: IMcImageCalc-based viewports: image coordinates' Y axis is now from bottom to top starting with zero at the bottom
  • Breaking change: IMcFrameImageCalc: SCameraParams::CameraLocation replaced by CameraPosition that is now always in MapCore units (meters in metric coordinate systems, 1/100,000 degree in geographic coordinate systems)
  • Breaking change: in IMcImageCalc-based viewports the following functions of IMcMapCamera now use image coordinates instead of world coordinates: Set/GetCameraPosition(), MoveCameraRelativeToOrientation(), Set/GetCameraWorldVisibleArea(), SetCameraLookAtPoint(), WorldToScreen(), ScreenToWorldOnTerrain(), ScreenToWorldOnPlane()
  • Breaking change: IMcImageCalc-based viewports: IMcMapCamera::ImageToScreen()/ScreenToImage() and IMcMapViewport::ImageToWorld()/WorldToImage() removed, use instead IMcImageCalc's image<->world functions along with IMcMapViewport::ViewportToImageCalcWorld/ImageCalcWorldToViewport() (see below) and IMcMapCamera's world <-> screen functions
  • Breaking change: IMcOverlayManager::ConvertWorldToImage()/ConvertImageToWorld(): convert now only one point instead of an array, can return an intersection status without an error, ConvertImageToWorld() can now be asynchronous (when pAsyncQueryCallback != NULL)
  • Breaking change: IMcOverlayManager::GetScreenAttachedConsistencyScaleSteps() renamed to GetScreenTerrainItemsConsistencyScaleSteps() to conform with the appropriate setter
  • Breaking change: IMcPictureItem/IMcTextItem: picture/text coordinate system added to Create() (the appropriate getters added as well); the added parameter defines the coordinate system of the item's orientation whereas the item's sub-type defines only the size of the item, this allows defining picture/text with screen size and world orientation
  • Breaking change: IMcProperty: SPropertyID renamed to SPropertyNameIDType with strName field added; SPropertyName renamed to SPropertyNameID; strName filed added to SVariantProperty
  • Breaking change: IMcMapViewport::SetStaticObjectsVisibilityMaxScale() renamed to SetVector3DExtrusionVisibilityMaxScale() and now affects only vector-3D-extrusion map layers
  • Breaking change: IMcMapLayer::IAsyncOperationCallback::OnWebServerLayersResults(): strServiceProviderName added
  • Breaking change: IMcRaw3DModelMapLayer::Create()/BuildIndexingData()/RemoveIndexingData(): strRawDataDirectory added, strIndexingDataDirectory is now optional (if not specified will be generated automatically from strRawDataDirectory); indexing parameters added to GetCreateParams()
  • IMcRawVector3DExtrusionMapLayer: optional indexing and new Create() version for indexed data added; indexing parameters added to GetCreateParams()
  • IMcObjectScheme/IMcObject: all property-access functions now receive either SPropertyNameID, name string or ID number instead of ID only to optionally access properties by name
  • IMcMapCamera: GetCameraFootprint() can now be asynchronous (when pAsyncQueryCallback != NULL); optional bYawAbsolute added to RotateCameraRelativeToOrientation()
  • IMcMapViewport::ViewportToImageCalcWorld/ImageCalcWorldToViewport() added to convert world point between viewport's coordinate systems and that of IMcImageCalc
  • IMcMapDevice::GetGpuInfo() added
  • IMcPrintMap: PrintScreen()/PrintScreenToMemory() united into PrintScreen() and PrintRect2D()/PrintRectToMemory2D() united into PrintRect2D(); all the above can now be asynchronous; CancelAsyncPrint() and IPrintCallback::OnPrintFinished() added
  • IMcImageCalc: optional peIntersectionStatus added to WorldCoordToImagePixel()/WorldCoordToImagePixelWithCache() to return an intersection status without an error; pbDTMAvailable added to ImagePixelToCoordWorldWithCache()
  • IMcOverlay::CancelAsyncSavingObjects() added
  • IMcSpatialQueries::CanPerformQuery() added to checks if spatial queries of the defined type can be performed synchronously or asynchronously
  • IMcGridConverter: bConvertHeight added to Create(), Set/GetConvertingHeight() added
  • SMcMatrix4D added; SMcQuaternion: functions updated, new functions and constants added
  • IMcImage added
  • For advanced users: IMcMapViewport::SetSpecialMaterialParams()/SetSpecialMaterialTextureName()/GetPostProcessResultingTextureName(), IMcMapCamera::GetCameraMatrix() added

Verified against MapCore 7.11.8.0