# Geolonia Official Documentation
> Official documentation for Geolonia Maps, compatible with MapLibre GL JS.
Geolonia provides an Embed API that allows you to embed maps into your website by simply writing HTML. Advanced customization is also possible through the JavaScript API (compatible with MapLibre GL JS).
---
## Tutorial
This tutorial introduces common methods for embedding Geolonia maps into your website, organized by purpose.
### Table of Contents
* [Introduction](/tutorial/001/)
* [Get an API Key](/tutorial/002/)
* [Set Up HTML Tags for Embed API](/tutorial/003/)
* [Place Your First Map](/tutorial/004/)
---
## Introduction
URL: https://docs.geolonia.com/tutorial/001/
An introduction to the process of embedding Geolonia maps into your site.
### About the Embed API
With the Geolonia Embed API, you can customize maps just by writing HTML, without any JavaScript knowledge.
```html
National Diet Building
```
Under the hood, this API uses [MapLibre GL JS](https://maplibre.org/maplibre-gl-js-docs/api/), and you can also use JavaScript for more advanced customization.
### Supported Browsers
* Internet Explorer 11 and later, and the latest versions of all modern browsers.
* In some browsers like Firefox, due to WebGL restrictions, you cannot place more than 16 maps on a single page.
* The API key `YOUR-API-KEY` does not allow usage within an `iframe`.
You can check whether your browser is supported with the following code:
```javascript
if (!geolonia.supported()) {
alert('Your browser does not support MapLibre GL.')
} else {
const map = new geolonia.Map('#map')
}
```
### Vector Tiles
Geolonia maps use vector tiles, which are dynamically rendered with WebGL.
This enables map animations, 3D rendering, and extensive visual customization.
### Lazy Loading Supported by Default
Geolonia maps are designed to start rendering only when the map block becomes visible on the page.
### Internationalization
Geolonia maps support Japanese and English.
Language switching is automatic based on the user's browser settings, so webmasters generally don't need to worry about map language.
```html
National Diet Building
```
### GeoJSON
Geolonia maps support loading GeoJSON by default.
```html
```
### About Styles
The Embed API allows you to specify styles using the `data-style` attribute.
```html
National Diet Building
```
### Open Source
The Embed API source code is published as open source.
[https://github.com/geolonia/embed](https://github.com/geolonia/embed)
All styles are also open source, and you are free to fork them and create your own original styles.
[https://github.com/geolonia/basic](https://github.com/geolonia/basic)
---
## Get an API Key
URL: https://docs.geolonia.com/tutorial/002/
How to obtain an API key for embedding Geolonia maps into your site.
### About API Keys
To use Geolonia maps on your website, you need to obtain an API key.
To get an API key, you need to sign up on the Geolonia dashboard.
[https://app.geolonia.com/#/signin](https://app.geolonia.com/#/signin)
API keys are linked to Geolonia maps, and when obtaining an API key, you need to register the URL of the site where you will use the map in the dashboard. This is necessary to prevent unauthorized use of API keys by malicious third parties.
You can register multiple URLs for a single API key, so it's a good idea to also register your local development and staging environments.
You can also obtain multiple API keys with a single user account.
### Usage in Development Environments
When using an API key in test environments such as `https://*.test`, or local environments like `http://127.0.0.1:` or `http://localhost:`, no charges will be incurred, so you can develop with peace of mind.
The following URLs are allowed by default, so you can try them out immediately without any special settings when creating an API key.
#### Eligible URLs and Services
* `http://127.0.0.1:*`
* `http://localhost:*`
* `https://*.test` (also supports `http`, all port numbers)
* `https://*.example` (also supports `http`, all port numbers)
* GitHub Pages (`https://*.github.io`) *Custom domains are not included.
* Netlify (`https://*.netlify.com`, `https://*.netlify.app`) *Custom domains are not included.
* Vercel (`https://*.vercel.app`) *Custom domains are not included.
* [CodePen](https://codepen.io/)
* [JSFiddle](https://jsfiddle.net/)
* [CodeSandbox](https://codesandbox.io/)
* [PLAYCODE](https://playcode.io)
* [Web Maker](https://webmaker.app)
* URLs must match including the scheme. For example, `http://127.0.0.1:8000` works, but `https://127.0.0.1:8000` does not because the scheme differs (`http` vs `https`).
* Map views from the above URLs are excluded from the map view count in the dashboard.
### About YOUR-API-KEY
In Geolonia documentation and samples, the API key `YOUR-API-KEY` is used as a sample.
This API key is permitted to work on URLs specified in the "Eligible URLs and Services" section, so you can try it out immediately without signing up.
* Maps using `YOUR-API-KEY` are not allowed to be used within an `iFrame`.
### Map Display Limits
If the number of map views exceeds the free plan limit, map delivery will be suspended. Map views in the free development environments listed above are not counted and can be used for free.
To remove display limits, sign in to the dashboard and register a credit card to apply for a paid plan.
[View plan pricing](https://geolonia.com/pricing/)
---
## Set Up HTML Tags for Embed API
URL: https://docs.geolonia.com/tutorial/003/
How to set up the Geolonia Embed API on your page.
### Setting Up the Embed API HTML Tag
To set up the Geolonia Embed API on your web page, place the following code just before `