-
Notifications
You must be signed in to change notification settings - Fork 19
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
HERE Vector Tile and Mapbox display POIs #18
Comments
I've managed to display labels of train stations via adding this section within my
However I'm asking myself how to display the icons 🤔 |
Nice I came up with a similar solution as-well. But I guess for icons we have to importe the icons' sprite and link them to the styles.json. |
We're using a <MapboxGL.SymbolLayer
id="points_of_interest" // notice, name is same as I defined in the style.json
style={{
iconAllowOverlap: true,
iconSize: [
'interpolate',
['exponential', 1.5],
['zoom'],
10, // min zoom interpolation
0.05, // icon size at min zoom
16, // max zoom interpolation
0.08, // icon size at max zoom
],
iconImage: require('App/Images/station.png'),
iconAnchor: 'bottom',
iconRotationAlignment: 'viewport',
}}
/> |
Hello, you are going in the right direction.
Accessible on that path you must have a
This means that your index file has a
to allow for overlaps and better finetune the style sheet. |
Hi,
How can I display HERE POIs layer on Mapbox?
F.
The text was updated successfully, but these errors were encountered: