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

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

Merged

Conversation

WrathChaos
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.

@WrathChaos
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

@WrathChaos
Copy link
Contributor Author

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

@christopherdro
Copy link
Collaborator

@WrathChaos
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?

@WrathChaos
Copy link
Contributor Author

@christopherdro Done

@christopherdro christopherdro merged commit b27b82e into react-native-maps:master Sep 29, 2021
@WrathChaos
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.

borjomemost pushed a commit to borjomemost/react-native-maps that referenced this pull request May 6, 2022
…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 <[email protected]>
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