make all region lines non-clickable
This commit is contained in:
parent
16212b2032
commit
6bc18d6c86
@ -149,7 +149,7 @@ window.plugin.regions.update = function() {
|
|||||||
// the six cube side boundaries. we cheat by hard-coding the coords as it's simple enough
|
// the six cube side boundaries. we cheat by hard-coding the coords as it's simple enough
|
||||||
var latLngs = [ [45,-180], [35.264389682754654,-135], [35.264389682754654,-45], [35.264389682754654,45], [35.264389682754654,135], [45,180]];
|
var latLngs = [ [45,-180], [35.264389682754654,-135], [35.264389682754654,-45], [35.264389682754654,45], [35.264389682754654,135], [45,180]];
|
||||||
|
|
||||||
var globalCellOptions = {color: 'red', weight: 7, opacity: 0.5};
|
var globalCellOptions = {color: 'red', weight: 7, opacity: 0.5, clickable: false };
|
||||||
|
|
||||||
for (var i=0; i<latLngs.length-1; i++) {
|
for (var i=0; i<latLngs.length-1; i++) {
|
||||||
// the geodesic line code can't handle a line/polyline spanning more than (or close to?) 180 degrees, so we draw
|
// the geodesic line code can't handle a line/polyline spanning more than (or close to?) 180 degrees, so we draw
|
||||||
|
Loading…
x
Reference in New Issue
Block a user