---
title: "MarkerContentTypeIcon | 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 MarkerContentTypeIcon

Marker content driven by a built-in icon, drawn in the content colour and sized to the marker (16 / 12 / 8 px for `l` / `m` / `s`; `xs` shows no content).

type MarkerContentTypeIcon \= {  
    [element](#element)?: never;  
    [icon](#icon): [MapTilerMarkerIcon](https://docs.maptiler.com/sdk-js/api-reference/types/MapTilerMarkerIcon/);  
    [template](#template)?: never;  
    [templateParams](#templateparams)?: never;  
    [url](#url)?: never;  
}

##### Index

### Properties

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

## Properties

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

element?: never

### icon[](#icon)

icon: [MapTilerMarkerIcon](https://docs.maptiler.com/sdk-js/api-reference/types/MapTilerMarkerIcon/)

Name of a built-in icon.

### `Optional`template[](#template)

template?: never

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

templateParams?: never

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

url?: never
