You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@joeattardi/react-mapquest-static-map

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joeattardi/react-mapquest-static-map

React component for MapQuest static maps

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
7
-36.36%
Maintainers
1
Weekly downloads
 
Created
Source

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>
  );
}

Keywords

react

FAQs

Package last updated on 08 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts