maringetxway commited on
Commit
9e4ae9e
·
verified ·
1 Parent(s): 8b06b31

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +1 -1
script.js CHANGED
@@ -7,7 +7,7 @@ L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
7
  // Custom robot marker icon
8
  const robotIcon = L.icon({
9
  iconUrl: 'https://cdn.shopify.com/s/files/1/0767/2040/6877/files/LeRobot.png?v=1745423992', // Change to your preferred robot icon URL
10
- iconSize: [40, 40], // size of the icon
11
  iconAnchor: [20, 40], // point of the icon which will correspond to marker's location
12
  popupAnchor: [0, -35] // point from which the popup should open relative to the iconAnchor
13
  });
 
7
  // Custom robot marker icon
8
  const robotIcon = L.icon({
9
  iconUrl: 'https://cdn.shopify.com/s/files/1/0767/2040/6877/files/LeRobot.png?v=1745423992', // Change to your preferred robot icon URL
10
+ iconSize: [35, 35], // size of the icon
11
  iconAnchor: [20, 40], // point of the icon which will correspond to marker's location
12
  popupAnchor: [0, -35] // point from which the popup should open relative to the iconAnchor
13
  });