POST
|
Thank you soooo much Robert, it works like a charm! Very confusing that the require has a different path than the actual variable declarations. Thanks again!
... View more
09-08-2014
08:39 AM
|
0
|
0
|
579
|
POST
|
When I include: dojo.require("esri.symbol.Symbol); this error comes up: I have tried pretty much every combination of dojo.require that I can and it still gets that javascript error on FF/chrome. Also, thanks a lot for your help. I really appreciate it.
... View more
09-05-2014
12:54 PM
|
0
|
0
|
579
|
POST
|
No, it is a subscription based service. I wish it was public, as it would be a lot easier to show you guys what exactly is going on. Is there any other information you need? Previously we used http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.5 and had no issues with either IE/FireFox. Upgraded to add scalebar and ran into this issue.
... View more
09-05-2014
12:37 PM
|
0
|
9
|
579
|
POST
|
I had a feeling that was probably the way to go but just assumed there was an easier fix since it works fine in IE. Yep, the map is being loaded via an aspx page and was designed by my predecessor thus my lack of knowledge of GIS programming.
... View more
09-05-2014
12:13 PM
|
0
|
11
|
379
|
POST
|
I thought that might be an issue so I tried that before but didn't work. When looking at the new way to do it, I noticed the format is a bit different with the require([]), etc. But the scalebar works fine with the dojo.require("esri.dijit.Scalebar") so it doesn't really make sense for that to be the issue.
... View more
09-05-2014
11:13 AM
|
0
|
13
|
379
|
POST
|
Robert, I tried to do a jsfiddle which is Edit fiddle - JSFiddle but I am not sure how to load a public map in. Basically this code is what is causing an error in firefox/chrome but works perfect in IE: var markerSymbol = new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE, 28, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([27, 236, 86]), 0.75), new dojo.Color([255, 0, 0, 0.30])); Error:
... View more
09-05-2014
10:55 AM
|
0
|
15
|
379
|
POST
|
Not trying to bump/whatever, just want to make sure people know this is not a solved issue. Thanks for all of the help!
... View more
09-05-2014
10:26 AM
|
0
|
17
|
379
|
POST
|
Issue has been fixed by moving the variable declarations to after the dojo.AddOnLoad(init). Not sure why this fixed it, but it is fixed. Thanks for all of the suggestions! Edit: This is not the correct solution. It just lets the maps load before the error occurs again and then the markers do not display.
... View more
09-04-2014
02:02 PM
|
0
|
0
|
379
|
POST
|
So after a little more digging I did find an error: I tried adding the following require but got the same error: dojo.require("esri/symbols/SimpleMarkerSymbol") This is my markerSymbol var: var markerSymbol = new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE, 28, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([27, 236, 86]), 0.75), new dojo.Color([255, 0, 0, 0.30]));
... View more
09-04-2014
12:13 PM
|
0
|
0
|
379
|
POST
|
There is no secure content on the page so I don't think that is the issue. Thanks for the reply though Scott.
... View more
09-04-2014
10:22 AM
|
0
|
0
|
703
|
POST
|
Not sure if this will be visible, but in firebug neither of these received a response. Could this be the issue?
... View more
09-04-2014
09:44 AM
|
0
|
0
|
703
|
POST
|
Just changed square brackets on arrQrStr array back to parenthesis. Edit fiddle - JSFiddle
... View more
09-04-2014
09:17 AM
|
0
|
2
|
703
|
POST
|
I am not very familiar with actually creating a JSFiddle example, but I tried. Let me know if I need anything else in there please. Thanks! http://jsfiddle.net/nlindley/e2cytwky/
... View more
09-04-2014
09:03 AM
|
0
|
3
|
703
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|