add 30% x-offset on zoom
This commit is contained in:
1 parent
3b7a92d44a
commit
abaf459017
4 files changed
+32
-27
No files matched your search
+23
-21
@@ -21,7 +21,6 @@ oSpot.pageInit = function(asHash)
|
|||||||
{
|
{
|
||||||
/* TODO
|
/* TODO
|
||||||
- keep tooltip open so pictures can be clicked on (use popup?)
|
- keep tooltip open so pictures can be clicked on (use popup?)
|
||||||
- apply 30 % offset to all re-centering
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
self.tmp('$Map', $('#map'));
|
self.tmp('$Map', $('#map'));
|
||||||
@@ -44,6 +43,7 @@ oSpot.pageInit = function(asHash)
|
|||||||
self.tmp('simple-bar', new SimpleBar($('#posts')[0]));
|
self.tmp('simple-bar', new SimpleBar($('#posts')[0]));
|
||||||
self.tmp('simple-bar').getScrollElement().addEventListener('scroll', onFeedScroll);
|
self.tmp('simple-bar').getScrollElement().addEventListener('scroll', onFeedScroll);
|
||||||
self.tmp('infowindow', 'boolean');
|
self.tmp('infowindow', 'boolean');
|
||||||
|
self.tmp('map_offset', -0.3);
|
||||||
|
|
||||||
//Centering map
|
//Centering map
|
||||||
var agCenter = {lat:0, lng:0};
|
var agCenter = {lat:0, lng:0};
|
||||||
@@ -58,8 +58,7 @@ oSpot.pageInit = function(asHash)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var iMapRatio = 0.7;
|
var iMapPadding = 0.05;
|
||||||
var iConfidenceInterval = 0.05;
|
|
||||||
var iMinLat, iMaxLat, iMinLng, iMaxLng;
|
var iMinLat, iMaxLat, iMinLng, iMaxLng;
|
||||||
iMinLat = iMinLng = 180;
|
iMinLat = iMinLng = 180;
|
||||||
iMaxLat = iMaxLng = -180;
|
iMaxLat = iMaxLng = -180;
|
||||||
@@ -78,8 +77,8 @@ oSpot.pageInit = function(asHash)
|
|||||||
|
|
||||||
//Calculate adequate zoom (map.fitBounds is dezooming too much)
|
//Calculate adequate zoom (map.fitBounds is dezooming too much)
|
||||||
var oMapDim = {
|
var oMapDim = {
|
||||||
height: self.tmp('$Map').height()*(1 - iConfidenceInterval),
|
height: self.tmp('$Map').height()*(1 - iMapPadding),
|
||||||
width: self.tmp('$Map').width()*(iMapRatio - iConfidenceInterval)
|
width: self.tmp('$Map').width()*(1 + self.tmp('map_offset') - iMapPadding)
|
||||||
};
|
};
|
||||||
iZoom = getBoundsZoomLevel(oMarkerBounds, oMapDim);
|
iZoom = getBoundsZoomLevel(oMarkerBounds, oMapDim);
|
||||||
}
|
}
|
||||||
@@ -100,11 +99,16 @@ oSpot.pageInit = function(asHash)
|
|||||||
zoomControl: false
|
zoomControl: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
//Swap tile layers on zoom level
|
//Swap tile layers on zoom level
|
||||||
oMap.on('zoomend', function(o) {
|
oMap.on('zoomend', function() {
|
||||||
//if(self.tmp('map').getZoom()) self.tmp('map')
|
if(typeof self.tmp('center_on') == 'object') {
|
||||||
|
self.tmp('map').panTo(getOffsetCenter(self.tmp('map'), self.tmp('center_on')), {animate: false});
|
||||||
|
self.tmp('center_on', false);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
//Controls
|
//Controls
|
||||||
L.control.layers({'Satellite': oMapBoxSat, 'LINZ': oLinz}, null, {position: 'topleft'}).addTo(oMap);
|
L.control.layers({'Satellite': oMapBoxSat, 'LINZ': oLinz}, null, {position: 'topleft'}).addTo(oMap);
|
||||||
|
|
||||||
@@ -123,11 +127,8 @@ oSpot.pageInit = function(asHash)
|
|||||||
|
|
||||||
//Assign track color & tooltip
|
//Assign track color & tooltip
|
||||||
L.geoJson(aoTracks, {
|
L.geoJson(aoTracks, {
|
||||||
style: function(oTrack) {return {color: asColors[oTrack.properties.type]};}
|
style: function(oTrack) {return {color: asColors[oTrack.properties.type], weight: 4, opacity: 1};}
|
||||||
})
|
})
|
||||||
//.bindPopup(function (layer) {
|
|
||||||
// return layer.feature.properties.description;
|
|
||||||
//})
|
|
||||||
.bindTooltip(function(oLayer) {
|
.bindTooltip(function(oLayer) {
|
||||||
var asProperties = oLayer.feature.properties;
|
var asProperties = oLayer.feature.properties;
|
||||||
var $Tooltip = $('<div>', {'class':'track_tooltip'});
|
var $Tooltip = $('<div>', {'class':'track_tooltip'});
|
||||||
@@ -162,6 +163,7 @@ oSpot.pageInit = function(asHash)
|
|||||||
|
|
||||||
},*/
|
},*/
|
||||||
click: function(oPoint){
|
click: function(oPoint){
|
||||||
|
self.tmp('center_on', oPoint.latlng);
|
||||||
self.tmp('map').setView(oPoint.latlng, 15);
|
self.tmp('map').setView(oPoint.latlng, 15);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -190,12 +192,12 @@ oSpot.pageInit = function(asHash)
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
//Recenter map once loaded to be at the center of 70% (iMapRatio) of the page
|
//Recenter map to be at the center of 70% (map_offset) of the page, 30% being used by posts
|
||||||
if(self.vars('mode')!='blog') oMap.panTo(getOffsetCenter(oMap, iMapRatio));
|
if(self.vars('mode')!='blog') oMap.panTo(getOffsetCenter(oMap));
|
||||||
|
|
||||||
//Legend
|
//Legend
|
||||||
var oLegend = L.control({position: 'bottomleft'});
|
var oLegend = L.control({position: 'bottomright'});
|
||||||
oLegend.onAdd = function() {return L.DomUtil.get('legend');};
|
oLegend.onAdd = function(oMap) {return L.DomUtil.get('legend');};
|
||||||
oLegend.addTo(oMap);
|
oLegend.addTo(oMap);
|
||||||
|
|
||||||
self.tmp('map', oMap);
|
self.tmp('map', oMap);
|
||||||
@@ -259,10 +261,10 @@ function getBoundsZoomLevel(bounds, mapDim) {
|
|||||||
return Math.min(latZoom, lngZoom, ZOOM_MAX);
|
return Math.min(latZoom, lngZoom, ZOOM_MAX);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getOffsetCenter(oMap, iMapRatio) {
|
function getOffsetCenter(oMap, oMapCenter) {
|
||||||
|
var oCenter = (typeof oMapCenter == 'object')?$.extend({}, oMapCenter):oMap.getCenter();
|
||||||
var oBounds = oMap.getBounds();
|
var oBounds = oMap.getBounds();
|
||||||
var oCenter = oMap.getCenter();
|
var iOffsetX = (oBounds.getEast() - oBounds.getWest()) * self.tmp('map_offset')/2;
|
||||||
var iOffsetX = (oBounds.getEast() - oBounds.getWest())*(iMapRatio - 1)/2;
|
|
||||||
oCenter.lng = oCenter.lng - iOffsetX;
|
oCenter.lng = oCenter.lng - iOffsetX;
|
||||||
return oCenter;
|
return oCenter;
|
||||||
}
|
}
|
||||||
@@ -328,7 +330,9 @@ function getPost(asPost) {
|
|||||||
.data('lng', asPost.longitude)
|
.data('lng', asPost.longitude)
|
||||||
.click(function(){
|
.click(function(){
|
||||||
var $This = $(this);
|
var $This = $(this);
|
||||||
self.tmp('map').setView(L.latLng(parseFloat($This.data('lat')), parseFloat($This.data('lng'))), 13);
|
var oCenter = L.latLng(parseFloat($This.data('lat')), parseFloat($This.data('lng')));
|
||||||
|
self.tmp('center_on', oCenter);
|
||||||
|
self.tmp('map').setView(oCenter, 13);
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
sClass = 'compass';
|
sClass = 'compass';
|
||||||
@@ -364,8 +368,6 @@ function getPost(asPost) {
|
|||||||
|
|
||||||
if(asPost.displayed_id) $Post.find('.index').append(' '+asPost.displayed_id);
|
if(asPost.displayed_id) $Post.find('.index').append(' '+asPost.displayed_id);
|
||||||
|
|
||||||
//if(asPost.type=='picture' && asPost.rotate!='0') $Body.height($Image.height());
|
|
||||||
|
|
||||||
return $Post;
|
return $Post;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
@CHARSET "UTF-8";@font-face{font-family:'FontAwesome';src:url("fonts/fontawesome-webfont.eot?v=4.5.0");src:url("fonts/fontawesome-webfont.eot?#iefix&v=4.5.0") format("embedded-opentype"),url("fonts/fontawesome-webfont.woff2?v=4.5.0") format("woff2"),url("fonts/fontawesome-webfont.woff?v=4.5.0") format("woff"),url("fonts/fontawesome-webfont.ttf?v=4.5.0") format("truetype"),url("fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular") format("svg");font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:0.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw,.info-window i{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:0.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eeeeee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#ffffff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-aliLine truncated
|
@CHARSET "UTF-8";@font-face{font-family:'FontAwesome';src:url("fonts/fontawesome-webfont.eot?v=4.5.0");src:url("fonts/fontawesome-webfont.eot?#iefix&v=4.5.0") format("embedded-opentype"),url("fonts/fontawesome-webfont.woff2?v=4.5.0") format("woff2"),url("fonts/fontawesome-webfont.woff?v=4.5.0") format("woff"),url("fonts/fontawesome-webfont.ttf?v=4.5.0") format("truetype"),url("fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular") format("svg");font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:0.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw,.info-window i{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:0.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eeeeee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#ffffff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-aliLine truncated
|
||||||
/*# sourceMappingURL=spot.css.map */
|
/*# sourceMapp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O,CAAE,OAAO,CAElB,wBAAyB,CACvB,OAAO,CAAE,OAAO,CAElB,wBAAyB,CACvB,OAAO,CAAE,OAAO,CAElB,mBAAoB,CAClB,OAAO,CAAE,OAAO,CAElB,eAAgB,CACd,OAAO,CAAE,OAAO,CAElB,gBAAiB,CACf,OAAO,CAAE,OAAO,CAElB,eAAgB,CACd,OAAO,CAAE,OAAO,CAElB,kBAAmB,CACjB,OAAO,CAAE,OAAO,CAElB,uBAAwB,CACtB,OAAO,CAAE,OAAO,CAElB,uBAAwB,CACtB,OAAO,CAAE,OAAO,CAElB,gBAAiB,CACf,OAAO,CAAE,OAAO,CAElB,uBAAwB,CACtB,OAAO,CAAE,OAAO,CAElB,wBAAyB,CACvB,OAAO,CAAE,OAAO,CAElB,sBAAuBLine truncated
|
||||||
"sources": ["spot.scss","_fa.scss","_lightbox.scss","_simplebar.scss","_leaflet.scss","_common.scss"],
|
"sources": ["spot.scss","_fa.scss","_lightbox.scss","_simplebar.scss","_leaflet.scss","_common.scss"],
|
||||||
"names": [],
|
"names": [],
|
||||||
"file": "spot.css"
|
"file": "spot.css"
|
||||||
|
|||||||
+7
-4
@@ -38,12 +38,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#legend {
|
#legend, .leaflet-control-layers.leaflet-control {
|
||||||
background: white;
|
background-color: rgba(255, 255, 255, 0.5);
|
||||||
font-family: Roboto, Arial, sans-serif;
|
font-family: Roboto, Arial, sans-serif;
|
||||||
background: rgba(255, 255, 255, 0.5);
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 1px 0 0 0;
|
border: none;
|
||||||
|
margin: 1em;
|
||||||
|
}
|
||||||
|
#legend {
|
||||||
|
right: 30vw;
|
||||||
|
|
||||||
.line {
|
.line {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
Reference in new issue
Block a user