Device Token

Kevin Hartin19 days 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 Tananaev19 days ago

You can configure those globally if you have admin access.

Kevin Hartin19 days 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 Tananaev19 days ago

You should copy attributes from your account to server attributes.

Kevin Hartin19 days ago

Thanks Anton, it is now working as expected.

Kev