Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java @ 2449:e73e92c70290
Deactivate measure control when activating GetFeatureInfo control and reverse.
flys-client/trunk@4123 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 05 Mar 2012 14:02:48 +0000 |
parents | 1695d66896f9 |
children | 0235cdb62c98 |
comparison
equal
deleted
inserted
replaced
2448:30c7f8f9f1b7 | 2449:e73e92c70290 |
---|---|
488 public void enable() { | 488 public void enable() { |
489 activateDrawFeature(false); | 489 activateDrawFeature(false); |
490 activatePan(false); | 490 activatePan(false); |
491 activateZoomBox(false); | 491 activateZoomBox(false); |
492 activateSelectFeature(false); | 492 activateSelectFeature(false); |
493 activateGetFeatureInfo(false); | |
493 } | 494 } |
494 | 495 |
495 public void disable() { | 496 public void disable() { |
496 // do nothing | 497 // do nothing |
497 } | 498 } |
530 public void enable() { | 531 public void enable() { |
531 activateDrawFeature(false); | 532 activateDrawFeature(false); |
532 activatePan(false); | 533 activatePan(false); |
533 activateZoomBox(false); | 534 activateZoomBox(false); |
534 activateSelectFeature(false); | 535 activateSelectFeature(false); |
536 activateMeasureControl(false); | |
535 activateGetFeatureInfo(true); | 537 activateGetFeatureInfo(true); |
536 } | 538 } |
537 | 539 |
538 public void disable() { | 540 public void disable() { |
539 activateGetFeatureInfo(false); | 541 activateGetFeatureInfo(false); |