Skip to content

Issue with sample tile system code  #318

@hvanbakel

Description

@hvanbakel

I use the tile system class as documented here

This has been working well for years. However recently a bug was reported which boiled down to a lat lng of length x would generate a different key then asking for a key of length x+1.
This violates the rule that removing characters at the end gets you a key to a bigger tile that enconmpasses the smaller one.

I've added a sample test case that fails given the code that's on the page right now.

break the tiles.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions