Open AntonDevil opened 6 years ago
Why do you use array_flat for drawPolygon (gmaps.js:1265)?
Google maps correctly accepts multidimensional array of polygons to draw on map. https://developers.google.com/maps/documentation/javascript/reference#PolygonOptions See paths parameter doc
Also, you can check my example https://pastebin.com/SkxKyqjE it will require gmaps.js and wicket.js
Try to load this page with and without array_flat call in drawPolygon and you'll notice the difference
Why do you use array_flat for drawPolygon (gmaps.js:1265)?
Google maps correctly accepts multidimensional array of polygons to draw on map. https://developers.google.com/maps/documentation/javascript/reference#PolygonOptions See paths parameter doc
Also, you can check my example https://pastebin.com/SkxKyqjE it will require gmaps.js and wicket.js
Try to load this page with and without array_flat call in drawPolygon and you'll notice the difference