-
Notifications
You must be signed in to change notification settings - Fork 33
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
Support map rotation #669
Comments
Steps that needs to be done in order to test the branch:
var oldL = window.L;
function noConflict() {
window.L = oldL;
return this;
}
// Always export us to window global (see #2364)
window.L = exports; in import { MarkerClusterGroup } from "leaflet.markercluster";`
...
protected markers: MarkerClusterGroup;
...
this.markers = new MarkerClusterGroup({ |
Any updates on this feature? The ability to rotate the map is a must for me to be able to adopt Leaflet in my project. I went thru a full implementation before I realized it did not support it. |
@JasonRodman I'm not a leaflet maintainer. you should probably post your concerns in the following issues: |
While the above is somewhat nice the 3D effect of the map does not give the right perspective IMO, the terrain in not giving the effect I was hoping for and therefore the only lightweight option right now is openlayers. |
See also TileLayer.GL |
Thanks for the link! |
This is important for the navigation abilities of the app. It's much easier to decide on turns when the map faces with the direction of movement up. I suggest moving the priority to medium or high. |
Html icons: This seems like a unneeded complexity. |
One of the original requirements was
There is a need for button to switch between map rotation and north up. Perhaps a diagonal arrow ( or ) can indicate map rotation, and a vertical, compass-like arrow would indicate a north-up mode ( ) |
Good point, thanks for reminding me. I'll add it below the location after the entire migrating will be done. |
As a user, I would like to be able to rotate the map manually. For example, when not moving or when the GPS is inactive. |
Of course, I just said where it will be... |
Another option is for the current location arrow itself to be pressable. Pressing on it will move from direction up to north up. |
What do you mean by "current location arrow"? The GPS activation button? The current location icon on the map? In any case, canceling manual map rotation is needed even when there is no "current location". |
… to prevent missing icons on the map.
… dialog. remove comments, added some TODOs.
Update to angular 7 #861 - reduce angular-cli back to 6.1.6 to prevent out of memory.
Since I'm not planning or reverting all this work I'll just merge this to master and split all the remaining work to separate issues. |
* Support map rotation #669 - initial commit. a complete rewrite of the site to use openlayer, still not complete. Resolves #402 - Support global undo instead of undo per route. * Support map rotation #669 - lint fixes, added north icon. * Support map rotation #669 - Fix compilation due to unused events. * Support map rotation #669 - Remove events and some leaflet usages. * Support map rotation #669 - Fix compilation, removed more $events. * Support map rotation #669 - Fix compilation * Support map rotation #669 - Fix compilation due to unneeded classes. * Support map rotation #669 - remove some unused code. * Support map rotation #669 - Added clustering and route recording, fixed tranlation typos, added missing translations, fixed other small stuff to make things work. * Support map rotation #669 - added make all route points editable. * Replaced wrench with 3 vertical dots. #669 * Support various clear route options #669 * Resolves #787 - Allow opening of a specific POI in a group. Related to #669. * Support map rotation #669 - Added mapserver support using xyz tiles. * Support map rotation #669 - Added snapping back. removed unused code. * Support map rotation #669 - bring back tests. * Support map rotation #669 - small correction related to cordova. * Support map rotation #669 - remove leaflet, fixed delete route, updated file saver. * Support map rotation #669 - Fix lint. * Support map rotation #669 - Fix tests. * Support map rotation #669 - Split android and web builds * Support map rotation #669 - Split build, fix yml. * Support map rotation #669 - Fix compilation after lint required fixes :-/ * Support map rotation #669 - Throw if angular build fails. * Support map rotation #669 - Fix android build due to split * Support map rotation #669 - Updated version to 8.0 * Support map rotation #669 - Added GPS location interaction. * Support map rotation #669 - Moved most of the popups to be overlays. * Support map rotation #669 - Fix production compilation * #669 - Moved pure map components to a folder. * #669 - fix compilation. * Fixed issue with version in GPX and improve description of uploaded OSM trace. * Support map rotation #669 - Added traces layer and ability to manipulate. * Fixes #856 - Fix failing android builds * Support map rotation #669 - Fix tests, fix issue with animation override when following GPS location. * Support map rotation #669 - facilitate drag and drop of a file. * Support map rotation #669 - Fix fit to bounds. Fix legend. Fix move to search results. * Support map rotation #669 - add zoom animation for zoom-in/out * Support map rotation #669 - remove unwanted OSM layer. * Support map rotation #669 - Moved layers and user to state management. * Support map rotation #669 - Make advance route actions under a ... button * Support map rotation #669 - Fix lint * Support map rotation #669 - Fix production build, remove opacity from base layer, changed opacity slider to be green. * Support map rotation #669 - reverse route in route properties, fixed some mouse events, fixed visibilty of route. * Support map rotation #669 - Fix toggle category layer causes collapse. * Support map rotation #669 - Fix incorrect color and weight. * Support map rotation #669 - Fix production compilation due to missing method. * Error adding routes to OSM #848 - Might be related, but might be a different issue. * Support map rotation #669 - add route direction * Support map rotation #669 - show direction only in readonly mode, show route points only in route editing mode. emit null when dragging interaction to hide hover marker. * Support map rotation #669 - Fix opening a file that has only markers. * Support map rotation #669, Support offline tiles #783 - Added PouchDB, update technology stack * #669 - Update reducer action decorator to hold all the relevant classes. * Support map rotation #669 - Show searchresult marker, fix production build * Support map rotation #669 - Fix lint, move search results to poi service. * Support map rotation #669 - Improve search results icon and some errors. * Support map rotation #669 - improve private POI UX. added icons to private POI back. * Support map rotation #669 - support database writing in another thread. * Support map rotation #669 - make sure font loads before anything else to prevent missing icons on the map. * Avoid using environment but use running context instead. * Support map rotation #669 - Fix issue with a segment with a single point. * Support map rotation #669 - add tooltip to north-up * Support map rotation #669 - do not store and read state when runnning inside iFrame. * Support map rotation #669 - Add extra data indicator. * Resolves #861 - Update to angular 7 * Support map rotation #669 - Add coordinates and height to private POI dialog. remove comments, added some TODOs. * Update to angular 7 #861 - Update typescript to 3.1.6, remove unused import. * Update to angular 7 #861 - remove css files to reduce build time? change appveyor worker cloud * Support map rotation #669 - Small fix to route editing. * Update to angular 7 #861 - downgrade to 7.0.4 to check if this solves build issues. * Another attempt to fix appveyor run... * Support map rotation #669 - Make recording work. * Support map rotation #669 - fixed issue with undo. Update to angular 7 #861 - reduce angular-cli back to 6.1.6 to prevent out of memory. * Update to angular 7 #861 - Increase memory limit to all commands. * Update to angular 7 #861 - Update typescript for cli. * Update to angular 7 #861 - Fix lint. * Fixes #866 - Geo-tagged images won't open (beta) * Moved to ngx-openlayers next version. #669
Feature
A list of things still to rewrite due to Openlayers migration:
Critical:
Need to test when a release candidate is available:
Fix issue with public POI when adding a new one (might be a different issue since it's not a new bug)Can't delete a partially-uploaded POI #840When the window/screen is small and narrow, the route statistics, scale bar, and the IHM logo are partially hidden below the buttons- this was not changed.Might not implement:
Esri feature server layerESRI layers support under OpenLayers #860Public POI/search - show geometry/route in read-only moderequires server change, will be fixed as part of Multipoligon relation shown wrong when selected on map #780The text was updated successfully, but these errors were encountered: