Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Как использовать в leaflet'e? #1

Open
stdex opened this issue Sep 2, 2015 · 1 comment
Open

Как использовать в leaflet'e? #1

stdex opened this issue Sep 2, 2015 · 1 comment

Comments

@stdex
Copy link

stdex commented Sep 2, 2015

Здравствуйте. Не подскажите, как использовать в leaflet, а то там границы съезжают:
https://github.com/KoGor/Maps.GeoInfo/blob/master/russia_1e-7sr.json

Вообщем, похоже известная проблема в leaflet'e:
http://gis.stackexchange.com/questions/110424/stray-horizontal-lines-after-converting-from-geojson-to-topojson
topojson/topojson#242
http://stackoverflow.com/questions/21561960/leaflet-error-in-geojson-overlay-at-russia-finland-border
https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-topojson/

@KoGor
Copy link
Owner

KoGor commented Sep 2, 2015

Да, разрезание по антимеридиану штука известная, ну в привиденных вами ссылках вполне исчерпывающая информация. Можете ещё про обратную задачу посмотреть для понимания: How can I remove a line from the 110m TopoJson world map?

Так что либо разрезать вручную, либо использовать GeoJSON, как-то так.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants