|
|
@ -90,7 +90,7 @@ var Map = function (parent) { |
|
|
|
$('#draw-button').on('click', this.OnDrawButtonClick.bind(this)); |
|
|
|
$('#clear-button').on('click', this.OnClearButtonClick.bind(this)); |
|
|
|
$('#particle-switch a').on('click', this.OnParticleButtonClick.bind(this)); |
|
|
|
$('#label-switch a').on('click', this.OnRemoveMarkersButtonClick.bind(this)); |
|
|
|
$('#label-switch').on('click', this.OnRemoveMarkersButtonClick.bind(this)); |
|
|
|
|
|
|
|
$('.control-btn-groups .control-item').find('.icon').on('click', this.OnItemClick.bind(this)); |
|
|
|
}; |
|
|
@ -167,6 +167,7 @@ var Map = function (parent) { |
|
|
|
this.OnRemoveMarkersButtonClick = function () { |
|
|
|
var parent = $(event.target).parent(); |
|
|
|
parent.toggleClass('switch-on'); |
|
|
|
console.log(this.currentButton.tagSelected) |
|
|
|
|
|
|
|
if (!parent.hasClass('switch-on')) { |
|
|
|
$('.point').hide(); |
|
|
@ -656,6 +657,7 @@ var Map = function (parent) { |
|
|
|
}; |
|
|
|
|
|
|
|
this.InitCapture = function () { |
|
|
|
console.log(this.currentButton.exportSelected) |
|
|
|
Init(); |
|
|
|
$('#capture-button').on('click', function () { |
|
|
|
var returned = Capture(); |
|
|
|