Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

array_flat #560

Open
AntonDevil opened this issue Jul 27, 2017 · 0 comments
Open

array_flat #560

AntonDevil opened this issue Jul 27, 2017 · 0 comments

Comments

@AntonDevil
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant