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

videosource layers broken #541

Closed
edenh opened this issue Jul 11, 2014 · 3 comments
Closed

videosource layers broken #541

edenh opened this issue Jul 11, 2014 · 3 comments
Assignees

Comments

@edenh
Copy link
Contributor

edenh commented Jul 11, 2014

Not able to get video layers to work with the latest build. Stylesheet:

{
  "version": 4,
  "sources": {
    "satellite": {
      "type": "raster",
      "url": "mapbox://mapbox.satellite"
    },
    "video": {
      "type": "video",
      "url": ["https://www.mapbox.com/videos/baltimore-smoke.mp4", "https://mapbox.com/videos/baltimore-smoke.webm"],
      "coordinates": [
        [39.18579907229748, -76.54335737228394],
        [39.1838364847587, -76.52803659439087],
        [39.17683392507606, -76.5295386314392],
        [39.17876344106642, -76.54520273208618]
      ]
    }
  },
  "layers": [
    {
      "id": "sat",
      "source": "satellite",
      "type": "raster",
      "style": {
        "raster-saturation": -1,
        "raster-contrast": 0.2,
        "raster-brightness": [-0.05, 1.2]
      }
    },
    {
      "id": "vid",
      "source": "video",
      "type": "raster",
      "style": {}
    }
  ]
}
@yhahn yhahn self-assigned this Jul 11, 2014
@yhahn
Copy link
Member

yhahn commented Jul 11, 2014

taking.

yhahn added a commit that referenced this issue Jul 11, 2014
@yhahn
Copy link
Member

yhahn commented Jul 11, 2014

@edenh I'm having better luck after this change ^^ want to give it a shot?

@edenh
Copy link
Contributor Author

edenh commented Jul 11, 2014

Fixed, thanks @yhahn

@edenh edenh closed this as completed Jul 11, 2014
lucaswoj added a commit that referenced this issue Jan 11, 2017
* Deprecate "interactive" property

fixes #541

* Add test to assert that layers with deprecated 'interactive' property do not cause an error

* Generate v8.min.json
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