Comments (8)
Yes, that's a bug. You can go back to landscape and dismiss it, rather than force-quitting.
from gomap.
I've tried fixing this but I'm at a loss about what the cause is. Maybe somebody else would like to take a look at it:
from gomap.
You can go back to landscape and dismiss it
Thanks, I really failed to think of this solution! ðĪŠ
from gomap.
I played around a bit with that problem, the same happens if I tap the "i" button on the main screen and rotate the wikipage screen (SFSafariViewController).
If I comment out the function override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
in the MainViewController
the problem is fixed in both cases. This would be a really easy fix. But I don't know exactly why this function / animation is required. Maybe @bryceco knows more about it?
from gomap.
Thanks for looking at this! It's really appreciated!
That function simply updates the frame of the embedded MapView (which is the view that holds the various layers used for editing, aerial, etc. That view isn't tied to it's parent with constraints (because I wrote it before iOS introduced constraints, and then plugged up problems with fixes like this ð ) so I update the frame manually there. It's possible that function isn't needed anymore but it needs some testing to make sure.
from gomap.
but it needs some testing to make sure
Thanks for the informations. Can I help you somehow with the testing? I already played around with the app with this code disabled and didn't find/see any problems.
from gomap.
It looks like at some point I added constraints that take care of setting the frame, and I just confirmed that the frame is updating correctly without the function you mention so deleting it is fine. Send me a pull request! Thanks!
from gomap.
Awesome work, thanks!
from gomap.
Related Issues (20)
- Adding more imagery but optional
- Ability to search wiki
- Clarification on Resolve with comment
- Option to disable request for rating
- Recognise and use parking:both and cycleway:both HOT 4
- Dark Basemap HOT 6
- Add "Translate this" to "fixme" tags HOT 2
- More fixmes HOT 1
- Ability to redirect to the wiki with keys that has a namespace HOT 1
- Need a way to download just OSM objects for Offline use HOT 7
- App freezes while downloading OSM and Aerial tiles
- Include OHM-specific presets when editing OpenHistoricaMap HOT 6
- Americana bugs HOT 4
- Swiping down on Upload view resets changeset comment HOT 2
- Quests still appearing even after saving HOT 2
- Element editong should be off when the background is a basemap HOT 1
- Improving GPX Track Visualization HOT 2
- Improve text input in tag editor for long content HOT 1
- Dont upload placeholder strings to Weblate HOT 2
- Removing fixme tag from POI shows quests, even when quests are disabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
ð Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ððð
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google âĪïļ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gomap.