Commit 106eed06 authored by's avatar

revert map/index.web.js

parent ea231765
import React from 'react';
import { Map, Marker as RMarker, InfoWindow } from 'react-amap';
const MapView = (props) => {
return <Map {...props} center={props.coordinate}></Map>
const Marker = (props) => {
return <RMarker {...props} position={props.coordinate} />
MapView.Marker = Marker
export default MapView
export {
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment