POST
|
I have set the labels on the map but it doesnot shows up when i integrate the map on my website. A webmap using a arcgis js 4.2 api is used to load the map. What should I need to do to make the labels visible through js api? screenshot from the arcgis map viewer shows the labels. screenshot from the website: labels are not visible or loaded
... View more
02-02-2017
03:36 AM
|
0
|
3
|
2304
|
POST
|
I tried to add a popup template for the layer like var popupTemplate = new PopupTemplate({
title: "Régions Industrielles 2017: {NOM}",
content: setContentInfo
});
function setContentInfo(feature){
console.log(feature)
return "?? no idea what the original template is....";
}
//later added this template to the layer
lyr.popupTemplate = popupTemplate;
Now I can access the query feature, but now I do not know the 'content' template for the popup.
... View more
02-01-2017
05:54 AM
|
0
|
1
|
1222
|
POST
|
Also, there is no event 'open' for the view.popup @ api reference Popup | API Reference | ArcGIS API for JavaScript 4.2
... View more
02-01-2017
05:52 AM
|
0
|
0
|
1222
|
POST
|
Hi Basson, thanks for the quick reply but your code didnot help. The event 'open' doesnot fire..
... View more
02-01-2017
05:49 AM
|
0
|
4
|
1222
|
POST
|
But how to trigger the callback function? How do I know when the query request has completed ?
... View more
02-01-2017
05:12 AM
|
0
|
6
|
1222
|
POST
|
I have a webmap attached to a view. Now when ever a view is clicked, a default popup appears over the map. After the popup has been added, a query is called automatically to load the features I need to get the result of this query. How can I get the result, so that I can use the result data. I cannot see any event related to the query nor the popup object to get the result. I am using js ver 4.2 btw.
... View more
02-01-2017
03:32 AM
|
0
|
8
|
2513
|
POST
|
Thank to the updates on the new release i.e. 4.2, the bug has been fixed. Thanks Laxman
... View more
01-16-2017
12:14 AM
|
0
|
0
|
376
|
POST
|
Do you know when version 4.2 will be released because I have to put online my website this week and this map is critical?
... View more
12-18-2016
09:17 PM
|
0
|
1
|
376
|
POST
|
I have updated the Fiddle to make it more understandable Edit fiddle - JSFiddle http://prntscr.com/djm4x1
... View more
12-14-2016
09:08 PM
|
0
|
5
|
686
|
POST
|
no @Rickey, you did not understand my point. I have updated the Fiddle to make it more understandable Edit fiddle - JSFiddle http://prntscr.com/djm4x1
... View more
12-14-2016
09:07 PM
|
0
|
0
|
686
|
POST
|
I cannot use absolute position because then I have to readjust the position of the map on every resize, device rotation etc etc... And I had tried it before, absolute positioning does not help. I wonder why simple thing like this is not working for esri map...
... View more
12-12-2016
09:13 PM
|
0
|
4
|
686
|
POST
|
@Rickey That is the point. For me, the map needs to be somewhere in the middle. The 'box' is to show that there are some element like pictures, texts.
... View more
12-12-2016
01:57 AM
|
0
|
6
|
686
|
POST
|
When map isnot placed at the top of the page, the map has following bugs The zoom on mouse wheel is not centered The popup on map click does not position correctly. If I place the same map on the top of the page, then I do not have this bug. Can someone help us solve this problem. Please click on the JSFiddle to see the bug. Edit fiddle - JSFiddle
... View more
12-09-2016
02:56 AM
|
0
|
18
|
2104
|
POST
|
Thanks for the quick reply @Cory Jorgesen. Can you please share your solution when you fix it.
... View more
12-09-2016
01:49 AM
|
0
|
0
|
1056
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|