|
POST
|
Ok I followed your advice but here I still get the "Not Found" error 404. My new map is here. It is pointing to my sandbox agsjs but still does not find it. "http://134.186.111.22/AG_Sandbox/layout-master/demos/src/agsjs/"
... View more
09-10-2014
12:55 PM
|
0
|
1
|
2229
|
|
POST
|
ah ok... So I understand better, should: path_location = location.pathname.replace(/\/[^/]+$/, ' API 3.10 here '); or should I leave it as a script source somewhere else in my HTML? It is the first time I see a configuration like this. and the TOC would go like: name: "based_on_api_location_subfolder_example_module", location: path_location + "/src/agsjs" }, Thank you for your help!
... View more
09-10-2014
11:57 AM
|
0
|
4
|
2229
|
|
POST
|
That is right. I chose the second solution. Sorry the insert html did not work for some reasons. Also when I try ESRI's TOC template and copy the src/agsjs folders to some other folder, then repoint the newly located src/agsjs to the template, it works fine. It is just not seeing it with my script for some reasons. I am also pretty sure I am pointing to the right folder. script type="text/javascript"> var dojoConfig = { : { : location.pathname.replace(/\/[^/]+$/, '') + 'src/agsjs' } }; script>
... View more
09-10-2014
11:21 AM
|
0
|
6
|
2229
|
|
POST
|
Thank you for noticing that my border container is wrongly placed. I fixed that. However, I made sure that the widget path is correct. It should be found. As shown above (image), My map is using one of my HTML. These are located in the same folder as the '/src/agsjs' folder. It is pointing to the right place. I am not too sure what I am doing wrong. is that '/src/agsjs' a wrong pointer when folder is located in the same folders as the HTMLs? Alex
... View more
09-10-2014
11:01 AM
|
0
|
8
|
2229
|
|
POST
|
Hi all, I am trying to use the TOC widget. with my JQuery/Twitter bootstrap layout but I am running into issues. It seems like my script cannot find the TOC widget although I have the location of the agsgs folder's path well referenced. I am not quite sure why It is not firing up. My map can be accessed here. Thank you, Alex
... View more
09-10-2014
10:16 AM
|
1
|
10
|
4562
|
|
POST
|
I just fixed the error that you noticed. It seems like it is not related to my issue since I still get the same re-positioning of my overview map. I am not sure why that is happening either. Maybe the JQuery drag functionality turns my overview map to relative position (CSS)!?
... View more
09-08-2014
02:13 PM
|
0
|
0
|
1057
|
|
POST
|
Hi all, I am creating a web map template using JQuery UI layout, JQuery, and bootstrap. When I start my overview map, everything works fine and I can toggle the TOC easy, the overview map wont change position. However, when I fire the JQuery dragging functionality to move it across the map, then the overview positions itself according to the border of the TOC and center layout. I am not sure why. Here is my map. You can toggle the overview map by clicking on the white arrow at the top-right corner. To toggle the TOC just click on the red button at the bottom-left corner. Any idea? Alex
... View more
09-08-2014
01:26 PM
|
0
|
4
|
1845
|
|
POST
|
I got rid of this css line but did not get any labels.
... View more
09-03-2014
02:15 PM
|
0
|
2
|
782
|
|
POST
|
Hi all, I am trying to get my basemaps titles to show in JQuery. I am really not sure why It is not currently showing. Here is my script. Any ideas are welcome! Thank you, Alex
... View more
09-03-2014
01:42 PM
|
0
|
4
|
1335
|
|
POST
|
Is it possible to reposition the inset map on the map with domStyle as well then? Alex
... View more
09-03-2014
10:14 AM
|
0
|
0
|
857
|
|
POST
|
That was exactly it! Sweet! I am really impressed. Thank you! Alex
... View more
09-03-2014
09:00 AM
|
1
|
0
|
857
|
|
POST
|
Hi all, I am using JQuery UI layout for my map template. I am now able with JQuery to toggle the inset map. What I am trying to achieve now is to start the map with the inset map off. IT works fine with either JQuery:
$('#draggable').hide();
or CSS:
display:none;
However, when using either one of these methods, the inset map gets messed up. (height/width/highligthbox) are all completely off. You can access my map here. The inset map id hidden at start as wished but it you click on the upper right corner of the map button to toggle it you will see that it gets messed up. I am not sure what is wrong with it. Any idea are welcome. Alex
... View more
09-02-2014
04:10 PM
|
0
|
3
|
1360
|
|
POST
|
Riyas and anyone else encountering the same issue as mine, I found the solution to my problem. It seems like it is one of the issues that exist when working with dojo and JQuery at the same time. The fix is the following: CSS: svg#map_gc { box-shadow: inset 0 0 20px black; } Thank you, Alex
... View more
08-27-2014
03:37 PM
|
0
|
0
|
1682
|
|
POST
|
It is not working with JQuery layout UI but it looks great in dojo. Thank you for sharing! I will need to find a fix in Jquery.
... View more
08-27-2014
10:23 AM
|
0
|
0
|
1682
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-31-2016 11:46 AM | |
| 1 | 10-15-2014 02:17 PM | |
| 1 | 11-19-2015 09:14 AM | |
| 1 | 10-29-2015 04:38 PM | |
| 1 | 02-02-2015 09:55 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-05-2021
12:09 PM
|