Device Token

Kevin Hartin2 months ago

In a previous post, I get to generate device tokens using the devices/share API call.

What I just noticed is that the maps available are limited to LocationIQ Streets, Open Street Maps and Carto Base Maps, rather than those that are configured under my username, particularly Google Hybrid.

Is there any way to set these Maps for the temporary user?

Possibly with a trigger on tc_users to duplicate the originating users Maps, or is this something that requires a future development?

Which table contains these Map settings for the user?

Kev

Anton Tananaev2 months ago

You can configure those globally if you have admin access.

Kevin Hartin2 months ago

Yes I have admin access and I have set the maps in Settings -> Preferences -> Map. It works fine on my login, but only shows LocationIQ Streets, Open Street Maps and Carto Base Maps when I create a device token.

Anton Tananaev2 months ago

You should copy attributes from your account to server attributes.

Kevin Hartin2 months ago

Thanks Anton, it is now working as expected.

Kev