Skip to main content

Maps SDK Release Notes

Contents

v3.5.0

June 2022

  • NEW Single Search Geocoding is now an option for all geocoding calls when mapping locations or drawing routes on the map. You can also add a search text box for map end-users with the Single Search Add-on.

  • NEW A listener can now be created to determine when a map user is clicking on or hovering over an origin icon, destination icon, or intermediate stop icon for a route drawn on a map.

  • IMPROVED Map styles and assets were updated for improved visualization.

  • IMPROVED Waypoints created by dragging a route on the map can now be deleted by hovering over the waypoint and right-clicking while pressing the Alt key.

  • FIXED Improved the accuracy of “snapping” a route to a nearby road when the route is dragged to a new location on the map.

  • FIXED Changed the default text font setting to ['Open Sans Regular', 'Noto Sans Regular'].

  • FIXED Fixed an error that caused a layer to be re-added to the map even when its visibility was set to false.

  • FIXED Fixed an issue that could produce an error when calling myRoute.remove().

v3.4.0

January 2022

  • IMPROVED Added the following new map styles: MOBILE_DAY, MOBILE_NIGHT, MOBILE_SATELLITE, and ACCESSIBLE_DARK.

v3.3.0

November 2021

  • IMPROVED The styling of how exit ramp names are displayed has been improved.

  • IMPROVED Several enhancements were made to the drag routes feature, which allows you to edit a route path directly on the map:

    • Dragging can be limited so that routes only snap to roads visible at the map’s current zoom level. This new feature can be turned off completely or controlled (turned on or off) by holding a specified modifier key while dragging the route. (Shift is the default key.)
    • When dragging and snapping a route, a nearby road segment is highlighted. If there is no road nearby, the cursor turns to a “not-allowed” state and if the mouse button is released, the drag is cancelled.

Drag Route

v3.2.0

October 2021

  • NEW Route modifiers, which are roads that should be avoided or favored, can now be applied to a route using one of two new parameters:

    • afSetIDs - The IDs of the Route Modifier (avoid/favor) sets that should be applied to the route.
    • afSetNames - The names of the Route Modifier sets that should be applied to the route. Default is an empty set.
  • NEW Basic Dark and Transportation Dark map styles are now available.

  • NEW Arrows can now be added to the map to indicate the direction of travel along the route.

  • NEW A new frameOptions setting allows you to change the default behavior of shifting and zooming to frame a route on the map.

  • IMPROVED Additional options are now available that customize the way a route is generated based on the type of vehicle being driven, as well as a fleet’s preferences for how that vehicle should be routed. The options match those available in our Routing APIs.

v3.1.0

September 2021

  • NEW The following new map layers were added:

  • NEW The following optional parameters were added to RouteOptions:
    • hazMatTypes allows you to select an array of hazardous materials types to be applied to a route request.
    • useTraffic indicates whether to use traffic when calculating trip transit times.
    • frameRoute prevents the route from being framed on the map if set to false.
    • classOverride allows you to select whether a truck with a 48’ or shorter trailer should still adhere to routing for larger (53’) trucks on the State/National Network. Trucks over 48’ are automatically routed on the State/National Network. (U.S. only)

  • FIXED Fixed bugs in the routing layer relating to zooming and flow problems.

  • FIXED Fixed an issue that prevented WeatherAlertFilterControl from updating.

v3.0.0

July 2021

  • NEW The JavaScript Maps SDK v3 incorporates a wide range of enhancements in how maps are rendered using the latest version of Mapbox GLJS (v1.12). It includes enhanced map controls, styling, 3D capabilities, and other features for a high level of detail and customization.

    Highlights of the release include:

    • Custom 3D layers. With a custom style layer using three.js, you can add 3D models to the map, including Trimble-owned content from the SketchUp team.

    • Improved gesture support on desktop and mobile. Three new touch gestures have been added: two-finger swipe to adjust pitch, two-finger double tap to zoom out, and tap and drag to adjust zoom with one finger.

    • New events to track map rendering. A new idle event fires when no further rendering is expected.

    • New map initialization options (bounding box). New bounds and fitBoundsOptions map constructor options can be used to indicate the initial map view in place of center and zoom.

    • Improved popups. New features include an option to set maxWidth, which defaults to 240px, and the option for closeOnMove which, when set to true, closes the popup when the map’s position changes.

    • Updated clustering and data sources. This includes a clusterProperties option for aggregated cluster properties, and methods for changing a vector tile source dynamically (e.g. setTiles, setUrl)

    Existing users can upgrade to the latest version by updating the version number in the JavaScript and CSS files in the <head> of your HTML file. Contact us if you are not a licensed Maps SDK user and would like to learn more.

v2.3.1

  • NEW Two new add-on scripts are now available:

    • The Single Search Add-on adds a geocoding search box to the map. Users search for a location by address or GPS coordinates and select the best match from the typeahead list. The map automatically zooms in on the selected location.

    • The Draw Tool Add-on adds a control that allows the user to draw point markers and polygons on the map.

v2.3.0

  • NEW Added TrimbleMaps layer controls (set/get/toggle visibility) to map
    • Custom road

v2.2.0

  • NEW Added TrimbleMaps layer controls (set/get/toggle visibility) to map
    • WeatherCloud
    • Places
  • NEW Drag routing
  • NEW UseSites for routing
  • NEW Reorder stop icons on optimize
  • FIXED While missing css error message updated to developer site URL
  • FIXED Fix weather alert legend and weather alert filter control
  • FIXED Fix for map attributions

v2.1.2

  • FIXED Bug fix for “http” service links.

v2.1.1

  • NEW Added LICENSE.txt file

v2.1.0

  • NEW Added TrimbleMaps layer controls (set/get/toggle visibility) to map
    • Traffic
    • Weather Radar
    • Weather Alerts
    • Road Surface
    • Points of Interest
    • 3D Buildings
  • NEW Added WeatherAlertClickControl
  • NEW Added WeatherAlertFilterControl
  • NEW Added WeatherAlertLegendControl

v2.0.0

  • NEW Initial release
Last updated June 14, 2022.
Contents
Subscribe RSS