Changes between Version 11 and Version 12 of MapGuideRfc60
- Timestamp:
- 05/10/09 05:03:24 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc60
v11 v12 62 62 The base colors of a map can be extracted most efficiently during map generation in MapingUtil::StylizeLayers(). 63 63 To do this the VectorScaleRange gets an additional method called VectorScaleRange::GetUsedColorList(). 64 This is a computed property implemented as a singleton which creates the list upon access. Subsequent requests from other threads read the same list. The singleton is not protected with a mutex as a second thread would recreate d the same datastructure....in the worst case I can imagine a few kBytes of memory leak with a very low probability.... more costly than themutex I suppose.64 This is a computed property implemented as a singleton which creates the list upon access. Subsequent requests from other threads read the same list. The singleton is not protected with a mutex as a second thread would recreate the same datastructure....in the worst case I can imagine a few kBytes of memory leak with a very low probability.... less costly than a mutex I suppose. 65 65 66 66 At the end of the stylization GetUsedColorList is called and the resulting color list is stored in the runtime map object MgMap. … … 99 99 100 100 2. The quantization algorithm can use quite some memory. 3 different memory allocation schemes have been provided. [[BR]] 101 Due to recent problems in low memory situations a choice has been made to use the most conservative stack based allocation scheme.101 Due to recent problems in low memory situations a choice has been made to use the most memory conservative stack based allocation scheme. 102 102 103 103 3. In this phase only the colors from the VectorLayerDefinitions and in there the Area, Line, and Point Symbolizations are parsed