Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Query rendered features with icon-rotate #12909

Closed
tobrun opened this issue Sep 18, 2018 · 1 comment
Closed

Query rendered features with icon-rotate #12909

tobrun opened this issue Sep 18, 2018 · 1 comment
Assignees
Labels
Core The cross-platform C++ core, aka mbgl querying Issues with querySourceFeatures or queryRenderedFeatures

Comments

@tobrun
Copy link
Member

tobrun commented Sep 18, 2018

Capturing from a downstream issue in nitaliano/react-native-mapbox-gl#1347 and validated upstream. Query rendered features doesn't take in account the icon-rotate property, see gif below as example. First we are offseting the icon and afterwards applying a rotation to it.

ezgif com-video-to-gif 44

@tobrun tobrun added the Core The cross-platform C++ core, aka mbgl label Sep 18, 2018
@ryanhamley ryanhamley self-assigned this Sep 21, 2018
@kkaefer kkaefer added querying Issues with querySourceFeatures or queryRenderedFeatures and removed querying Issues with querySourceFeatures or queryRenderedFeatures labels Sep 25, 2018
@mollymerp
Copy link
Contributor

mollymerp commented Oct 15, 2018

this is a duplicate of #11872

from that issue:

Port of mapbox/mapbox-gl-js#6631 -- should be very straightforward.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl querying Issues with querySourceFeatures or queryRenderedFeatures
Projects
None yet
Development

No branches or pull requests

4 participants