Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
'use strict';
import React from 'react';
import { render } from 'react-dom';
import { Map, Marker, Popup, TileLayer } from 'react-leaflet';
import BingTileLayer from './BingTileLayer.js';
class MapExampleComponent extends React.Component {
render() {
var position = [41.9792489190354, -71.2239789962769];
return (
<Map className='aerial-component' center={position} zoom={13}>
<BingTileLayer bingKey='<bingmapskey>' type='aerial' />
MapExampleComponent.displayName = 'MapExampleComponent';
export default MapExampleComponent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment