---
title: "How to switch from Google Maps API to OpenStreetMap? | Guides | Maps apis | Maps platform"
description: "Learn how to switch from Google Maps to OpenStreetMap."
---

> 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.

# How to switch from Google Maps API to OpenStreetMap?

Switching from Google Maps Platform to MapTiler, which is an OSM tiles provider, is very easy and straightforward. You can significantly cut costs: [compare prices and see how much you can save](https://www.maptiler.com/google-maps-platform-alternative/).

## Static maps

For static maps, you can either use a Visual generator or API. Both methods are described [here](https://docs.maptiler.com/guides/maps-apis/static-maps/static-maps-for-your-web).

### Dynamic maps with JavaScript

MapTiler supports standard JavaScript libraries, including [MapTiler SDK](https://docs.maptiler.com/sdk-js/), MapLibre GL JS, Leaflet, and OpenLayers. You can visit[our documentation](https://docs.maptiler.com/sdk-js/) to learn how to create map applications using these libraries.

Pro tip: learn how to create an interactive map using Leaflet with our YouTube tutorial series.

## Maps on mobile devices

To start using MapTiler in your mobile app, you have to switch your mobile SDK. MapTiler supports multiple mobile SDKs. However, we recommend using MapLibre Mobile SDK for [Android](https://docs.maptiler.com/mobile-sdk/android/) and [iOS](https://docs.maptiler.com/mobile-sdk/ios/).
