Skip to content

Releases: OutSystems/outsystems-maps

Release of version 2.0.0 (2024-12-02)

27 Nov 15:53
5e5bd23
Compare
Choose a tag to compare

What's New

  • ROU-4763 - Now, GoogleMaps, StaticMap, and SearchPlaces have a new localization setting to allow the selection of the map’s language and region to be displayed to the end user.
    This improvement will cause a soft-breaking change in existing apps by adding a new parameter to the OptionalConfigs structure.
  • ROU-4776 - A new site property, GoogleMapsVersion, has been added to the OutSystems Maps module. This property allows you to define which version of Google Maps should be loaded.
    By default, it is set to version 3.58 (the stable release for November 2024).
    If an invalid or unsupported version is specified, Google Maps will automatically default to the latest weekly version.
    Please note, that any updates to this property will require a manual application reload for the changes to take effect.
  • ROU-11055 - Support for Google Maps new AdvancedMarkerElement has been added and is now used as the default marker.
    To accommodate this update, a new parameter called UseAdvancedMarkers (default: true) has been introduced in the Google Map optional configurations.
    Additionally, a new parameter was added to the Google Map optional configurations, called MapStyleId.
    This parameter is used to indicate the ID of the map styles created in the Google Cloud Console, and it will only be used when the parameter UseAdvancedMarkers is set to true.
    If the deprecated Google Marker needs to be used for compatibility reasons, set UseAdvancedMarkers to false.
    For more info about this change check this link.
  • ROU-11344 - Updated Leaflet library to the latest version 1.9.4.

Fixed Issues and Improvements

  • ROU-4864 - Fixed an issue that was causing parameters like Offset or Localization not to be set correctly to the provider configurations when they changed in runtime.

ROU-10685 - Fixed an issue that caused the Leaflet's autofit functionality to be broken.
This occurred when markers were added or deleted from the map in runtime.

  • ROU-11371 - Fixed an issue where a Leaflet Map failed to update its center coordinates after panning or zooming. The center coordinates now properly reflect changes when the map is moved or zoomed.

Release of version 1.7.0 (2024-04-01)

18 Mar 23:25
e014979
Compare
Choose a tag to compare

What's New

  • ROU-3174 - Now, we can use the new Map’s optional configuration AutoZoomOnShapes to allow the auto zoom feature to adjust and fit all shapes displayed on the map.
    This functionality is only applicable to Zoom = Entities.Zoom.Auto.
    For Leaflet Maps, this property cannot be changed in runtime.
  • ROU-4665 - A new parameter called RespectUserZoom has been added to the OptionalConfigs structure of the Map and LeafletMap blocks.
    This parameter allows developers to signal whether user zoom changes should be respected when adding, changing, or removing other markers.
  • ROU-4708 - Created new client actions called AddMarker / RemoveAllMarkers / RemoveMarker / SubscribeMarkerEvent / UnsubscribeMarkerEvent to create, remove and subscribe/unsubscribe events from Markers.
    These will help deal with a large number of markers for better runtime performance.

Fixed Issues and Improvements

  • ROU-4708 - Improved the way a Map is obtained by its widget identifier.
  • ROU-4709 - Fixed an issue that caused the OutSystems Maps to write a warning on the console.
    This occurred when we were using marker clusters since google.maps.event.addDomListener() was deprecated.
    The js-markerclusterer library was upgraded to version 2.5.3, changing how clusters are created.
    This causes a breaking change when setting the marker clusters to true and changing the UI of the clusters using CSS.

ODC Release of version 1.6.7 (2024-01-24)

11 Dec 14:36
Compare
Choose a tag to compare

Fixed Issues and Improvements

  • ROU-4469 - Deprecated the AdvancedFormat parameter from the structure OptionalStaticMapConfigs, used in the StaticMap block.
    To be compliant with Content Security Policy (CSP) requirements, the usage of the eval() function will be discontinued so, consequently, this parameter will be impacted and may not function as expected.
  • ROU-4591 - The mechanism to translate addresses into coordinates was changed. Prior the code was using an external Google REST API, while now, it uses the available method in Google SDK (geo.geocode).
  • ROU-4592 - Fixed an issue that caused the wrong popup to open when clicking on a marker.
    This occurred when a custom icon and the size (width and height) were set into a MarkerPopup, especially with many Markers on the screen.

Release of version 1.6.7 (2023-12-26)

11 Dec 00:14
adcc590
Compare
Choose a tag to compare

Fixed Issues and Improvements

  • ROU-4469 - Deprecated the AdvancedFormat parameter from the structure OptionalStaticMapConfigs, used in the StaticMap block.
    To be compliant with Content Security Policy (CSP) requirements, the usage of the eval() function will be discontinued so, consequently, this parameter will be impacted and may not function as expected.
  • ROU-4591 - The mechanism to translate addresses into coordinates was changed. Prior the code was using an external Google REST API, while now, it uses the available method in Google SDK (geo.geocode).
  • ROU-4592 - Fixed an issue that caused the wrong popup to open when clicking on a marker.
    This occurred when a custom icon and the size (width and height) were set into a MarkerPopup, especially with many Markers on the screen.

ODC Release of version 1.6.6 (2023-07-31)

29 Jun 23:11
56e5081
Compare
Choose a tag to compare

Fixed Issues and Improvements:

  • ROU-4222 - Fixed an issue that caused the Draw Shape AddOns to return the Coordinates and Location parameters empty on the OnDrawingChange event.
    This occurred when a client action was associated with the DrawingTools' OnDrawingChange event and a shape was modified (dragged or resized) after its creation.
  • ROU-4283 - Fixed an issue that caused the Draw Markers to not return the right coordinates after an OnDrawingChange event.
    This occurred when the Draw Marker was configured to allow drag and the OnDrawingChange event was configured to return the coordinates.
  • ROU-4361 - Now, the Map’s preview images were optimised in order to reduce the module size.
  • ROU-4370 - Fixed an issue that caused the Map_Initialized event not to run after the first time a Map was created.
    This occurred when leaving a screen with a Map block (Google Maps) and returning to it afterwards.

Release of version 1.6.6 (2023-12-26)

21 Jun 21:08
a62a5db
Compare
Choose a tag to compare

Fixed Issues and Improvements:

  • ROU-4222 - Fixed an issue that caused the Draw Shape AddOns to return the Coordinates and Location parameters empty on the OnDrawingChange event.
    This occurred when a client action was associated with the DrawingTools' OnDrawingChange event and a shape was modified (dragged or resized) after its creation.
  • ROU-4283 - Fixed an issue that caused the Draw Markers to not return the right coordinates after an OnDrawingChange event.
    This occurred when the Draw Marker was configured to allow drag and the OnDrawingChange event was configured to return the coordinates.
  • ROU-4361 - Now, the Map’s preview images were optimised in order to reduce the module size.
  • ROU-4370 - Fixed an issue that caused the Map_Initialized event not to run after the first time a Map was created.
    This occurred when leaving a screen with a Map block (Google Maps) and returning to it afterwards.

ODC Release of version 1.6.5 (2023-05-31)

01 Jun 09:34
8a06b93
Compare
Choose a tag to compare

What's New:

  • ROU-4001 - Fixed an issue on the marker's block for Google Maps where the icon size was not working properly when the marker was built nor when changing it in runtime to its original size.
  • ROU-3851 - Created a new client action called GetMapCenter to return the coordinates (latitude and longitude) of the center of a given map.
  • ROU-3211 - Created a new client action called ContainsLocation to check if a given point is inside a map shape (Circle, Rectangle or Polygon) or a coordinates list. The Polyline isn't supported by this client action in order to check if a marker is inside of the path.
  • ROU-3194 - Created a new client action called RemoveMarkerFromCluster to remove a marker from a cluster.

Fixed Issues and Improvements:

  • ROU-3852 - Now, the MapEvent block has the same behaviour in the Service Studio preview as MarkerEvent and ShapeEvent while changing the EventName input parameter.
  • ROU-4125 - Fixed an issue that caused the OutSystems Maps to write a warning on the console.
  • This occurred when we were loading the Google Maps script because we were not providing a callback to Google that now is required.
  • Resolved an issue that made these component application objects (AOs) count towards the license limits. This release reverts that behaviour and this component AOs no longer count toward that limit.
  • ROU-3820 - Fixed an issue on the map events that Leaflet was not returning the coordinates as expected.

Release of version 1.6.5 (2023-05-02)

16 Apr 14:16
0ca5d9a
Compare
Choose a tag to compare

Fixed Issues and Improvements:

  • ROU-3852 - Now, the MapEvent block has the same behaviour in the Service Studio preview as MarkerEvent and ShapeEvent while changing the EventName input parameter.
  • ROU-4125 - Fixed an issue that caused the OutSystems Maps to write a warning on the console.
    This occurred when we were loading the Google Maps script because we were not providing a callback to Google that now is required.

Release of version 1.6.4 (2023-01-23)

20 Jan 16:08
b66cffa
Compare
Choose a tag to compare

What's New:

  • ROU-4001 - Fixed an issue on the marker's block for Google Maps where the icon size was not working properly when the marker was built nor when changing it in runtime to its original size.

Fixed Issues and Improvements:

  • Resolved an issue that made these component application objects (AOs) count towards the license limits. This release reverts that behaviour and this component AOs no longer count toward that limit.

Release of version 1.6.3 (2022-12-19)

28 Nov 16:19
0edbd1d
Compare
Choose a tag to compare

What's New:

  • ROU-3851 - Created a new client action called GetMapCenter to return the coordinates (latitude and longitude) of the center of a given map.
  • ROU-3211 - Created a new client action called ContainsLocation to check if a given point is inside a map shape (Circle, Rectangle or Polygon) or a coordinates list. The Polyline isn't supported by this client action in order to check if a marker is inside of the path.
  • ROU-3194 - Created a new client action called RemoveMarkerFromCluster to remove a marker from a cluster.

Fixed Issues and Improvements:

  • ROU-3820 - Fixed an issue on the map events that Leaflet was not returning the coordinates as expected.