-
Notifications
You must be signed in to change notification settings - Fork 1.3k
non-solid matte #119
Comments
Yes |
@kkaefer how tough is this to hit? Should this be manually drawn somehow or just have a texture used repetitively? |
Bump on this. @kkaefer is this difficult? I'm hesitant to just put a texture in there for performance reasons, so I don't know best approach here. But with a blank map, stalls give the appearance of no interaction, when really panning, zooming, and rotating are still working. |
:/ If we must can it be suuuper subtle? The apple grid is gross. |
Yeah, we can make it very light. We can double back on this later. I think it's important for a demo, though. |
I think I mostly have this working if I can just get an image into the sprite. @edenh @nickidlugash what process are we using to add assets to the sprite currently? |
This is working pretty well in this branch with a correct sprite image. We'll work on a more refined version with major/minor gridlines next. |
Done in #301. |
We took this back out in 7a4a833 for performance reasons, so this still needs to happen. |
Can't this be done in the style via |
The idea is that the grid represents the "surface" that the map is drawn on, which orients gestural interaction better, before any actual content is drawn. As such, as long as it has zero delay relating to style parsing, tile download/parse/render, and the like, it could work. I think we would need #163 first though, or else |
+1 |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
Sorry |
GL-native supports the same UX as GL-JS shown in #119 (comment). This is a better UX as showing a grid or nothing at all. @ulusoyca could you elaborate why this is needed for your use-case? |
@tobrun Correct me if I am wrong but the comment you pointed assumes that there are preloaded tiles. In my use case, there is no guarantee of preloaded tiles so it makes difficult to distinguish unloaded tile from background layer |
that is correct, you will just see the background color. One way to achieve your effect, haven't verified this but should work, would be to updating your style with:
|
|
Ok, I was able to add the layer through Mapbox Studio with the following dataset:
|
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
We should consider a non-solid matte for better context. Consider Apple Maps's grid:
https://dl.dropboxusercontent.com/u/575564/matte.mov
The text was updated successfully, but these errors were encountered: