Skip to content

nikolawannabe/s2-cells

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s2-cells

This plugin will allow you to visualize s2 cells on top of IITC. You can set two different configurable levels, one which is shown on the map in a light color (should be higher cell number), and one which is marked in a darker color (should be lower).

It's ok to set them both to the same.

If you set either of the numbers too high for your current zoom level (so it would cause your browser to freak out for drawing too many squares), we will try and determine this and not display either of them.

This is just an initial attempt and could still use a lot of work, though I consider it functional and useful enough at this time. It's probably not going to crash/freeze your browser/tab, unless you have a huge screen.

You can learn more about Cell Levels if you want.

This info is based largely on info from Reddit's TheSilphRoad, OpenStreetMaps, overpass turbo, and simply testing by creating new portals to find out what happens.

With thanks and credit to all who have come before, including original l17 plugin submitter vibrunazo and quality PR by Dragonsangel.

Configuration

Visualization

Install Current Version to IITC

About

Visualize 2 S2 cell levels at once on top of IITC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%