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

Fix GeoJSONData.url incorrectly converting to string #1587

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

evil159
Copy link
Contributor

@evil159 evil159 commented Sep 21, 2022

toString() conversion converts GeoJSONData.url case into JSON-wrapped string e.g.: ""http://example.com"", while core expects urls to be passed as plain strings.

Pull request checklist:

  • Describe the changes in this PR, especially public API changes.
  • Write tests for all new functionality. If tests were not written, please explain why.

PRs must be submitted under the terms of our Contributor License Agreement CLA.

@evil159 evil159 requested a review from a team as a code owner September 21, 2022 06:07
@evil159 evil159 merged commit 7055ad3 into main Sep 21, 2022
@evil159 evil159 deleted the rl/fix-geojson-url-to-string branch September 21, 2022 10:15
persidskiy pushed a commit that referenced this pull request Feb 24, 2023
* Fix for Style/updateLayer fail if nested properties dictionary contains nil (#1565)

- Error happens due to layer's properties contains nil values for nested keys, for these keys, default values will not be applied so they would appear as nil when updating a layer. The fix is to only apply nil encoding for the root properties of the dictionary.

* Flag MapRecorder with @_spi(Internal) (#1582)

* Remove unused images when updating point annotations (#1583)

* Parse GeoJSON data on a background queue (#1576)

* Fix toString conversion on iOS 12 (#1584)

* Use asynchronous GeoJSON marshaling in annotation managers (#1588)

* update generated docs (#1586)

* Fix GeoJSONData.url incorrectly converting to string (#1587)

* Expose distance-from-center and pitch expressions  (#1559)

* Bump MapboxCoreMaps and MapboxCommon (#1589)

* Expose opacity for location puck (#1585)

* Fix merge issues

Co-authored-by: Mai Mai <mai.mai@mapbox.com>
Co-authored-by: Roman Laitarenko <roman.laitarenko@mapbox.com>
Co-authored-by: Ankur Khandelwal <ankur.khandelwal@mapbox.com>
Co-authored-by: Tobrun <tobrun.van.nuland@gmail.com>
Co-authored-by: ZiZi <44972592+ZiZasaurus@users.noreply.github.com>
OdNairy added a commit that referenced this pull request Aug 22, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants