expo-gaode-map 2.2.40 → 2.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -121,6 +121,8 @@ class PolylineView: ExpoView {
|
|
|
121
121
|
if renderer == nil, let polyline = polyline {
|
|
122
122
|
renderer = MAPolylineRenderer(polyline: polyline)
|
|
123
123
|
renderer?.lineWidth = CGFloat(strokeWidth)
|
|
124
|
+
// MALineDashType 是 C enum,Swift 导入为全局常量 kMALineDashType*;square 与 Android DOTTEDLINE_TYPE_SQUARE 对齐
|
|
125
|
+
renderer?.lineDashType = isDotted ? kMALineDashTypeSquare : kMALineDashTypeNone
|
|
124
126
|
|
|
125
127
|
if let url = textureUrl {
|
|
126
128
|
loadTexture(url: url, renderer: renderer!)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-gaode-map",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.41",
|
|
4
4
|
"description": "Expo Modules AMap (Gaode Map) stack for Expo/React Native: Config Plugin, New Architecture support, maps, location, search, offline maps, and react-native-amap3d migration guidance.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|