Skip to content

Commit 8ae632e

Browse files
committed
Tweak mapIndicator for redo search on map pan (#10)
1 parent 971e5c4 commit 8ae632e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Pod/Assets/MapViewController.xib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<constraint firstItem="bFc-3I-HFj" firstAttribute="centerY" secondItem="hCJ-Hd-eKb" secondAttribute="centerY" id="Uvs-bg-zhB"/>
4040
<constraint firstItem="bFc-3I-HFj" firstAttribute="centerX" secondItem="hCJ-Hd-eKb" secondAttribute="centerX" id="Wcc-GI-BGc"/>
4141
</constraints>
42-
<edgeInsets key="layoutMargins" top="15" left="15" bottom="15" right="15"/>
42+
<edgeInsets key="layoutMargins" top="14" left="12" bottom="14" right="12"/>
4343
</view>
4444
</subviews>
4545
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

Pod/Classes/MapViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ open class MapViewController: UIViewController {
6363
initLocationManager()
6464
initSearchController()
6565
mapIndicator.color = view.tintColor
66+
mapIndicator.layer.shadowOffset = .zero
67+
mapIndicator.layer.shadowOpacity = 0.5
68+
mapIndicator.layer.shadowRadius = 3
6669

6770
// TODO: Handle location loading timeout.
6871
}

0 commit comments

Comments
 (0)