How to add a 2GIS map to a Turbosite website
2GIS is a detailed mapping service, especially popular for regional cities and offline businesses. A map with your organization shows contact details, opening hours, photos, and buttons for route planning. You can get the widget for free — you just need to register your company in 2GIS. Installation takes 5–10 minutes.
What you will need
- A company profile in 2GIS (if you don’t have one — add your organization) — free of charge
- A published website on Turbosite
- 5–10 minutes
Step 1. Get the 2GIS widget code
- Open 2gis.ru/widget (the widget builder).
- Select your city and find your organization using the search bar.
- Select the required branch from the list.
- Configure the displayed elements (markers, dimensions, company information).
- Agree to the terms of use and click “Get code”.
- Copy the generated widget code.
📷 Screenshot: 2GIS widget builder with the selected organization and the “Get code” button.
⚠️ Check for updates: the exact path to the widget builder in 2GIS may change. If you can’t find it, search for “2GIS widget”, “Map for website”, or “2GIS API”.
Step 2. Insert the code into Turbosite
The map appears in a specific place on the page (usually in the “Contacts” block), so the code is inserted into the body of the page.
- Open your website in Turbosite.
- Add an “HTML code” block to the desired location on the page.
- Paste the 2GIS widget code.
- Save the changes.
- Publish the website.
📷 [Turbosite screenshot — to be added: HTML code block in the page body with the 2GIS widget].
Step 3. Verify that the map is working
- Open your published website.
- Scroll to the map block — the 2GIS map with your marker should load.
- Check that the following are displayed: organization name, address, and the “Find entrance” and “Get directions” buttons.
- Open it on a mobile device — the map should adapt to the screen width.
FAQ
My company is not in 2GIS — what should I do? First, add your organization to the 2GIS directory for free via your personal account. After moderation (1–7 days), you will be able to get the widget.
Can I just put a city map without my organization? The 2GIS widget is linked to an organization. For an abstract map of an area, use the 2GIS API or an alternative — for example, Yandex Maps or OpenStreetMap (Leaflet).
The map is cut off on mobile devices. In the widget builder, select “100%” width instead of a fixed width — the map will stretch to fit the screen.
How much does it cost? A basic widget with one marker is free. A paid API is required for complex tasks (multiple markers, routes, customization) — contact the 2GIS sales department.
The map loads slowly. The 2GIS widget loads asynchronously. If there are many other heavy elements on the page, consider using lazy-load.
Where to look next
- 2GIS Widget — builder
- 2GIS API Documentation — for fine-tuning
- 2GIS Personal Account — manage your company and widgets