Railways on Google Maps

So, I noticed that when the map is enlarged to 11th level, there are railway tracks. Is it possible to create a map to make railways more weighty (larger) and can be seen, for example, when increasing to level 6? He will not use the referral service, as I am not performing a search from one place to another.

+4
source share
2 answers

Using Styled Maps , you can create a type style transit.line. For example:

[
  {
    "featureType": "transit.line",
    "stylers": [
      { "color": "#ff0280" },
      { "weight": 4 }
    ]
  }
]

, , , , , (). , - , . .

API Reference.

, : .

, .

+3
+1

Source: https://habr.com/ru/post/1535049/


All Articles