Jump to content
സഹായം

ಪ್ರವೇಶಿಸಿರಿ (ಸಹಾಯ)
உள்ளேற (உதவி)

"മീഡിയവിക്കി:Common.js" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

173 ബൈറ്റുകൾ കൂട്ടിച്ചേർത്തിരിക്കുന്നു ,  8 ജനുവരി
തിരുത്തലിനു സംഗ്രഹമില്ല
(ചെ.)No edit summary
റ്റാഗ്: Manual revert
No edit summary
വരി 2: വരി 2:


window.onload = function() {
window.onload = function() {
     // Find all images with the specified URL
     // Find all images with a source that starts with "https://tile.openstreetmap.org"
     var markerImages = document.querySelectorAll('img[src="https://tile.openstreetmap.org/v4/marker/pin-m+7e7e7e@2x.png"]');
     var markerImages = document.querySelectorAll('img[src^="https://tile.openstreetmap.org"]');
      
      
     // Loop through the images and change their source
     // Loop through the images and replace the base URL
     for (var i = 0; i < markerImages.length; i++) {
     for (var i = 0; i < markerImages.length; i++) {
         markerImages[i].src = "https://schoolwiki.in/extensions/Kartographer/lib/external/mapbox/images/marker-icon-2x.png";
         var oldSrc = markerImages[i].src;
       
        // Replace "https://tile.openstreetmap.org" with "https://maps.wikimedia.org"
        var newSrc = oldSrc.replace("https://tile.openstreetmap.org", "https://maps.wikimedia.org");
       
        markerImages[i].src = newSrc;
          
          
         // Apply CSS to ensure proper display
         // Apply CSS to ensure proper display
"https://schoolwiki.in/പ്രത്യേകം:മൊബൈൽവ്യത്യാസം/2625571" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്