Publish
Publish lets you display selected asset groups on a public map. You can share the map using a URL or embed it on a website without requiring viewers to sign in.
For example, you can:
- Show customers the live locations of selected assets.
- Display your fleet on a company website.
- Share the locations of service vehicles, such as snowplows, with the public.
Requirements
- Native Map or Google Maps
- The Publish privilege
- A Google Maps API key if you want to publish using Google Maps
Setup
- Go to Main Menu > Platform Settings > Manage Applications.
- Enable the Publish privilege.
- Save the changes
-
Reload your page.
Read more about how to enable privileges for your applications.
Create a published map
- Sign in to your application as a user with the Publish privilege.
- Go to Main Menu > Fleet > Publish.
- Complete the four steps in the Publish wizard.
1. Map Properties
- Select the size of the published map.
- Expand Advanced if you want to configure additional map settings.
- Select Native Map or Google Maps under Map Type.
- If you select Google Maps, enter your Google Maps API key.
- Click Next.
We recommend using a separate Google Maps API key for publicly published maps instead of your default application key.
2. Branding
Choose the logo that will appear in the map footer and enter the URL that should open when someone clicks the logo.
Click Next when you have finished configuring the branding.
3. Groups
Select the groups containing the assets you want to display on the published map.
Only assets belonging to the selected groups will be included.
Click Next when you have finished selecting the groups.
4. Publish
Generate the publishing options and copy the URL or embed code you want to use.
Paste the generated code into the appropriate location on your website or blog.
Please note:
- Native Map supports only the publishing links displayed for that map type.
- The Embed map in web page code requires Google Maps and a valid Google Maps API key.
- Google Maps supports all the generated publishing options.
Testing
- Download
index_test.html. - Open the file in a text editor.
- Replace the example publishing code with the code generated by the Publish wizard.
4. Replace USERNAME with the username of an asset included in the published groups.
You can find an asset’s username by adding the Username column to the Asset panel or by opening the asset’s Overview.
5. Save the file.
6. Open the file in a web browser and confirm that the published map loads correctly.