Closed ningfc closed 2 years ago
Hello @ningfc
Yes, you are correct. Looks like one of the developers added a new parameter to the constructor, but didn't catch all of the related calls. And the compiler didn't catch it due to the last parameter being optional.
Thank you. I'll try to get this fix incorporated.
Regards, Jerry.
Fixed in Jira issue MWGIS-239.
I Found a Param missing problem in MapWinGIS code, at Map_Drawing.cpp CMapView::DrawLayers
CShapefileDrawer sfDrawer(graphics, &_extents, _pixelPerProjectionX, _pixelPerProjectionY, &_collisionList, this->GetCurrentScale(), true);
This constructer miss a param zoom.CShapefileDrawer drawer(g, &_extents, _pixelPerProjectionX, _pixelPerProjectionY, &_collisionList, GetCurrentScale(), GetCurrentZoom(), true);
This is used at other place in MapWinGIS Code, ti's correct.