gmaps icon indicating copy to clipboard operation
gmaps copied to clipboard

array_flat

Open AntonDevil opened this issue 8 years ago • 0 comments

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

AntonDevil avatar Jul 27 '17 19:07 AntonDevil