POST
|
This is only for setting new values to the existing values. What I need to is load some markers to exact points on extent change so the markers will be loaded only in the visible area.
... View more
07-28-2017
08:56 AM
|
0
|
1
|
847
|
POST
|
Does this work in 4.3 or is this new feature in 4.4?
... View more
07-28-2017
08:53 AM
|
0
|
1
|
847
|
POST
|
Does esri 4.x versions has an event equivalent to onExtentChange for Map? map.on("extent-change", function(){//do things});
... View more
07-28-2017
08:26 AM
|
0
|
5
|
1146
|
POST
|
Hi, Is there a event to fire when all the layers are loaded? Im trying to run goTo(point) on mapview.then( ) but it doesn't seems to work because even the map view is resolved the map is not ready yet. also map is not visual at that point. Sample; mapview.then(function(evt) { mapview.goTo({ center: [-0.0797168289197368,51.7932728800697], zoom: 16 }); });
... View more
07-07-2017
03:30 AM
|
0
|
2
|
10558
|
POST
|
Hi, I have updated to esir 4.1 from 4.0. But this issue is still there. I check it even in your examples and even worst, the bug is there in your community home page!!! (Community | ArcGIS for Developers ) [Scroll down and try clicking a map location.] Are you going to fix this anytime soon?
... View more
10-06-2016
05:08 AM
|
4
|
0
|
598
|
POST
|
The problem is, even if I downloaded the script files to local it still loaded from the server.
... View more
06-22-2016
07:47 AM
|
0
|
1
|
1053
|
POST
|
Hi, Is there a way we can cache required esri javascript files rather than loading them each time from server? require(["esri/views/MapView"])
... View more
06-21-2016
03:47 AM
|
0
|
7
|
3234
|
POST
|
Thank you. Would you be able to suggest a workaround for this problem until such a release?
... View more
05-20-2016
08:53 AM
|
0
|
0
|
1365
|
POST
|
Hi, Thanks for the update. Do you have any idea that when 4.1 will be released?
... View more
05-20-2016
01:46 AM
|
0
|
2
|
1365
|
POST
|
It is this 'ArcGIS API for JavaScript '? I already have the same question there as well.
... View more
05-18-2016
09:23 AM
|
0
|
1
|
857
|
POST
|
Im new to here so could you please post the link to that forum so I can post this.
... View more
05-18-2016
09:18 AM
|
0
|
3
|
857
|
POST
|
Yes. You are correct. This issue is only in 4.0. I assume this is a bug in 4.0?
... View more
05-18-2016
06:07 AM
|
0
|
0
|
1365
|
POST
|
Thats how I want it to be. I put some content in that div (header information). Map div should be below that div rather than inside the div.
... View more
05-18-2016
05:19 AM
|
0
|
3
|
1365
|
POST
|
I'm using version 4.0 of the ArcGIS API for my maps. I have this problem with maps whenever the page has to be scrolled down to view the map. My map is somewhere in the middle of the page so the user has to scroll down to view it. Then if a certain point was clicked on the map or if a certain area in dragged to zoom in, the pointers the map shows as selection are not the exact points the mouse is pointing at. it points to a location above the mouse pointer. Here is a sample code. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"> <title>Add the Compass widget to a basic 2D map - 4.0</title> <style> html, body, #viewDiv { padding: 0; margin: 0; height: 100%; width: 100%; } </style> <link rel="stylesheet" href="https://js.arcgis.com/4.0/esri/css/main.css"> <script src="https://js.arcgis.com/4.0/"></script> <script> require([ "esri/Map", "esri/views/MapView", "esri/widgets/Compass", "dojo/domReady!" ], function( Map, MapView, Compass ) { var map = new Map({ basemap: "national-geographic" }); var view = new MapView({ container: "viewDiv", scale: 500000, center: [26.26, 39.17], map: map }); /******************************** * Create a compass widget object. *********************************/ var compassWidget = new Compass({ view: view }); // Add the Compass widget to the top left corner of the view view.ui.add(compassWidget, "top-left"); }); </script> </head> <body> <!-- add div for test--> <div style="height:500px;"></div> <div id="viewDiv"></div> </body> </html> If you run this code you'll see if you scroll down and drag an area (by holding shift and dragging the mouse) it will drag an area above your selection.
... View more
05-18-2016
02:00 AM
|
1
|
13
|
8484
|
POST
|
I'm using version 4.0 of the ArcGIS API for my maps. I have this problem with maps whenever the page has to be scrolled down to view the map. My map is somewhere in the middle of the page so the user has to scroll down to view it. Then if a certain point was clicked on the map or if a certain area in dragged to zoom in, the pointers the map shows as selection are not the exact points the mouse is pointing at. it points to a location above the mouse pointer. Here is a sample code. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"> <title>Add the Compass widget to a basic 2D map - 4.0</title> <style> html, body, #viewDiv { padding: 0; margin: 0; height: 100%; width: 100%; } </style> <link rel="stylesheet" href="https://js.arcgis.com/4.0/esri/css/main.css"> <script src="https://js.arcgis.com/4.0/"></script> <script> require([ "esri/Map", "esri/views/MapView", "esri/widgets/Compass", "dojo/domReady!" ], function( Map, MapView, Compass ) { var map = new Map({ basemap: "national-geographic" }); var view = new MapView({ container: "viewDiv", scale: 500000, center: [26.26, 39.17], map: map }); /******************************** * Create a compass widget object. *********************************/ var compassWidget = new Compass({ view: view }); // Add the Compass widget to the top left corner of the view view.ui.add(compassWidget, "top-left"); }); </script> </head> <body> <!-- add div for test--> <div style="height:500px;"></div> <div id="viewDiv"></div> </body> </html> If you run this code you'll see if you scroll down and drag an area (by holding shift and dragging the mouse) it will drag an area above your selection.
... View more
05-18-2016
01:51 AM
|
0
|
6
|
5214
|
Title | Kudos | Posted |
---|---|---|
4 | 10-06-2016 05:08 AM | |
1 | 05-18-2016 02:00 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|