@syncfusion/ej2-maps 26.2.5 → 26.2.9

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.
@@ -1367,8 +1367,8 @@ function marker(eventArgs, markerSettings, markerData, dataIndex, location, tran
1367
1367
  };
1368
1368
  removeElement(markerID);
1369
1369
  var ele = drawSymbols(eventArgs.shape, eventArgs.imageUrl, { x: 0, y: 0 }, markerID, shapeCustom, markerCollection, maps);
1370
- var x = (maps.isTileMap ? location.x : (location.x + transPoint.x) * scale) + offset.x;
1371
- var y = (maps.isTileMap ? location.y : (location.y + transPoint.y) * scale) + offset.y;
1370
+ var x = (maps.isTileMap ? location.x : (location.x + transPoint.x) * scale) + (!isNullOrUndefined(offset.x) ? offset.x : 0);
1371
+ var y = (maps.isTileMap ? location.y : (location.y + transPoint.y) * scale) + (!isNullOrUndefined(offset.y) ? offset.y : 0);
1372
1372
  ele.setAttribute('transform', 'translate( ' + x + ' ' + y + ' )');
1373
1373
  maintainSelection(maps.selectedMarkerElementId, maps.markerSelectionClass, ele, 'MarkerselectionMapStyle');
1374
1374
  if (maps.legendSettings.toggleLegendSettings.enable && maps.legendSettings.type === 'Markers') {