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

steps of drawing #958

Closed
ivangorelow opened this issue Sep 8, 2016 · 11 comments
Closed

steps of drawing #958

ivangorelow opened this issue Sep 8, 2016 · 11 comments

Comments

@ivangorelow
Copy link

marker_cam_on:
                 data: { source: marker_cam_on }
                 draw:
                     priority: 1
                     sdk-point-overlay-green:
                         interactive: true
                         sprite: segment-green
                         size: [24px,24px]
                         collide: false
                         anchor: top
                         transition:
                                         [show, hide]:
                                             time: 0s

I'd like to draw this layer in the first step, is it possiblle?

@ivangorelow
Copy link
Author

because sometimes I lose this layer

@ivangorelow
Copy link
Author

sdk-point-overlay-green:
            base: points
            texture: markerIcon
            priority: 1
            interactive: true
            blend: overlay
            blend_order: 4

@ivangorelow
Copy link
Author

ezgif com-resize

@ivangorelow
Copy link
Author

this is scene file
traditional.txt

@matteblair
Copy link
Member

I'm not sure what you mean by "draw this layer in the first step", can you explain more?

Thanks for sharing your scene file. It is hard to read because of the irregular indentation, I would recommend using a fixed indentation of 4 spaces for each level of nesting (this doesn't matter to the YAML parser, it is only for human readability).

The layer marker_cam_on is repeated 5 times in the scene file. This is technically invalid YAML and you should remove all but one of them.

It is difficult to determine what problem you may be having with your point data layers because I don't know what data you are adding and how you are adding it. Please explain more or provide sample code that shows the problem.

@ivangorelow
Copy link
Author

I add all points in onMapReady. My problem: in some zoom levels I lose some points.

@ivangorelow
Copy link
Author

New version of yaml traditional.txt

@ivangorelow
Copy link
Author

I want to find the way, that draws my markers in all situations

@ivangorelow
Copy link
Author

I think my problem is similar with #843

@matteblair
Copy link
Member

Issue #843 was resolved in previous changes. Are you using the latest release of the Tangram Android SDK?

@ivangorelow
Copy link
Author

I'm sorry. thank you

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