/** * 警保联动图层的数据展示 */ import React, { Component } from "react"; import { connect } from "dva"; import APictureData from '../APicture/APictureData'; import EventListTab from './EventListTab'; import Search from '../APicture/Search'; @connect((state) => ({ })) export default class Police extends Component { constructor(props) { super(props); this.state = { }; } componentDidMount() { } render() { const { searchAround } = this.props console.log(searchAround) return (
{ this.props.addPoliceMarks(data, place); }} _thisGIS={this.props._thisGIS} /> {/* 一张图数据展示 */} { // this.props.addPictueMarks(data, type); // }} // reducePictueMarks={(data, type) => { // this.props.reducePictueMarks(data, type); // }} /> { searchAround.show && searchAround.type == 'police' && this.props.changeShowSearchView(value)} lnglat={searchAround.lnglat} // addPictueMarks={(data, type, where) => { // this.props.addPictueMarks(data, type, where); // }} // reducePictueMarks={(data, type, where) => { // console.log(data) // this.props.reducePictueMarks(data, type, where); // }} /> }
); } }