N
N
Name Surname2018-11-15 16:25:19
Google Maps
Name Surname, 2018-11-15 16:25:19

How to install a map on a site with a balloon at a specific position?

Guys, I'm making up a site, and there was a need to add a map with the exact size of the place, well, let's say, as in the picture below. If I try to add a map to the site, then it is shown without labels, and with a map size scale that is like a globe (continents and oceans), but I need the exact address.
Maybe there is some algorithm for how to do this? Or rather, a way that, when inserted into the site, the map remains the same size as when I viewed it in Google maps.
5bed72431913c978881088.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2018-11-15
@Uspeshnyy_Programmist

First you need to select the maps that you will use (apparently Google maps), then read the documentation for the api of these maps:
https://developers.google.com/maps/documentation/
In the very first chapters there will be information about scaling and coordinates. A little further about plotting points on a map . And a little further examples of custom balloons and pop-ups.
Attention: knowledge of js is required, the issue of map integration lies in the js plane and has little to do with html and css that you specified in the tags.

A
AlexVOK, 2020-04-08
@AlexVOK

Everything is quite simple. Decide on the basis of what the map will be made on the site, and then use the instructions:
For Yandex.Maps
For Google Maps
For 2GIS Maps

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question