raintee-maputils 1.0.40 → 1.0.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.
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5728,7 +5728,6 @@ const RT_FitBoundsMapboxNative = (map, featureCollection) => {
|
|
|
5728
5728
|
[minLng, minLat], // 左下角
|
|
5729
5729
|
[maxLng, maxLat] // 右上角
|
|
5730
5730
|
];
|
|
5731
|
-
console.log(`output->bounds`, bounds);
|
|
5732
5731
|
bounds.forEach(item => {
|
|
5733
5732
|
item.forEach((i, index) => {
|
|
5734
5733
|
item[index] = Number((i).toFixed(6));
|
|
@@ -6156,9 +6155,9 @@ function createElementById(id, callback, options = {}) {
|
|
|
6156
6155
|
height: config.height + 'px',
|
|
6157
6156
|
position: 'absolute',
|
|
6158
6157
|
zIndex: config.zIndex.toString(),
|
|
6159
|
-
left:
|
|
6160
|
-
top:
|
|
6161
|
-
transform: 'translate(-
|
|
6158
|
+
left: 0,
|
|
6159
|
+
top: 0,
|
|
6160
|
+
transform: 'translate(-100%, -100%)',
|
|
6162
6161
|
...config.styles
|
|
6163
6162
|
};
|
|
6164
6163
|
|