这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@charlienewey
Copy link

The formatting looked like it was encouraging bugs, so I re-jigged the formatting a bit.

This also seemed to fix a couple of other bugs - the objects returned by the library now seem to support Google Maps' default event binding, among other things.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the ternary operator to an if-then-else - it was impacting readability.

Also there was a bug here:

obj = geojson.coordinates ? obj = _geometry...

(There was an extra assignment within the ternary operator, causing it to break)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant