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

[android] #2273 - Adjust InfoWindow triangle for edge of screen annotations - #2601

Merged
tobrun merged 1 commit into
masterfrom
2273-Adjust-InfoWindow-Triangle-To-Fit-Screen
Oct 14, 2015
Merged

tobrun merged 1 commit into
masterfrom
2273-Adjust-InfoWindow-Triangle-To-Fit-Screen

Conversation

@tobrun

@tobrun tobrun commented Oct 13, 2015

Copy link
Copy Markdown
Member

closes #2273

@bleege

bleege commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

One of the Travis build variants (Linux) didn't work. Restarting it to see if it'll take and then we can merge.

@bleege

bleege commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

This looks like an issue with Node. I've asked @jfirebaugh @mikemorris to 👀 at it. Will hold off on merging until they 👍.

https://travis-ci.org/mapbox/mapbox-gl-native/jobs/85113789

screen shot 2015-10-13 at 11 12 08 am

@bleege

bleege commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

@jfirebaugh pointed out that this is a known issue with Node right now.

@bleege

bleege commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

I just tried running the code locally on HTC M9 and saw that while the triangle was moving properly back and forth per pin location on screen, there's a consistent big gap between the top of the Marker and bottom of the InfoWindow Triangle. This occurred both in the MainActivity and PressForMarkerActivity. I also couldn't get the InfoWindowActivity to load... it just showed a black screen but didn't crash. Below are some screenshots:

device-2015-10-13-115810
MainActivity Centered

device-2015-10-13-115836
MainActivity Left

device-2015-10-13-115908
MainActivity Right

device-2015-10-13-120056
PressForMarkerActivity

@ljbade

ljbade commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

Hmm could be related to #2599

… in account margins/offset, exposed margin of InfoWindow as configurable
@tobrun
tobrun force-pushed the 2273-Adjust-InfoWindow-Triangle-To-Fit-Screen branch from 4b53528 to 981ac40 Compare October 14, 2015 08:21
@tobrun

tobrun commented Oct 14, 2015

Copy link
Copy Markdown
Member Author

@bleege after reverting master, I'm not seeing these issues anymore:
device-2015-10-14-102653

device-2015-10-14-102740

Waiting for travis to complete before merging

@tobrun

tobrun commented Oct 14, 2015

Copy link
Copy Markdown
Member Author

Travis approved

@tobrun
tobrun merged commit 981ac40 into master Oct 14, 2015
@tobrun
tobrun deleted the 2273-Adjust-InfoWindow-Triangle-To-Fit-Screen branch October 14, 2015 08:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adjust InfoWindow triangle for edge of screen annotations

4 participants