[PLUGIN] - Google Maps Geometry/Drawing + W3W

@pork1977gm. Hey paul, is there a way to clear the set marker lat/long? I have tried clearing the map, clearing the maps states, and executing the remove marker action as well as setting a new marker with empty values for lat/long once the original marker has been removed. None of these methods have been able to clear the stored values in the set marker lat/long once a marker has been set.

Hi @dancoburn89

I’ve just pushed an update which has a new option in the ‘Clear states’ action. You should now see a ‘Set marker’ option that will allow you to clear both the ‘Set marker latitude’ and ‘Set marker longitude’ states.

Hope that helps.

Paul

Fantastic thank you for the speedy update!

Hey Paul.

I recently noted your comment in the plugin page that google will be unfortunately eliminating their drawing tools library, and you have now included an option to enable Terra Draw on the map.

I have a couple questions for you:

  1. I have enabled Terra Draw for the map, but I don’t seen any elements/actions/triggers related to it. Is there supposed to be? Or is there manual configuration required on the users end to set this up?

  2. With that change, does this mean that any of my workflows/triggers/actions based on points/polygons being drawn will now need to be reconfigured to reference Terra Draw?

Also will something like the “Draw Shape” action still work?

Hi @JW13

So this change only affects the drawing tools, none of the rest of the code like the “Draw Shape” action, workflows, coordinates etc will be affected so you should be fine regarding workflows etc.

I’ve tried to make this change as seamless as possible, since it was quite an integral update, but the only action which really had to be re-written was the “Enable drawing tools” action. The same icons that Google used when rendering their version of the drawing tools UI have been used with the Terra Draw code. All of that has been reconstructed to make it match as close as I could get it.

From your point of view, if all being well, you should be good to just upgrade the plugin and not have to touch any of your existing workflows. All states/events etc are populated in the same way. Whilst making the changes, I was working with another user who was using the tools extensively so we’re pretty happy all is working well, but of course if you do run into any troubles then just shout and I’ll jump straight onto it.

There are no special actions or anything that come with Terra Draw, it merely used to replace the UI and logic behind what happens when those drawing icons are clicked.

Paul