{% for key, label in mapTileOptions %}
{% if key != '0' and key != '1' %}
{% set x1 = craft.app.assetManager.getPublishedUrl('@simplemapimages/' ~ (key|replace({'.':'-','/':'-'})) ~ '-1x.jpg', true) %}
{% set x2 = craft.app.assetManager.getPublishedUrl('@simplemapimages/' ~ (key|replace({'.':'-','/':'-'})) ~ '.jpg', true) %}
{% endif %}
{% endfor %}
{% namespace 'settings' %}
{% set mapTokenIterable = settings.mapToken is iterable %}
{% set children %}
{% endset %}
{{ label('Map Token', 'Add the API key for map tiles service you are using.', children) }}
{% set children %}
{% endset %}
{{ label('Private Key', 'Paste the contents of your private key files below (supports env variables).', children) }}
{% set children %}
{% endset %}
{{ label('Key ID', 'The ID of the key associated with your private key.', children) }}
{% set children %}
{% endset %}
{{ label('Team ID', 'The team ID that created the key ID and private key.', children) }}
{% set children %}
{% endset %}
{{ label('App ID', 'Your Here app ID.', children) }}
{% set children %}
{% endset %}
{{ label('App Code', 'Your Here app code.', children) }}
{% set children %}
{% endset %}
{{ label('API Key', 'Your Here API Key (only required for front-end embed maps).', children) }}
Geocoding
{% set children %}
{% endset %}
{{ label('Geo Service', 'Select the service to be used for Geocoding.', children) }}
{% set geoTokenIterable = settings.geoToken is iterable %}
{% set children %}
{% endset %}
{{ label('Geo Token', 'Add the API key for the geocoding service.', children) }}
{{ 'Notice'|t('simplemap') }}
{{ 'MapKit does not support individual address parts.'|t('simplemap') }}
{% set children %}
{% endset %}
{{ label('Private Key', 'Paste the contents of your private key files below (supports env variables).', children) }}
{% set children %}
{% endset %}
{{ label('Key ID', 'The ID of the key associated with your private key.', children) }}
{% set children %}
{% endset %}
{{ label('Team ID', 'The team ID that created the key ID and private key.', children) }}
{% set children %}
{% endset %}
{{ label('App ID', 'Your Here app ID.', children) }}
{% set children %}
{% endset %}
{{ label('App Code', 'Your Here app code.', children) }}
{% endset %}
{{ label('Geolocation Service', 'Select the service to be used for Geolocating users.', children) }}
{% set geoLocationTokenIterable = settings.geoLocationToken is iterable %}
{% set children %}
{% endset %}
{{ label('Geolocation Token', 'Add the API key for the geolocation service.', children) }}
{% set children %}
{% endset %}
{{ label('Account ID', 'Your MaxMind account ID.', children) }}
{% set children %}
{% endset %}
{{ label('License Key', 'Your MaxMind license key.', children) }}
{{ 'Getting Geolocation API Keys'|t('simplemap') }}