Providers ========= There are two kind of providers: Map providers ------------- Map providers are used for rendering. For this we have three options: - `Google `__ - `Mapbox `__ - `OpenStreetMap `__ To set the map provider, use the ``map.provider`` property: .. code-block:: python LOCATION_FIELD = { 'map.provider': 'google', } Search providers ---------------- Search providers are used to translate addresses into latitude and longitude. For this we only have two option to offer for now: - `Google `__ - `Yandex `__ - `Nominatim `__ - `Addok `__ To set the search provider, use the ``search.provider`` property: .. code-block:: python LOCATION_FIELD = { 'search.provider': 'google', } Google ------ If you are going to use **Google** as a map or search provider, you may want to put your own credentials. You can even specify the map type: .. code-block:: python LOCATION_FIELD = { 'provider.google.api': '//maps.google.com/maps/api/js?sensor=false', 'provider.google.api_key': '', 'provider.google.api_libraries': '', 'provider.google.map.type': 'ROADMAP', } Mapbox ------ If you are going to use **Mapbox** as a map provider, you have to add your own credentials: .. code-block:: python LOCATION_FIELD = { 'provider.mapbox.access_token': '', 'provider.mapbox.max_zoom': 18, 'provider.mapbox.id': 'mapbox.streets', } OpenStreetMap ------------- For now, the only setting available for **OpenStreetMap** is the ``max_zoom``: .. code-block:: python LOCATION_FIELD = { 'provider.openstreetmap.max_zoom': 18, }