This package has been deprecated

Author message:

This package is no longer supported

@joeattardi/react-mapquest-static-map

1.0.1 • Public • Published

React MapQuest Static Maps

Add MapQuest static maps to your React app

Note: This is an unofficial library and is not affiliated with MapQuest in any way.

Documentation

Getting Started

First, you'll need a MapQuest API key. To sign up for an API key, go to https://developer.mapquest.com.

Install the package

npm install --save @joeattardi/react-mapquest-static-map

Build a map

import React from 'react';
import { Map } from '@joeattardi/react-mapquest-static-map';

import { MAPQUEST_API_KEY } from '../config';

export default function BaseExample() {
  return (
    <div>
      <Map apiKey={MAPQUEST_API_KEY} center="Boston, MA" />
    </div>
  );
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i @joeattardi/react-mapquest-static-map

Weekly Downloads

15

Version

1.0.1

License

MIT

Unpacked Size

25.2 kB

Total Files

4

Last publish

Collaborators

  • joeattardi