All Projects → Esri → Maps App Javascript

Esri / Maps App Javascript

Licence: apache-2.0
Your organizations maps app built with ArcGIS API for Javascript

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Labels

Projects that are alternatives of or similar to Maps App Javascript

data-collection-ios
Mobile data collection app using the iOS Runtime SDK.
Stars: ✭ 24 (-66.2%)
Mutual labels:  arcgis
Arcgis Osm Editor
ArcGIS Editor for OpenStreetMap is a toolset for GIS users to access and contribute to OpenStreetMap through their Desktop or Server environment.
Stars: ✭ 281 (+295.77%)
Mutual labels:  arcgis
Data Collection Dotnet
Data collection application built using the .NET Runtime SDK.
Stars: ✭ 17 (-76.06%)
Mutual labels:  arcgis
arcgisearth-automation-api
Use ArcGIS Earth Automation API to communicate with ArcGIS Earth from applications that support REST.
Stars: ✭ 15 (-78.87%)
Mutual labels:  arcgis
registrant
Python package used for generating HTML reports about the contents of Esri geodatabases.
Stars: ✭ 44 (-38.03%)
Mutual labels:  arcgis
Wicket
A modest library for moving between Well-Known Text (WKT) and various framework geometries
Stars: ✭ 484 (+581.69%)
Mutual labels:  arcgis
wab-widget-search
A simple page to filter and find Esri Web AppBuilder widgets.
Stars: ✭ 16 (-77.46%)
Mutual labels:  arcgis
Anywhere.arcgis
🌏 Use ArcGIS Server REST resources without an official SDK.
Stars: ✭ 58 (-18.31%)
Mutual labels:  arcgis
configurable-app-components
Custom 4.x widgets built with the ArcGIS API for JavaScript.
Stars: ✭ 25 (-64.79%)
Mutual labels:  arcgis
Hadoop For Geoevent
ArcGIS GeoEvent Server sample Hadoop connector for storing GeoEvents in HDFS.
Stars: ✭ 5 (-92.96%)
Mutual labels:  arcgis
WLib
Personally compiled C#.NET + ArcObject/ArcEngine common code base, most of which are packaged as static methods or extension methods, including detailed comments
Stars: ✭ 22 (-69.01%)
Mutual labels:  arcgis
maps-app-ios
Your organisation's mapping app built with the Runtime SDK for iOS
Stars: ✭ 16 (-77.46%)
Mutual labels:  arcgis
Koop
🔮 Transform, query, and download geospatial data on the web.
Stars: ✭ 505 (+611.27%)
Mutual labels:  arcgis
maps-app-dotnet
Your organization's suite of cross platform mapping apps built with the ArcGIS Runtime SDK for .NET
Stars: ✭ 20 (-71.83%)
Mutual labels:  arcgis
Arcgis Python Api
Documentation and samples for ArcGIS API for Python
Stars: ✭ 954 (+1243.66%)
Mutual labels:  arcgis
ArcGIS.PCL
Migrated to https://github.com/davetimmins/Anywhere.ArcGIS
Stars: ✭ 39 (-45.07%)
Mutual labels:  arcgis
Geo Golang
Go library to access geocoding and reverse geocoding APIs
Stars: ✭ 394 (+454.93%)
Mutual labels:  arcgis
Featureserver
An open source Geoservices Implementation
Stars: ✭ 66 (-7.04%)
Mutual labels:  arcgis
Osmquery
Query OSM data and add results to your ArcGIS project
Stars: ✭ 33 (-53.52%)
Mutual labels:  arcgis
Terraformer
A geographic toolkit for dealing with geometry, geography, formats, and building geo databases
Stars: ✭ 643 (+805.63%)
Mutual labels:  arcgis

code style: prettier

Maps App JavaScipt

This repo provides an example app called Maps App that can be used as as starter for your organizations mapping app built with ArcGIS API 4 for JavaScript. You can use the Maps App as is, or extend it using the ArcGIS API for JavaScript.


Features

  • Dynamically switch basemaps
  • Place search
  • Directions
  • Sign into an ArcGIS account
  • Service Worker
  • AppCache
  • manifest.json - to add as button to home screen
  • default icons

This application takes advantage of numerous technologies for development purposes. It utlizes webpack to compile and bundle the application code and other files. It is written in TypeScript and provides examples on how to create custom widgets using the ArcGIS API 4 for JavaScript.

This application also uses Workbox for Webpack to set up service workers for the application to cache application code and files, as well as uses an appcache fallback for Internet Explorer, Edge, and Safari.

Intern is used for all unit tests and code coverage.

Feel free to use this project as a starting point for your own applications!

Detailed Documentation

Read the docs for a detailed explanation of the application, including its architecture and how it leverages the ArcGIS platform, as well as how you can begin using the app right away.

Usage

Clone the repo and run npm install.

  • NOTE FOR WINDOWS USERS - You will need to install the Windows-Build-Tools to compile npm modules for this project. npm install --global --production windows-build-tools

  • npm start - compile application and run it in a local server at http://localhost:8080/.

  • npm run build - compile application for deployment.

  • npm test - run unit tests with local chrome driver.

  • npm run serve - Run a production build of the application, but serve it up locally to see how the built app will behave.

Use npm run serve to full test that Service Workers are working correctly with webpack-dev-server self signed certifcates. Refer to this article on how to run Chrome with proper flags enabled for development purposes.

  • Once you've registered your version of the maps-app, grab a copy of the client id from the registration and set the client id in the applications src/app/config.ts file. You will also want to provide the Portal URL for your Organization, such as "https://<MY-ORGANIZATION>.maps.arcgis.com". You can also provide your own WebMap or use the default one provided.
// src/app/config.ts
/**
 * Registered application id.
 * This is needed to be able to use premium
 * services such as routing and directions.
 */
export const appId = "<APP-ID>";

/**
 * Users Portal URL.
 */
export const portalUrl = "https://arcgis.com"; // default Portal URL

/**
 * WebMap id to use for this application.
 * You can update this WebMap id with your own.
 */
export const webMapItem = {
  portalItem: {
    // shared WebMap with Vector Tile basemap
    id: "1aab2defd7444b6790f439a186cd4a23"
  }
};
  • As part of the registration process, add a redirect uri for your app. Navigate to the Redirect URIs section at the bottom of the registration page and set the redirect uri as shown for development purposes. You will also want to add a redirect uri for where your application will be deployed. This redirect uri is the default redirect for https://www.arcgis.com.

For development purposes, you will want to add the following redirects to your Application ID:

  • http://127.0.0.1:8080

When you deploy your application, do not use the same Application ID for development as production. You want your Application ID to only redirect to your production website.

Demo

application

Issues

Find a bug or want to request a new feature enhancement? Let us know by submitting an issue.

Contributing

Anyone and everyone is welcome to contribute. We do accept pull requests.

  1. Get involved
  2. Report issues
  3. Contribute code
  4. Improve documentation

MDTOC

Generating table of contents for documents in this repository was performed using the MDTOC package for Atom.

Licensing

Copyright 2018 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].