A
A
Alexander Loginov-Solonitsyn2016-06-13 17:56:43
JavaScript
Alexander Loginov-Solonitsyn, 2016-06-13 17:56:43

How to fix the view of Chukotka on the map of Russia?

Всем доброго времени суток.
Я делаю определенную статистику по регионам нашей родины.
Карту в виде geojson взял отсюда - overpass-turbo.eu/. Карту строю на leaflet.js
Но столкнулся с проблемой - Чукотка на карте как-то странно отображается.
3687233ad5f3483ea10e6c36b5ff9145.jpg
Хотелось бы, чтобы границы были как вот на этой карте - https://github.com/zarkzork/russia-topojson/blob/m... (саму эту карту использовать не могу, данные на ней устарели).
e09c735031514d488dc2b557366bc2ea.jpg
Буду рад любому совету, даже пинку, так как в делах с картами я полный ноль =)
спасибо!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Edward, 2016-06-13
@kasheibess

Possible problems (the list is not exhaustive):

  • Problem in the software
    Have you tried showing GeoJSON using Leaflet's built-in tools?
    leafletjs.com/examples/geojson.html
  • Data problem
    Try downloading the borders from https://osm.wno-edv-service.de/boundaries/ There you can select the format below and indicate whether the border will run along the coast or include a strip of sea along the coast. The only thing is that to use this service, you need to have an account on openstreetmap.org (registration is not at all difficult) and log in using it using the "Enable OAuth" button at the top right.
    And for the future, if you update your borders, it's better to download from there, and not from Overpass.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question