---
title: "Instantiate a Named Map using JSONP"
method: GET
path: "/map/named/{template_name}/jsonp"
tags: ["Named Maps"]
---

# Instantiate a Named Map using JSONP

`GET /map/named/{template_name}/jsonp`

Instantiating a Named Map allows you to fetch the map tiles. The result is an Anonymous Map

## Path parameters

- `template_name` string, required

## Query parameters

- `auth_token` string
- `config` string
- `callback` string

## Response `200`

Ok. You can then use the layergroupid for fetching tiles and grids as you would normally

- MapResponse
  - `layergroupid` string
  - `updated_at` string, date-time
  - `metadata` object
    - `layers` object[]
      - `type` 'mapnik' | 'cartodb' | 'torque' | 'http' | 'plain' | 'named' — A string value that defines the layer type: * **mapnik** - rasterized tiles * **cartodb** - an alias for mapnik (for backward compatibility) * **torque** - render vector tiles in torque format * **http** - load tiles over HTTP * **plain** - color or background image url * **named** - use a Named Map as a layer
      - `meta` object
  - `cdn_url` object
    - `http` string
    - `https` string

## Other responses

- `400` — The server could not understand the request due to invalid syntax or unexpected condition.
- `404` — The specified resource was not found.
- `429` — The user has sent too many requests in a given amount of time ("rate limiting" or "database timeout").
- `500` — Server encountered an unexpected condition that prevented it from fulfilling the request.

## Changes

- **2019-02-07** `86f957fde710` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cartodb/apis/maps-api/changes/map/named/:template_name/jsonp/get.md)

---

[API](https://skmtc.dev/cartodb/apis/maps-api.md) · [All operations](https://skmtc.dev/cartodb/apis/maps-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cartodb/maps-api/revisions/35d2b59fee9e/schema)
