Editor - Delivery zone settings
This view is the one that opens when the function showDeliveryZoneSettings()
is used in the view theme/views/editor/delivery-zone.html This shows the details of a delivery area used to create and modify.
Main Models
zone.type
: this marks the type of zone that is and can take 3 possible values:- Circle
- Polygon
- Dropdown option
deal.address
: Business addresszone.dropdownCity
: if it is type dropdown, the selected onedropdownCities
: dropdown cities available to select
Utility Functions
hide()
: close this modalchangeType()
: reset the values of zone.datachanged()
: reset the zone.dropdown_option_idclearMap()
: resets any trace on the mapsaveZone()
: save changes in the delivery area
<div id="map-delivery-zone"></div>
Example of base theme
Updated over 5 years ago