Like map#extentZoom, but uses trimmed viewport instead of full viewport
to avoid putting the extent under UI buttons and border elements.
This is because in conflict resolution the user will be extentZooming to see
their changes and it was annoying to have the change appear under the UI.
Also using this in zoomToGPXLayer.
(instead of dispatching `load` event to merge them into `history`)
This is cleaner becuase now `context` doesn't need to keep an
`altGraph` state used only for Conflict Resolution.
The conflict resolution code calls the `iD.Connection` methods directly,
and other places in the code call `loadEntity` and `loadTiles` wrappers
that merge the entities into the main history.
* store entity's matched features in a graph transient
* replace fn calls to get commonly used _keys and _hidden arrays
* replace lodash calls with faster for loops (in some places)
* always pass graph/resolver as a param
* skip gatherStats on differenced redraws..
* force full redraw when gatherStats autohides/unhides features
(before: extent redraws would happen, counts would update,
but buildings/points would stay on the screen)
- adding a temp wikipedia icon from http://upload.wikimedia.org/wikipedia/commons/4/45/Right-facing-Arrow-icon.jpg
Making the click update and rotate an image marker on the map with comapss direction. Needs to be centered etc.
now properly enabling/disabling the different Mapillary layers upon activation/deactivation
Upgrade to faster Mapillary API
better arrow icon, refactoring to have all single-image operations in the image-layer
dist build
adding mapillary translation
adjusting image link
trying to adjust the image link for github deploy
better layout
removing font-awesome, not needed.
https for calls
consistent quotes
taking care of more translation, fix case of no images found on Mapillary
more english translations
- scoping image calls to selection.
- .inspector-wrap and .panewrap are hard to scope, since they are outside the selection, same for the #mapillary-inspector.
-scoping calls in sequences layer
adding translation
fixing jslint errors
more jshint errors
adding mapillary to tests
trying to lay out single markers, please help with the geo translation, @jfirebaugh
- adding the image layer to the active iD SVG instead of background
- add a new mode for selecting Mapillary images
- first stab of adding the image pane in the sidebar itself in order to contain the selections (needs to be layouted)
cleaning
trying to mark and keep selected image between mouseovers
refactoring to contain mapillary into the iamge mode
refactoring to contain mapillary into the iamge mode
adding to test html
cleaning up
handling unset selected image
cleanup
better sidebar
moving image into the lower right
Minor visual adjustment mapillaryImage
better no_image text and toggling of selected image
handling of text disappearing
intendation
fixing test errors
making sequences be below images
open Mapillary links in new tabs
better arrows and selectability on arrows as a workaround for real navigation in panos
more contrast for the selected image
adjusting image style
- adjusting style, removing sequence lines
- adding photos as a mode with shortcut 'm'
- fix test errors
moving switch back to right sidebar, keeping keyboard shortcut.
cleanup
file rename to avoid GIT mess with casing.
- better scoping
- removed unused hover function
- making the checkbox follow mode changes
removing unused icon
handling automatic mode exit
As you zoom in, the rounding error in translate was multiplied by scale
because it was applied post-translate (which was rounded). This seems
to fix the issue.
Previously, the surface switched between HW-accelerated and
non-accelerated state due to resetting transform property to ‘’ (while
translate3d triggers HW), which caused lags in Chrone
This bypasses a number of features of D3's default projection
stream pipeline that are unnecessary:
* Antimeridian clipping
* Spherical rotation
* Resampling
This also disables viewport clipping of lines -- I'll add it
back in a separate step.