preparing for removal of params - #4006 (remove general map parameters from distribut...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / feature / FeatureDistributionDetailElement.java
index 186242eb0ba6b32a9e1eee9fd4dee88323257c66..b7d4347a40ee1ea1f9097b82ce25d2d9a45731a6 100644 (file)
@@ -107,15 +107,15 @@ public class FeatureDistributionDetailElement extends AbstractCdmDetailElement<F
                // image.calculateWidth() % 2 == 1 ? image.calculateWidth() + 1 :
                int width = image.calculateWidth();
 
-               String bbox = "-180,-90,180,90";
-               String backLayer = "earth";
+               String bbox = null;
+               String backLayer = null;
 
                List<Language> languages = Arrays.asList(new Language[]{CdmStore.getDefaultLanguage()});
 
                String parameter = CdmStore.getGeoService().getDistributionServiceRequestParameterString(getTaxonDescriptions(),
                 false, false, null, presenceAbsenceTermColors, width, 0, bbox, backLayer, languages);
 
-               String mapUriString = String.format("%s?%s&ms=1000", accessPoint, parameter);
+               String mapUriString = String.format("%s?%s&ms=1000&bbox=-180,-90,180,90&l=earth", accessPoint, parameter);
                return mapUriString;
        }