npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@corps-ui/maps

v0.3.3

Published

World map components for react

Downloads

250

Readme

Feature list and docs can be found here https://corps-ui-maps.azurewebsites.net

How to install

npm i @corps-ui/maps

Note: in order for Esri's ArcGIS to work with this library a minified copy of ArcGIS is automaticly installed into your project's static assets folder... At present this is assumed to be "./public" in the future @corps-ui/maps will ask for the path

How to get started (using our simple demo)

Download a very basic demo here... https://corps-ui-maps.azurewebsites.net/demos/001-hello-world.zip

How to get started (using create react app)

Step 1 ...Create the app

npx create-react-app my-app cd my-app

Step 2 ...Install @corps-ui/maps

npm i @corps-ui/maps

Step 3 ... setup ./src/App.js to look like the code below

import React, { Component, Fragment } from "react";
import {GeoMap} from "@corps-ui/maps";

class App extends Component {

    render() {
        return (
            <GeoMap
                displayMode="3D"
                basemap="streets"
            />
        );
    }
}

export default App;

Step 4 ...Add Esri JavaScript and CSS links to ./public/index.html

<link rel="stylesheet" href="%PUBLIC_URL%/esri-bundle/css/main.css">
<script type="text/javascript" src="%PUBLIC_URL%/esri-bundle/bundle.js"></script>

Step 5 ...Start developing!

Change Log (0.1.0-preview.14) [4/16/2019]

  • Added LineMeasure Component (Thanks to Kyle Laurio)

Change Log (0.1.0-preview.13) [4/1/2019]

  • Added support for <Circle outlineSize={some number}/>

Change Log (0.1.0-preview.12) [3/8/2019]

  • Added support for layer offset

Change Log (0.1.0-preview.11) [3/6/2019]

  • Added Line graphics
  • Added Triangle graphics (Only supported on 2D maps at the moment)
  • Added Text graphics

Change Log (0.1.0-preview.10) [2/19/2019]

  • Added Square graphics
  • Added support outline color in graphics
  • Added improved graphics perf

Change Log (0.1.0-preview.9) [2/15/2019]

  • Added graphics layer now supports conditionally rendered graphics

Change Log (0.1.0-preview.8) [2/13/2019]

  • Added Square graphics
  • Added support outline color in graphics
  • Added improved graphics perf

Change Log (0.1.0-preview.6) [2/4/2019]

  • Added support for screenshots
  • Added support for node 6 users

Change Log (0.1.0-preview.4) [1/7/2019]

  • Added AreaMeasure Component
  • Updated examples found here
  • Fixed a some major TypeScript issues
  • Fixed NPM install bugs