ROU-12638: Adding TerraDraw drawing tools#251
Merged
Merged
Conversation
Keeping the code for now.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 31 out of 34 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Collaborator
|
@rugoncalves have you checked CoPilot's comments? |
gnbm
requested changes
Mar 24, 2026
Collaborator
gnbm
left a comment
There was a problem hiding this comment.
Left a couple of comments.
Take a look at Copilot's feedback as well
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 31 out of 34 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
joselrio
reviewed
Mar 26, 2026
|
joselrio
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR introduces the support to a new provider for the drawing tools: TerraDraw. The reason being related with the upcoming decommission of Google Maps Drawing Tools in version 3.65 (May 2026). The changes include new configuration classes, abstract base classes for TerraDraw tools, and provider-specific logic for handling drawing events and feature creation. The Drawing Tools factory is updated to instantiate TerraDraw tools for Google Maps, and a new error code is added for shape creation failures.
Read the Architecture Decision Record 2 for more context.
What was happening
What was done
OutSystems.Maps.MapAPI.DrawingToolsManager.SetUseTerraDraw( true | false );es2017»es2020;ADR-0002-Replace-Google-DrawingManager-with-TerraDraw.mdTest Steps
A. Using TerraDraw provider:
B. Using Google Maps provider:
OutSystems.Maps.MapAPI.DrawingToolsManager.SetUseTerraDraw(false)before the map is created;Screenshots
Checklist