<div class="vis-editor-agg-form-row" ng-controller="agg.type.params.byName.precision.controller">
  <div ng-if="!agg.params.autoPrecision" class="form-group">
    <label for="visEditorMapPrecision{{agg.id}}">Precision</label>
    <div class="vis-editor-agg-form-row">
      <input
        id="visEditorMapPrecision{{agg.id}}"
        name="precision"
        ng-model="agg.params.precision"
        required
        class="form-control"
        type="range"
        min="1"
        max="{{config.get('visualization:tileMap:maxPrecision')}}"
        >
      <div class="form-group vis-editor-agg-form-value">
        {{agg.params.precision}}
      </div>
    </div>
  </div>
</div>

<div class="vis-option-item indented">
  <label>
    <input type="checkbox"
    name="autoPrecision"
    ng-model="agg.params.autoPrecision">
    Change precision on map zoom
  </label>
</div>

<div class="vis-option-item indented">
  <label>
    <input type="checkbox"
           name="useGeocentroid"
           ng-model="agg.params.useGeocentroid">
    Place markers off grid (use geocentroid)
  </label>
</div>

<div class="vis-option-item indented">
  <label>
    <input type="checkbox"
           data-test-subj="isFilteredByCollarCheckbox"
           name="isFilteredByCollar"
           ng-model="agg.params.isFilteredByCollar">
    Only request data around extent of map <kbn-info info="Apply geo_bounding_box filter aggregation to narrow the subject area to the map view box with collar."></kbn-info>
  </label>
</div>
