This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Style errors in ios-v2.1.0-pre.4 #2319
Labels
Comments
/cc @lucaswoj @jfirebaugh |
Re: the circle render problem, circles are not heavily testing on native yet (for example, iOS bindings in #2167 are not yet implemented) but IIRC the rendering from a style like this should work as of v8. |
Also, just noticed that the renderer seems to be skipping certain layers. Haven't found any patters. Non-rendering layer:
Almost identical layer that renders just fine:
Both of these layers render just fine in mapbox-gl-js 0.1.0. This error is also visible on the screenshot above, where the green part of the circles is not rendering on gl-native. |
@incanus: All issues resolved in ios-v2.1.2, great job. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey,
getting the following errors after updating to ios-v2.1.0-pre.4 and migrating the style to v8.
text-font:
console error:
Example layer causing error:
Layer is validated with v8 gl-style-validate and works fine in mapbox-gl-js 0.1.0. Changing the text-font property to a string resolves this issue (but it is not according to the v8 gl style spec) and this change breaks in gl-js.
circle layer type:
console error:
Example layer:
Also validated with v8 gl-style-validator and works fine on web.
Icon-size
It looks like the icon-size ignored/bugged as gl-native icon sizes are a lot larger than gl-js. See attached screenshots
gl-native:
gl-js:
In gl-js you'll barely see the blue crosses. Dont know if this could be caused by the errors mentioned above. Example layer:
The text was updated successfully, but these errors were encountered: