@syncfusion/ej2-maps 26.2.8 → 26.2.10

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.
@@ -1314,8 +1314,8 @@ function marker(eventArgs, markerSettings, markerData, dataIndex, location, tran
1314
1314
  };
1315
1315
  removeElement(markerID);
1316
1316
  const ele = drawSymbols(eventArgs.shape, eventArgs.imageUrl, { x: 0, y: 0 }, markerID, shapeCustom, markerCollection, maps);
1317
- const x = (maps.isTileMap ? location.x : (location.x + transPoint.x) * scale) + offset.x;
1318
- const y = (maps.isTileMap ? location.y : (location.y + transPoint.y) * scale) + offset.y;
1317
+ const x = (maps.isTileMap ? location.x : (location.x + transPoint.x) * scale) + (!isNullOrUndefined(offset.x) ? offset.x : 0);
1318
+ const y = (maps.isTileMap ? location.y : (location.y + transPoint.y) * scale) + (!isNullOrUndefined(offset.y) ? offset.y : 0);
1319
1319
  ele.setAttribute('transform', 'translate( ' + x + ' ' + y + ' )');
1320
1320
  maintainSelection(maps.selectedMarkerElementId, maps.markerSelectionClass, ele, 'MarkerselectionMapStyle');
1321
1321
  if (maps.legendSettings.toggleLegendSettings.enable && maps.legendSettings.type === 'Markers') {