1 (edited by easypete 2021-09-14 16:57:03)

Topic: How to get higher DPI and larger labels?

Right now the labels are quite small and the map feels blurry. I am assuming this is due to low DPI.
For Google Maps there should be a parameter called "highDpi" that could be set and also a "scale" for the labels.
https://developers.google.com/maps/documentation/tile/

Are these not supported?

Re: How to get higher DPI and larger labels?

Hello.

Unfortunately, I have not been able to find a way to use this.
So currently you can change the size of text only in Mapbox.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

3 (edited by easypete 2021-09-15 16:52:41)

Re: How to get higher DPI and larger labels?

Is it not pretty straight forward, just add the fields to the json object?
Like this:
{
...
  "scale": "scaleFactor2x",
  "highDpi": true
...
}

Re: How to get higher DPI and larger labels?

Not really.

When using Google Tiles API, the first thing YOU need to do is get the session token:
https://developers.google.com/maps/docu … ion_tokens
Then you register a new provider for requests to Google Tiles API:
https://developers.google.com/maps/docu … e_requests
Example of how to do this:
https://infinity-code.com/atlas/online- … ample.html

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

Re: How to get higher DPI and larger labels?

Oh sorry, I was quite slow there. So in order to have those features I need to sign up for the Tile API plan. I just sent a request for that.

So then I guess my worries about not having high quality maps are gone smile

Thanks for the replies, btw