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

Map infinite scrolling through 180 longitude #58

Open
MaximFilimonovGH opened this issue Nov 17, 2022 · 3 comments
Open

Map infinite scrolling through 180 longitude #58

MaximFilimonovGH opened this issue Nov 17, 2022 · 3 comments

Comments

@MaximFilimonovGH
Copy link

MaximFilimonovGH commented Nov 17, 2022

Hi. Is there any way to make map infinitely scroll through 180 longitude? Also, when polygon crosses 180 longitude, it causes an issue that they are being drawn through the entire map from -180 to 180 longitudes. Thanks!

@MaximFilimonovGH MaximFilimonovGH changed the title Map moving through 180 latitude Map infinite scrolling through 180 latitude Nov 17, 2022
@MaximFilimonovGH
Copy link
Author

MaximFilimonovGH commented Nov 17, 2022

To add on this, I am creating an application where a lot of analysis is done in the Pacific Ocean region (passing 180 longitude), so it becomes inconvenient that I need to move to the left and right sides of the map in order to see some of the markers, polygons etc.

One way of resolving this for me would be to set the left and right longitude limits of the tilemap being shown. Currently that is -180 and 180. Is there a way to change that to something custom like -90 to 270?

Thanks in advance!

@TomSchimansky
Copy link
Owner

I will have a look at this!

@MaximFilimonovGH MaximFilimonovGH changed the title Map infinite scrolling through 180 latitude Map infinite scrolling through 180 longitude Jan 12, 2023
@pedro2555
Copy link

I'm dealing with a similar problem with flight routes over the pacific.

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

3 participants