Pierre Laurence

Results 53 comments of Pierre Laurence

As of now, I do not plan to replace Google Mobile Services (/com/google/android/gms) with another solution. If I decide to release a proprietary-free version, I will re-open this.

Thanks for describing in detail your issue. It would be ideal if you could reproduce your issue in a fork of the demo app, so I can investigate.

I can see that some of your tiles aren't square. In your case, all tiles must be 512x512 px, because MapView does not support rectangular tiles.

You need to convert the GPS coordinates into the projected coordinates. In this case, most map providers (including Google maps) use the "Web Mercator" projection (or, in more technical terms,...

@feczkob Your calculation of the map size is good. However, I believe your issue is that the area covered by the level 13 is greater than the area covered by...

Glad it worked! Your project surely will be useful to others. I'm adding a link to your project in this [discussion](https://github.com/p-lr/MapCompose/discussions/92). Thanks.

Ideally, a just a blocking call such as: ``` encodePNG(Renderer.render(pathToPbfFile, style)) ``` I had a look at the renderer tool you mention. It involves the creation of a Map, then...

Thanks for the clarification. If the library could offer a first class api for static rendering (of map area or just tiles), that would be awesome.

@wipfli The goal is to do this client side, on mobile devices, not server-side.

~This library supports markers lazy loading, which does what you describe. You can see an example in the demo app (see "Markers lazy loading").~ EDIT: sorry I thought the issue...