mapping-component-package-jp 0.0.20 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapping-component-package-jp",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21,7 +21,7 @@ export class MapOverlayManager {
21
21
  RenderRegionFarms(locationsJson: any, icon: any, fitBounds: boolean): void;
22
22
  RenderRegions(regionLocations: any[], properties: any, farmLocations: any[], icon: any): void;
23
23
  RenderBackgroundFields(locations: any[], properties: any): void;
24
- RenderSAAdministrative = function (saAdministrativeJson: any[], selectedSAProvince: number, selectedSADM: number, selectedSALM: number, selectedSAWard: number, offsetX: number, offsetY: number, vMapWidth: number, isDashboard: boolean);
24
+ RenderSAAdministrative(saAdministrativeJson: any[], selectedSAProvince: number, selectedSADM: number, selectedSALM: number, selectedSAWard: number, offsetX: number, offsetY: number, vMapWidth: number, isDashboard: boolean): void;
25
25
 
26
26
  // Shape Selection and Management
27
27
  selectShape(shapeId: string | number, selectedStyle: any, unselectedStyle: any): void;
@@ -2401,7 +2401,7 @@ export class MapOverlayManager {
2401
2401
  //console.log('Display_SAAdministrative');
2402
2402
  //console.log(saAdministrativeJson);
2403
2403
 
2404
- locations = JSON.parse(saAdministrativeJson, true);
2404
+ locations = saAdministrativeJson;
2405
2405
 
2406
2406
  var polygon = null;
2407
2407
  var path = null;