Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.layer.setMap(null);
- // Uncheck the box per default
- $("#check_layer").prop("checked", false);
- $("#check_layer").change(function() {
- if ($("#check_layer").prop("checked")) {
- that.layer.setMap(that.map);
- } else {
- that.layer.setMap(null);
- }
- }).change();
Add Comment
Please, Sign In to add comment