---
title: "MarkerContentTypeTemplate | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias MarkerContentTypeTemplate

Marker content driven by a named template and its parameters.

type MarkerContentTypeTemplate \= {  
    [element](#element)?: never;  
    [icon](#icon)?: never;  
    [template](#template): string;  
    [templateParams](#templateparams)?: [Record](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Record/)<string, number | string\>;  
    [url](#url)?: never;  
}

##### Index

### Properties

[element?](#element) [icon?](#icon) [template](#template) [templateParams?](#templateparams) [url?](#url)

## Properties

### `Optional`element[](#element)

element?: never

### `Optional`icon[](#icon)

icon?: never

### template[](#template)

template: string

Identifier for a registered template factory function.

### `Optional`templateParams[](#templateparams)

templateParams?: [Record](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Record/)<string, number | string\>

Parameters forwarded to the template config function.

### `Optional`url[](#url)

url?: never
