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

Separate topojson files to load faster #4

Open
joehand opened this issue Oct 13, 2015 · 1 comment
Open

Separate topojson files to load faster #4

joehand opened this issue Oct 13, 2015 · 1 comment

Comments

@joehand
Copy link
Member

joehand commented Oct 13, 2015

Could separate the original road (and other pieces)?

@joehand joehand modified the milestone: 0.1 Oct 13, 2015
@joehand
Copy link
Member Author

joehand commented Oct 16, 2015

Or we could use properties like:

{
    "properties" : {
        "start" : {
            "road" : false,
            "interior" : true,
        },
        "intermediate": [
            {
                "step_num" : 100,
                "road" : false,
                "interior" : false,
            },
            {
                "step_num" : 105,
                "road" : true,
                "interior" : false,
            }
        ],
        "end" : {
            "road" : true,
            "interior" : false
        }
    }
}

Would that work? Then if the step is greater then step_num use that property...?

@joehand joehand modified the milestone: 0.1 Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant