To render stations on a map, you need to add a set of filters to the tile request. These filters are sent as query parameters and must be appended after
Below you can find an overview of possible filters you can apply.
Deprecated in favor of
Determines the powers of the stations that will be included in the tiles. This can be
powers=all) for all powers or a list of kWh values for individual powers. For kWh values, you can send a numeric array with the specific powers you would like to return,
Determines the speed groups of powers that will be included in the tiles. We have grouped all available powers into three speed groups (
turbo), you can send an array (
powerGroups=slow &powerGroups=fast &powerGroups=turbo). Note: You can't mix powerGroups with
powers=all. You can mix powerGroups with individual powers
powerGroups=fast&powers=22 (for this specific example we will consider both, stations which are
fast and stations that are 22 kWh).
Determine the connector standards that will be included in the tiles. You can send an array with the
An optional list of amenities that should be present near the stations. Possible values:
An optional flag that will return only available (
status: free) stations.
An optional flag that will filter stations by a pre-defined preferred operator.
You can request the number of displayed stations on the map by using the following API endpoint. If you applied any filters you will need to apply them to the count endpoint as well to make sure you receive the correct count.
It will return a response that looks like this: