New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enables WKT BOX2D to Google Rectangle object #32

Merged
merged 3 commits into from Nov 24, 2013

Conversation

Projects
None yet
2 participants
@amenadiel
Contributor

amenadiel commented Nov 22, 2013

  • Enables parsing of PostGIS 2D Boxes to create Google Maps Rectangle objects.
  • Enables the write method to convert the Rectangle back to a 2D Box
  • Ensures the precense of the class variable 'delimited'. I kept getting an undefined value.
  • Forces the casting of X and Y coordinates to string in the point extract method, for the concatenation
return point.x + this.delimiter + point.y;

was being evaluated as a numeric sum, thus returning NaN.

arthur-e added a commit that referenced this pull request Nov 24, 2013

Merge pull request #32 from amenadiel/master
Provides support for PostGIS BOX2D string representations to/from Google Rectangle object

@arthur-e arthur-e merged commit 21f6959 into arthur-e:master Nov 24, 2013

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