Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding tileSize props for iOS. #2627
Does any other open PR do the same thing?
There are some related open issues talking about tile size. And there is one issue asking for PR of tile size props. So here it is this PR trying to resolve these issue.
What issue is this PR fixing?
Support for tileSize in UrlTile props #2567
How did you test this PR?
On iOS, use the sample code to initialize a map view with URL tile on it. And the tile's size should be other than 256 to trigger the issue that on iOS default tile size (256 * 256) is always used.
Then in your UrlTile component, add a tileSize prop with the expected tile size number and run your app again. Now you should see the tile being correctly rendered according to your tile size prop.