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

conversion routines #476

Closed
2 tasks done
incanus opened this issue Sep 30, 2014 · 7 comments
Closed
2 tasks done

conversion routines #476

incanus opened this issue Sep 30, 2014 · 7 comments
Labels

Comments

@incanus
Copy link
Contributor

incanus commented Sep 30, 2014

  • pixels <-> projected meters <-> coordinates
  • meters/pixel at a given zoom & latitude

Precursors to point plotting #60 and interactivity #352.

Related: #97

Happening in conversions.

@incanus
Copy link
Contributor Author

incanus commented Oct 8, 2014

Just about set with this, including Cocoa bindings. Couple more things remaining; will try to hit in & around NACIS this week.

  • get current tests passing
  • write tests for new stuff (e.g. rotate map & test expected corner lat/lon, screen -> lat/lon -> screen equality)
  • header docs for Cocoa

@incanus incanus mentioned this issue Oct 13, 2014
@incanus
Copy link
Contributor Author

incanus commented Oct 17, 2014

Header docs in cutting-room-floor/mapbox-gl-cocoa@2258147.

@incanus
Copy link
Contributor Author

incanus commented Oct 17, 2014

Tests are currently blocked by a weird instance of glsl-optimizer trying to be built against the iOS SDK:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/usr/include/sys/cdefs.h:680:2: error: Unsupported architecture
#error Unsupported architecture

https://travis-ci.org/mapbox/mapbox-gl-cocoa/builds/38308269

/cc @jfirebaugh @springmeyer

@kkaefer
Copy link
Member

kkaefer commented Oct 31, 2014

Removed glsl-optimizer in 080c185

@incanus
Copy link
Contributor Author

incanus commented Feb 11, 2015

Picked this back up again and working on merging master in, tweaking as necessary, and getting a squashed PR going as a precursor to user location marker (#756) and general client-side data such as markers (#507).

@incanus
Copy link
Contributor Author

incanus commented Feb 11, 2015

iOS-relevant stuff to bring over: https://github.com/mapbox/mapbox-gl-cocoa/compare/conversions Once I stabilize this, I'll ticket Android / other APIs we want (though those two are probably it).

@incanus
Copy link
Contributor Author

incanus commented Feb 11, 2015

Happening over in #853 now.

@incanus incanus closed this as completed Feb 11, 2015
incanus added a commit that referenced this issue Feb 16, 2015
fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOS
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants