Skip to content

我在MapView中编写Overlay之后,应用直接闪退,没有任何提示信息,我的RN版本是0.66.1 #397

@DreamEVA

Description

@DreamEVA

`
import * as React from 'react';
import {
BaiduMapManager,
MapView,
Overlay,
MapApp,
} from 'react-native-baidu-map';

const {Marker, Cluster, Arc, Circle, Polyline, Polygon, InfoWindow, HeatMap} = Overlay;

export const Map = props => {
return (

<MapView
width={'100%'}
height={'100%'}
zoom={14}
trafficEnabled={true}
zoomControlsVisible={true}
mapType={4}
center={{longitude: 118.8, latitude: 32.0}}>



);
};
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions