Free plan

Map chart

Show places on a simple world map with dots or bubbles
POST
/v1/render/map

About this tool

This tool needs no file. You give places as latitude and longitude, which are map coordinates, and it draws them as dots or bubbles on a simple world map. Make the bubble size or colour follow a value, add labels and a connecting line, and choose the whole world or zoom to your places.
For example, you show your shop locations on a map in a brochure.

How to use it

  1. Choose this tool. You do not need to add a file.
  2. Enter your places with their latitude and longitude, and a value if you want.
  3. Choose the map view, size and colour options.
  4. Press Generate.
  5. Download the map.

What you get back

You get a map picture. Download it and use it in your brochure or report.
GOOD TO KNOW
The land is a coarse built-in outline (continents and large islands): it shows where places are, not borders or roads. Nothing is loaded from the network. At most 2000 points. Counts as one render.
TEST IT LIVE

Try Map chart in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Render
Plan
Free
Method
POST
Endpoint
/v1/render/map
Tool ID
render.map
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Render
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/render/map" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'points=[{"lat":52.52,"lon":13.4,"label":"Berlin","value":3.7}]' \
  -F 'projection=equirectangular' \
  -F 'view=world'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.render.map({
    "points": "[{\"lat\":52.52,\"lon\":13.4,\"label\":\"Berlin\",\"value\":3.7}]",
    "projection": "equirectangular",
    "view": "world"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->render()->map([
    'points' => '[{"lat":52.52,"lon":13.4,"label":"Berlin","value":3.7}]',
    'projection' => 'equirectangular',
    'view' => 'world',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Draw places (latitude and longitude) as dots or bubbles on a simple world map: sized by a value, coloured by group or value, with labels, a connecting line, a graticule and a legend, in three projections, for the whole world or zoomed to the places.

Map chart works from text and settings, so no file is needed. The required inputs are points.

Map chart is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/render/map with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.