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

MGLPointAnnotations with subtitle are not shown well on v3.7.1 #10745

Closed
derjohng opened this issue Dec 19, 2017 · 3 comments
Closed

MGLPointAnnotations with subtitle are not shown well on v3.7.1 #10745

derjohng opened this issue Dec 19, 2017 · 3 comments
Labels
annotations Annotations on iOS and macOS or markers on Android iOS Mapbox Maps SDK for iOS support

Comments

@derjohng
Copy link

**Platform:iOS
**Mapbox SDK version:3.7.1

Steps to trigger behavior

As attach file, v3.7.1 SDK will not show annotations (MGLPointAnnotations) properly.
I roll back to v3.6.4 with the same code, and it works well.

1219_001

Expected behavior

Actual behavior

@fabian-guerra fabian-guerra added iOS Mapbox Maps SDK for iOS annotations Annotations on iOS and macOS or markers on Android labels Dec 19, 2017
@fabian-guerra
Copy link
Contributor

Hi, @derjohng. Thank you for using Mapbox. I am sorry to hear you are having some issues.

I used our test app to look at the issue you described. I am not able to reproduce the problem you are having.

Could you please add a code snipet or test app we could use to track the problem?

This is showing both title/subtitle. I am using Mapbox Maps SDK for iOS v3.7.0

annotations

@derjohng
Copy link
Author

derjohng commented Dec 20, 2017

Hi, @fabian-guerra
Today, I found the "1 or 2" annotations are the title of MGLPolylines. In old version (v3.6.4), the title of line will not be popup. So, I use that for attribute note. In v3.7.1, click the line, the title will be shown.

This is a new feature? Can I disable showing the title of MGLPolyline?

@fabian-guerra
Copy link
Contributor

Hi, @derjohng.

Starting in https://github.com/mapbox/mapbox-gl-native/releases/tag/ios-v3.7.0

Added support selection of shape and polyline annotations.(#9984)

For MGLPolyline annotations remove the title and subtitle that will avoid showing the callout view.

I am going to close this issue due to is the intended behavior and is not a bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
annotations Annotations on iOS and macOS or markers on Android iOS Mapbox Maps SDK for iOS support
Projects
None yet
Development

No branches or pull requests

2 participants