/** * Override, if you want custom controls on the map. Per default the {@link Navigation} control is added * only. * * @param mapOptions * the map options where to set the map controls */ protected void addMapControls(MapOptions mapOptions) { mapOptions.removeDefaultControls(); map.addControl(new Navigation()); }
@Override protected void addMapControls(MapOptions mapOptions) { // FIXME does not work .. navigation panel is still drawn mapOptions.removeDefaultControls(); map.addControl(new ZoomIn()); map.addControl(new ZoomOut()); }