|
POST
|
What areas of the code should I focus in to accomplish this?
... View more
06-07-2019
09:25 AM
|
0
|
2
|
1565
|
|
POST
|
It worked. Just a few questions: -can the widget instead just be an on/off? -Once the user clicks the widget to turn it on they can immediately click on the map and a new browser tab will open. This avoids a few clicks. Is this possible? Thanks
... View more
06-07-2019
09:16 AM
|
0
|
4
|
1565
|
|
POST
|
06-07-2019
08:30 AM
|
0
|
7
|
4310
|
|
POST
|
I added it into my sitemap folder and shows properly in the app. But when I click to load the popup it shows the widget window with icon and textbox at top but rest of screen is blank
... View more
06-07-2019
08:17 AM
|
0
|
9
|
4310
|
|
POST
|
Good to know. How do I get the popup to only fire once when it hits a polygon? Right now it keeps firing every time it hits my polygon and I would like to see the popup to only show once and will only fire again if I manually close it.
... View more
06-07-2019
08:13 AM
|
0
|
1
|
1405
|
|
POST
|
I've added the widget successfully and into my app. But when I click on the app to fire it up it just hangs on loading bubbles.
... View more
06-07-2019
08:09 AM
|
0
|
11
|
4310
|
|
POST
|
How would I make this widget allow multiple layers to be included for hover popups?
... View more
06-07-2019
07:58 AM
|
0
|
3
|
1405
|
|
DOC
|
Have another idea other than having a few toggle buttons?
... View more
06-05-2019
02:11 PM
|
0
|
0
|
16146
|
|
POST
|
Where/what would I add into my code? Also how do I get the popup to only fire once when it hits a polygon? Right now it keeps firing every time it hits my polygon and I would like to see the popup to only show once and will only fire again if I manually close it. Here is a snippet of my publish map event function require([
'esri/graphic',
'esri/symbols/SimpleMarkerSymbol',
'esri/symbols/SimpleLineSymbol',
'esri/Color'
],
lang.hitch(this, function(Graphic, SimpleMarkerSymbol, SimpleLineSymbol, Color){
var symbol = new SimpleMarkerSymbol(
SimpleMarkerSymbol.STYLE_CIRCLE, 0.01,
new SimpleLineSymbol(
SimpleLineSymbol.STYLE_CIRCLE,
new Color([207, 16, 45, 0.9]),
1
),
new Color([207, 16, 45, 0.9])
);
map.on("click", lang.hitch(this, function(evt){
var gra = new Graphic(evt.mapPoint, symbol);
setTimeout(lang.hitch(this, function(){
var selFeats = map.infoWindow.features;
if(!selFeats){
map.graphics.clear();
map.graphics.add(gra);
//PopupCenter('http://www.xtf.dk','xtf','900','500');
map.infoWindow.setContent('<a href="https://survey123.arcgis.com/share/Survey123 ID?center='+ evt.mapPoint.getLatitude().toString() + ','+ evt.mapPoint.getLongitude().toString() + '&field:Floor_Selection=' + this.SERVICE_ID.split('_')[1]+"_Floor " + '" target="_"><font size="4">Click here to submit a service request</font></a>');
SERVICE_ID: null;
map.infoWindow.show(evt.mapPoint);
... View more
06-05-2019
02:08 PM
|
0
|
4
|
1405
|
|
POST
|
Thanks ill give it a shot. I also have a map.on("click"... command and a info window that displays when a user clicks on the map. As these 2 commands will fight each other, how do I get the on click to beat out your hover widget?
... View more
06-05-2019
12:09 PM
|
0
|
6
|
3094
|
|
POST
|
Or maybe ill clarify....Can the popup style be changed to something else?
... View more
06-05-2019
10:47 AM
|
0
|
10
|
3094
|
|
POST
|
Now I want to take that and make the popup an info window
... View more
06-05-2019
09:47 AM
|
0
|
12
|
3094
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-31-2018 08:24 AM | |
| 3 | 12-18-2018 09:23 AM | |
| 1 | 12-02-2019 07:53 AM | |
| 1 | 04-24-2020 11:11 AM | |
| 1 | 08-14-2019 02:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|