{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3949","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3949/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3949/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3949/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/3949","id":200018246,"number":3949,"title":"this.functionInterpolationT is not a function","user":{"login":"stevage","id":678344,"avatar_url":"https://avatars.githubusercontent.com/u/678344?v=3","gravatar_id":"","url":"https://api.github.com/users/stevage","html_url":"https://github.com/stevage","followers_url":"https://api.github.com/users/stevage/followers","following_url":"https://api.github.com/users/stevage/following{/other_user}","gists_url":"https://api.github.com/users/stevage/gists{/gist_id}","starred_url":"https://api.github.com/users/stevage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevage/subscriptions","organizations_url":"https://api.github.com/users/stevage/orgs","repos_url":"https://api.github.com/users/stevage/repos","events_url":"https://api.github.com/users/stevage/events{/privacy}","received_events_url":"https://api.github.com/users/stevage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-11T07:01:56Z","updated_at":"2017-01-11T19:00:40Z","closed_at":null,"body":"**mapbox-gl-js version**: 0.28.0 and 0.30.0\r\n\r\n### Steps to Trigger Behavior\r\n\r\n 1. https://city-of-melbourne.github.io/anything-map/#84bf-dihi\r\n 2. Hover over a point, then click 'VENUE_RECN'\r\n 3. Click the Close X button\r\n\r\n### Expected Behavior\r\n1. Circles the same size\r\n2. Circles vary in size\r\n3. Circles the same size\r\n\r\n\r\n### Actual Behavior\r\nIn step 3:\r\n\r\n```\r\nUncaught TypeError: this.functionInterpolationT is not a function\r\n    at StyleDeclaration.calculateInterpolationT (style_declaration.js:58)\r\n    at t.i.getPaintInterpolationT (style_layer.js:162)\r\n    at ProgramConfiguration.setUniforms (program_configuration.js:193)\r\n    at Object.drawCircles [as circle] (draw_circle.js:30)\r\n    at Painter.renderLayer (painter.js:271)\r\n    at Painter.renderPass (painter.js:254)\r\n    at Painter.render (painter.js:213)\r\n    at e._render (map.js:1128)\r\n```\r\n\r\nSorry, this is far from a minimal repro case, but what is happening: after initially creating the style, in step 2 I call `map.setPaintProperty('points','circle-radius', p)` where p is:\r\n\r\n```\r\n{\r\n  \"property\": \"VENUE_RECN\",\r\n  \"stops\": [\r\n    [\r\n      {\r\n        \"zoom\": 10,\r\n        \"value\": 5\r\n      },\r\n      1\r\n    ],\r\n    [\r\n      {\r\n        \"zoom\": 10,\r\n        \"value\": 1627\r\n      },\r\n      3\r\n    ],\r\n    [\r\n      {\r\n        \"zoom\": 17,\r\n        \"value\": 5\r\n      },\r\n      3\r\n    ],\r\n    [\r\n      {\r\n        \"zoom\": 17,\r\n        \"value\": 1627\r\n      },\r\n      10\r\n    ]\r\n  ]\r\n}\r\n```\r\n\r\nIn step 3, I call it with this parameter:\r\n\r\n```\r\n{\r\n  \"stops\": [\r\n    [\r\n      10,\r\n      2\r\n    ],\r\n    [\r\n      17,\r\n      5\r\n    ]\r\n  ]\r\n}\r\n```\r\n\r\nBefore I go too far creating a minimal repro case, just wanted to check it wasn't already known."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/271961621","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/3949#issuecomment-271961621","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3949","id":271961621,"user":{"login":"lucaswoj","id":281306,"avatar_url":"https://avatars.githubusercontent.com/u/281306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswoj","html_url":"https://github.com/lucaswoj","followers_url":"https://api.github.com/users/lucaswoj/followers","following_url":"https://api.github.com/users/lucaswoj/following{/other_user}","gists_url":"https://api.github.com/users/lucaswoj/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswoj/subscriptions","organizations_url":"https://api.github.com/users/lucaswoj/orgs","repos_url":"https://api.github.com/users/lucaswoj/repos","events_url":"https://api.github.com/users/lucaswoj/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswoj/received_events","type":"User","site_admin":false},"created_at":"2017-01-11T19:00:40Z","updated_at":"2017-01-11T19:00:40Z","body":"Thanks for the bug report! These symptoms don't look familiar to me. "}}
{"actor":{"display_login":"lucaswoj"}}