We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc7a1dc commit 1199e66Copy full SHA for 1199e66
app/admin/formwidgets/mapview/assets/js/mapview.js
@@ -147,7 +147,7 @@
147
148
var circle = shape.getMapObject('circle')
149
150
- if (circle) {
+ if (circle && circle.draggable) {
151
innerData.circle = {
152
lat: circle.getCenter().lat(),
153
lng: circle.getCenter().lng(),
@@ -157,7 +157,7 @@
157
158
var polygon = shape.getMapObject('polygon')
159
160
- if (polygon) {
+ if (polygon && polygon.draggable) {
161
var vertices = polygon.getPath(),
162
encodedPath = google.maps.geometry.encoding.encodePath(vertices)
163
0 commit comments