Skip to content

Feature: GeoJSON Marker Title Prop & A bit Refactor#3965

Merged
christopherdro merged 9 commits intoreact-native-maps:masterfrom
kuraydev:Feature/GeoJSONTitle
Sep 29, 2021
Merged

Feature: GeoJSON Marker Title Prop & A bit Refactor#3965
christopherdro merged 9 commits intoreact-native-maps:masterfrom
kuraydev:Feature/GeoJSONTitle

Conversation

@kuraydev
Copy link
Contributor

Does any other open PR do the same thing?

No other PR has the same thing

What issue is this PR fixing?

No issue right there, directly a fix and a new feature.

How did you test this PR?

Tested on both iOS and Android with both simulators and real devices.

What to do

New Feature

  • GeoJSON has the new prop option: title which shows a default Callout with the title.
  • A bit of code refactoring for props. It has a de-construction for better code maintainability.

@kuraydev
Copy link
Contributor Author

@christopherdro, Actually I could not find the linter error. Can you help me to find it to pass from CI.

@christopherdro
Copy link
Collaborator

@WrathChaos please update the docs and types for this new props. I’ll take a closer look at the error on CI

@kuraydev
Copy link
Contributor Author

@christopherdro,
I updated the doc, should I update anywhere else?

@christopherdro
Copy link
Collaborator

@kuraydev
Copy link
Contributor Author

@christopherdro Done :)

@christopherdro
Copy link
Collaborator

christopherdro commented Sep 28, 2021

@WrathChaos I made a mistake while trying to fix the lint errors. Can you push force push your changes on branch Feature/GeoJSONTitle that you have locally back up to your fork?

@kuraydev kuraydev force-pushed the Feature/GeoJSONTitle branch from 11d38a7 to 4e310e3 Compare September 29, 2021 12:43
@kuraydev
Copy link
Contributor Author

@christopherdro Done

@christopherdro christopherdro merged commit b27b82e into react-native-maps:master Sep 29, 2021
@kuraydev
Copy link
Contributor Author

@christopherdro When do you think this and the other PR's will be on live?

@christopherdro
Copy link
Collaborator

@WrathChaos Can't say for sure right now, but one option is to point to your fork and create a branch with whatever changes you want on top of the latest stable release.

pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
…s#3965)

* new: PropType is added for title prop

* new: PropType is added for title prop

* new: tappable prop has the PropType description

* fix: tappable crash is fixed

* fix: Better description for title prop

* new: GeoJSON doc is updated

* new: types are added for geojson on index.t.ts

* Fix lint

* cleanup

Co-authored-by: Christopher Dro <hello@blick-labs.com>
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.

2 participants