"മീഡിയവിക്കി:Common.js" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
(ചെ.)No edit summary |
(ചെ.)No edit summary |
||
| വരി 13: | വരി 13: | ||
if (img.src.startsWith("https://tile.openstreetmap.org/v4/marker/")) { | if (img.src.startsWith("https://tile.openstreetmap.org/v4/marker/")) { | ||
// Replace the `src` with the desired URL | // Replace the `src` with the desired URL | ||
var newSrc = img.src.replace("https://tile.openstreetmap.org/v4/marker/ | var newSrc = img.src.replace("https://tile.openstreetmap.org/v4/marker/pin-m+7e7e7e@2x.png", "https://schoolwiki.in/extensions/Kartographer/lib/external/mapbox/images/marker-icon-2x.png"); | ||
img.src = newSrc; | img.src = newSrc; | ||