Questions tagged [esri-maps]
102 questions
5
votes
1 answer
Esri Maps PopupTemplate's content method called only once per feature
I am using Esri maps inside an Angular app, and I am rendering my popups as Angular components with data published from the PopupTemplate's content method:
layer.popupTemplate = new PopupTemplate({
content: (feature: { graphic: __esri.Graphic })…

asgallant
- 26,060
- 6
- 72
- 87
4
votes
1 answer
ESRI maps giving Main Thread Checker: UI API called on a background thread in iOS 11
I'm using ESRI maps in my application. When i run the application in iOS 10 there was no issue in loading the ESRI maps, zoom in and out works fine too. But when i run the same application with iOS 11 it gives me
Main Thread Checker: UI API called…

Madhu
- 869
- 1
- 17
- 37
3
votes
0 answers
Esri Map 4.15 getChildGraphics for geoJSONLayer - FeatureReduction "cluster" applied
I am currently using geoJSONLayer featureReduction type 'cluster' with esri 4.15. When I click on the clustered point to open popupTemplate, how to I get the child graphics and it's attribute. In esri 3.32 I could use…

Ashutosh Sharma
- 31
- 2
3
votes
1 answer
How to draw a polygon on the Esri map using Selenium, Webdriver, C#
I have one more issue with Selenium webdriver, I am writing a test, where I need draw a polygon on the map (map is based on Esri API). I have successfully managed to zoom in, but couldn't find any examples, how to draw a polygon on the map or how to…

Aad Ali
- 61
- 5
3
votes
0 answers
Arcgis map in react js not reponsive
Following is the component I wrote to load a basic arcgis map using react js
import React, { Component } from 'react';
import { loadModules } from 'esri-loader';
const options = {
url: 'https://js.arcgis.com/4.6/'
};
const styles = {
…

troglodyte07
- 3,598
- 10
- 42
- 66
3
votes
1 answer
Error "Cannot use 'new' with an expression whose type lacks a call or construct signature." when importing Esri types
I feel like there is something really simple that I am missing here. I've got a class that I am building out that uses Esri ArcGIS API, but when I import the type definitions from the arcgis-js-api's d.ts file, I get the typescript error "Cannot use…

asgallant
- 26,060
- 6
- 72
- 87
2
votes
2 answers
How to automatically show a zoomed in view of the location in ArcGIS Esri Map?
I have integrated a ArcGIS Esri map in a Angular application and I have some locations feeded into a feature layer and those locations are displayed on the Map now as Pinpoints.
But now what I want is ,When user go in to the map page I want to show…

Kalana Tebel
- 135
- 4
- 17
2
votes
1 answer
Poor performance of web app built with ArGIS API for JS on older hardware
Problem
I've been developing a web application for the first time using the JS API. When testing the performance of the website, I've had perfectly snappy use on relatively new hardware (such as my Surface Laptop 3 8GB RAM, Chrome v88) but…

drm1217
- 105
- 7
2
votes
1 answer
Adding new Basemap to Arcgis map using React
In the Arcgis developer webpage, there is an article on how to add a new custom baseMap with custom API url. Which looks like this:
require([
"esri/basemaps",
"esri/map",
"dojo/domReady!"
], function (esriBasemaps, Map){
…

Richard
- 1,087
- 18
- 52
2
votes
0 answers
How to stop LocationDisplayManager listening to location updates ESRI ArcGiS Android 10.2.9?
LocationDisplayManager lDisplayManager = null;
lDisplayManager = mMapView.getLocationDisplayManager();
lDisplayManager.setAutoPanMode(LocationDisplayManager.AutoPanMode.OFF);
lDisplayManager.setLocationListener(new LocationListener()…

Nikhil
- 911
- 15
- 28
2
votes
1 answer
How to draw a custom graphic on a map using ArcGIS JavaScript API?
I want each user to be able to draw their own area, and when they log on the next time they can automatically load this area. How can I achieve this function using ArcGIS JavaScript API and ArcGIS Server?

merin
- 21
- 4
2
votes
1 answer
Zooming beyond 13 throws resolution error in ArcGis JS API
I have a very basic example for a map:
(JsFiddle)
require(["esri/map"],
function(Map) {
var baseMap = new Map("map", {
basemap: "terrain",
center: [10, 51],
zoom: 12,
maxZoom: 22
…

Marco
- 22,856
- 9
- 75
- 124
2
votes
2 answers
Single layer visible in LayerList widget (ArcGIS JavaScript)
Is it possible to have a single layer visible on the map in this ESRI tutorial LayerList widget ?
Each time you click on a layer, the previous one should deactivate. So you always have only one layer on the map.
Michelle

Michelle
- 99
- 2
- 9
2
votes
1 answer
Hide ArcGis Markers
We are trying to find suggestions, or implementation options on how to hide a marker once a new point on the map has been clicked.
In our application, once the user clicks on a particular pin on the map, we display a new pin (in a different lat/long…

Lucas Brito
- 21
- 2
2
votes
3 answers
Panning the map to certain extent javascript API
I want to limit map extent to the initial extent of the map and limit user from panning more than certain extent.
I tried following but nothing has changed:
map = new Map( "map" , {
basemap: "gray",
center: [-85.416, 49.000],
…

John Macl
- 331
- 2
- 5
- 12