Basics
API reference
Release notes
Deprecations
Examples
Sign in / Sign up
Sign in / Sign up
Mutation to create an isoline
Query isoline details

Subscribe to isolines

Due to its complexity, the generation of isolines is not instantaneous, so it is recommended to use a graphQL subscription. Get the isoline id from the createIsoline mutation and start an isoline subscription. There are three possible statuses: pending, done, and error.

Subscription

To start the isoline subscription, it is required to provide an isoline id. Fetch the id through the createIsoline mutation. The subscription gives updates regarding the status. When the status changes from pending to done, the isoline has finished generating and can be queried. If there is an error when generating the isoline, the status will return error.

Isolines take all roads into consideration to ensure the most accurate results. It may take up to a few seconds to generate an isoline in a country with a very dense road network.

Arguments

id • ID

• Required

Frequently used fields

polygons • FeatureMultiPolygon

Shape of the isoline consisting in a list of multipolygons.

type • FeatureType

Feature type.

Show FeatureType enum values

Feature

geometry • MultiPolygon

Geometry of the feature.

type • MultiPolygonType

MultiPolygon type.

Show MultiPolygonType enum values

MultiPolygon

coordinates • Float

List of coordinates representing a polygon.

properties • PolygonProperties

Properties of the MultiPolygon Feature.

index • Int

Index of the feature inside the list.

Other fields

id • ID

Isoline id.

status • IsolineStatus

Isoline status.

Show IsolineStatus enum values

done

Isoline label has been successfully generated.

pending

Isoline label is under processing.

error

There was an error while generating the isoline label.

ferries • FeatureLineString

List of the ferries uniting islands formed by the isoline.

type • FeatureType

Feature type.

Show FeatureType enum values

Feature

geometry • LineString

Geometry of the feature.

type • LineStringType

LineString type.

Show LineStringType enum values

LineString

coordinates • Float

List of coordinates arrays with longitude as first value and latitude as second one.

request_input • IsolineRequestInput

The inputted request data for the isoline used to compute it.

vehicle_id • ID

Vehicle id.

origin • FeaturePoint

Origin point of the request.

id • String

Feature ID.

type • FeatureType

Feature type.

Show FeatureType enum values

Feature

geometry • Point

Geometry of the feature.

type • PointType

Point type.

Show PointType enum values

Point

coordinates • Float

The coordinates array with longitude as first value and latitude as second one.

properties • JSON

Optional object where you can store custom data you need in your application. This extends the current functionalities we offer.

polygon_count • Int

Numbers of polygons that were generated.

round_trip • Boolean

Vehicle should be able to return to the origin point from any point.

occupants • Int

Number of occupants.

total_occupant_weight • Float

Cumulated weight of the occupants.

Show arguments

unit • WeightUnit

Default • kilogram

Show WeightUnit enum values

kilogram

Return the weight in kilograms.

pound

Return the weight in pounds.

total_cargo_weight • Float

Cargo weight.

Show arguments

unit • WeightUnit

Default • kilogram

Show WeightUnit enum values

kilogram

Return the weight in kilograms.

pound

Return the weight in pounds.

climate_control • Boolean

Climate is on.

heat_pump • HeatPumpMode

Vehicle Heat Pump configuration.

Show HeatPumpMode enum values

default

Default to the vehicle configuration.

installed

Vehicle has it installed.

none

Vehicle doesn't have it installed.

cabin • IsolineCabin

Vehicle cabin configuration.

is_preconditioned • Boolean

Flag which indicate if the vehicle cabin was preconditioned for the desired temperature.

desired_temperature • Float

Desired temperature inside the cabin. Default is 20 degrees Celsius or 68 degrees Fahrenheit.

Show arguments

unit • TemperatureUnit

Type of temperature, defaults to 'Celsius'.

Default • Celsius

Show TemperatureUnit enum values

Celsius

Return the temperature in Celsius.

Fahrenheit

Return the temperature in Fahrenheit.

season • RouteSeason

Season taken into account when isoline was generated.

Show RouteSeason enum values

summer

We suppose it is summer and we have the best weather conditions.

winter

We suppose it is winter and we have the worst weather conditions.

current

We fetch the current weather conditions.

quality • IsolineQuality

Polygons precision quality.

Show IsolineQuality enum values

high

High polygons precisions.

low

Low polygons precisions.

ferry_connections • IsolineFerryConnectionsType

Ferry connections.

Show IsolineFerryConnectionsType enum values

none

Ferry connections should not be included.

single

Ferry connections should be taken into account but only one level deep. For example: from the European mainland to England and no other connecting ferries departing from England.

state_of_charge • Float

Battery state of charge.

Show arguments

unit • StateOfChargeUnit

Default • kilowatt_hour

Show StateOfChargeUnit enum values

kilometer

Return the state of charge in kilometers.

mile

Return the state of charge in miles.

kilowatt_hour

Return the state of charge in kilowatt hours.

percentage

Return the state of charge as a percentage.

final_state_of_charge • Float

Minimum final battery state of charge.

Show arguments

unit • StateOfChargeUnit

Default • kilowatt_hour

Show StateOfChargeUnit enum values

kilometer

Return the state of charge in kilometers.

mile

Return the state of charge in miles.

kilowatt_hour

Return the state of charge in kilowatt hours.

percentage

Return the state of charge as a percentage.

Response

A response can either contain a data or an errors object. The response header will always return 200 as a status code.

Data object

When successful, a data object will be returned with the requested fields. If there are no fields present the data object will return the operation name with the appropriate return type. If the operation was a query, this output will be an object of the schema’s query root type; if the operation was a mutation, this output will be an object of the schema’s mutation root type.

Error object

If unsuccessful, an errors object will be returned with more details in the extensions object. The error object can contain any of the following objects.

Error

ISOLINE_NOT_FOUND

No isoline label was found with the provided ID.

Error

OPERATION_NOT_ALLOWED

You are not allowed to execute this operation. Enable it for the current application in the dashboard or reach out to customer support.

  • Basics

    API Basics GraphQL Basics EV basics
  • API reference

    API Vehicles Stations Routes Routes (NEW) Emissions Navigation Tile service Isolines Vehicle connectivity
  • Products

    Website Dashboard Help center SDKs
  • Tooling

    Playground Voyager Examples API Status
  • Legal

    Terms & Conditions Privacy Policy Cookie Policy Security
Mission Statement State of charge Try Chargetrip Go

© Chargetrip 2025

Build with love in

Amsterdam ❤️