Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// replace with your map ID and region code. | |
let mapID = 21148; | |
let mapContainer = document.getElementById('map_' + mapID); | |
mapContainer.addEventListener('mapready',function(ev){ | |
iMaps.maps[mapID].series.forEach(function(ser){ | |
ser.tooltip.ignoreBounds = true; | |
ser.tooltip.pointerOrientation = 'left'; // "horizontal", "vertical", "up", "down", "right", or "left" | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// works for version >1.5.3.3 | |
//replace with your map ID | |
let mapID = 3491739; | |
let zoomLevel = 8; | |
let igmNow = Date.now(); | |
function igmHideMarkers(igmap) { | |
igmNow = Date.now(); | |
let series = iMaps.maps[mapID].labelSeries; | |
series.forEach(function(serie) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapID = 11111; // replace with your map ID | |
let igmNow = Date.now(); | |
let igmZoomLevel = 3; | |
mapContainer.addEventListener('mapready', function(ev) { | |
let igmap = iMaps.maps[mapID].map; | |
igmap.events.on("zoomlevelchanged", function(ev) { | |
if( Date.now() >= igmNow + 500){ | |
let series = iMaps.maps[mapID].series; | |
series.forEach(function(serie) { | |
if( iMaps.maps[mapID].allBaseSeries.includes( serie ) ){ return; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapID = 955; // replace with your map ID | |
let zoomLevel = 3; // replace with the zoom level you want to show the labels at | |
let igmNow = Date.now(); | |
function igmHideMarkers(igmap) { | |
igmNow = Date.now(); | |
let series = iMaps.maps[mapID].series; | |
series.forEach(function(serie) { | |
if (typeof serie.mapImages === 'undefined') { | |
return; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.imapsCircle { | |
paint-order: stroke; | |
stroke-opacity:1; | |
stroke: #dd9933; /* change with the stroke color you want */ | |
animation: pulse-me 1s linear infinite; | |
} | |
/* or target by colour */ | |
.imapsCircle-group[fill="#1e73be"] .imapsCircle { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelectorAll('.igm_entries_list') | |
.forEach(function(list) { | |
list.setAttribute('data-map-id','3492969'); // change to your base map ID | |
var clone = list.cloneNode(true); | |
iMapsActions.buildLists(clone); | |
list.replaceWith(clone); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (min-width:780px) { | |
.imapsZoomControl-group { display:none; } | |
} |
NewerOlder