Skip to content
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

Use Mapillary vector tiles and switch to v4 #8372

Merged
merged 10 commits into from
Jun 30, 2021
20 changes: 13 additions & 7 deletions css/60_photos.css
Original file line number Diff line number Diff line change
Expand Up @@ -305,17 +305,23 @@ label.streetside-hires {
top: -25px;
}

.mly-wrapper .AttributionContainer .AttributionIconContainer .AttributionMapillaryLogo {
margin-top: 3px;
.mly-wrapper .mapillary-attribution-container {
display: flex;
align-items: center;
}

.mly-wrapper .AttributionContainer .AttributionImageContainer {
color: #fff;
font-size: 10px;
font-weight: 300;
overflow: hidden;
.mly-wrapper .mapillary-attribution-container .mapillary-attribution-icon-container {
display: flex;
align-items: center;
}

.mly-wrapper .mapillary-attribution-container .mapillary-attribution-username {
display: none;
}

.mly-wrapper .mapillary-attribution-container .mapillary-attribution-date {
margin-right: 6px;
}

/* OpenStreetCam viewer */
.osc-wrapper {
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/en.min.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/renderer/photos.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function rendererPhotos(context) {
};

photos.shouldFilterByUsername = function() {
return showsLayer('mapillary') || showsLayer('openstreetcam') || showsLayer('streetside');
return !showsLayer('mapillary') && showsLayer('openstreetcam') && !showsLayer('streetside');
};

photos.showsPhotoType = function(val) {
Expand Down
Loading