Compare commits
	
		
			No commits in common. "6ef04fcd4e9146aa25bbff4b2f7a21edcd577496" and "19a1b79b0aaa650246313bfc6d51d57c07e7a6ec" have entirely different histories.
		
	
	
		
			6ef04fcd4e
			...
			19a1b79b0a
		
	
		
| @ -376,8 +376,6 @@ | ||||
|             if (!LMapWrapper.map) { | ||||
|                 LMapWrapper.divId = divId; | ||||
|                 LMapWrapper.map = L.map(LMapWrapper.divId, { | ||||
|                     center: { lat: 0., lng: 0. }, | ||||
|                     zoom: 2, | ||||
|                     zoomControl: false | ||||
|                 }); | ||||
| 
 | ||||
| @ -397,13 +395,11 @@ | ||||
|                     maxZoom: highResData.maxZoom | ||||
|                 }).addTo(LMapWrapper.map); | ||||
| 
 | ||||
|                 if (mapId) { | ||||
|                     LMapWrapper.map.fitBounds(L.latLngBounds({ lat: mapBounds.south, lng: mapBounds.west }, { lat: mapBounds.north, lng: mapBounds.east })); | ||||
|                 } | ||||
|                 LMapWrapper.map.fitBounds(L.latLngBounds({ lat: mapBounds.south, lng: mapBounds.west }, { lat: mapBounds.north, lng: mapBounds.east })); | ||||
|             } | ||||
| 
 | ||||
|             LMapWrapper.loadMarkers(places); | ||||
| 
 | ||||
|              | ||||
|             document.getElementById('streetViewCoverSelector').disabled = true; | ||||
|         }, | ||||
| 
 | ||||
| @ -517,6 +513,10 @@ | ||||
|                     zoomControlOptions: { | ||||
|                         position: google.maps.ControlPosition.LEFT_BOTTOM | ||||
|                     }, | ||||
|                     streetViewControl: true, | ||||
|                     streetViewControlOptions: { | ||||
|                         position: google.maps.ControlPosition.LEFT_BOTTOM | ||||
|                     }, | ||||
|                     draggableCursor: 'crosshair' | ||||
|                 }); | ||||
| 
 | ||||
| @ -529,9 +529,6 @@ | ||||
|                     }); | ||||
|                 }); | ||||
| 
 | ||||
|                 if (mapId) { | ||||
|                     GMapWrapper.map.fitBounds({ south: mapBounds.south, west: mapBounds.west, north: mapBounds.north, east: mapBounds.east }); | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             GMapWrapper.loadMarkers(places); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user